System.register(["./base-lib-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(e,l){"use strict";var t,s,n,c,a,i,o,r,u,m,d,f,v,g,p,y,_,b,x,S,j,k,C;return{setters:[function(e){t=e.c,s=e.s,n=e.a6,c=e.q,a=e.H,i=e.I,o=e.y,r=e.v,u=e.x,m=e.z,d=e.A,f=e.C,v=e.F,g=e.b0,p=e.L,y=e.e,_=e.Q,b=e.B,x=e.b1,S=e.bW,j=e.G},function(e){k=e.S},function(e){C=e._},null,null,null],execute:function(){var l={class:"flex flex-col p-[2rem]"},P={class:"commentTitle"},h={class:"commentLeft"},A={class:"commentNum"},B={class:"commentNumTips"},L={class:"commentUserCount"},V={class:"commentPartake"},w={class:"commentRate"},z={class:"commentRight"},F={class:"commentStar"},G={class:"commentProgress"},H={class:"flex flex-col items-center"},I={class:"mt-[2rem]"};e("default",C(t({__name:"index",setup:function(e){var t=k(),C=t.getComment,N=t.getDetail,R=t.onSubmitScore,T=t.$reset_score,U=s(k()),q=U.loading,D=U.pluginScore,Q=U.score;return n(T),c(N),function(e,t){var s=x,n=S,c=j,k=a("bt-loading");return i((r(),u("div",l,[m("div",P,[m("div",h,[m("div",A,d(o(D).avg||"0.0"),1),m("ul",B,[m("li",null,[t[1]||(t[1]=f(" 使用人数 ",-1)),m("span",L,d(o(D).count),1)]),m("li",null,[t[2]||(t[2]=f(" 共 ",-1)),m("span",V,d(o(D).total),1),t[3]||(t[3]=f(" 人参与评分 ",-1))]),m("li",null,[m("span",w,d(o(D).rate)+"%",1),t[4]||(t[4]=f(" 好评率 ",-1))])])]),m("div",z,[(r(),u(v,null,g(5,function(e){return m("div",{key:e,class:"commentStarGroup"},[m("div",F,[(r(!0),u(v,null,g(5-e+1,function(e){return r(),u("span",{key:e,class:"svgtofont-el-star-filled text-[#F6BA2A]","aria-hidden":"true"})}),128))]),m("div",G,[m("div",{class:"commentProgressBgw",style:p({width:"".concat(o(D).starList[e-1],"%")})},null,4),t[5]||(t[5]=m("div",{class:"commentProgressSpeed"},null,-1))])])}),64))])]),y(s,{class:"mt-[0rem] mb-[2rem]"}),m("div",H,[y(n,{class:"",modelValue:o(Q),"onUpdate:modelValue":t[0]||(t[0]=function(e){return _(Q)?Q.value=e:null})},null,8,["modelValue"]),m("div",I,d(o(C)(o(Q)))+":"+d(o(Q))+"分",1),y(c,{type:"primary",class:"submit",size:"large",title:"参与评分",onClick:o(R)},{default:b(function(){return t[6]||(t[6]=[f("参与评分",-1)])}),_:1,__:[6]},8,["onClick"])])])),[[k,o(q)],[k,"正在获取插件评分，请稍候...","title"]])}}}),[["__scopeId","data-v-d0affdfc"]]))}}});
