2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
import{e as E,f as I,g as K,c as p,a as e,t as o,i as t,F as S,j as w,d as m,y as r,z as d,r as q,k as G,A as Q,l as x,h as W,J as k,o as f,m as L}from"./BMplCfh_.js";import{_ as Y}from"./DlAUqK2U.js";const Z={class:"mb-8"},ee={class:"text-2xl font-bold text-white"},te={class:"text-slate-400 mt-1"},se={key:0,class:"flex items-center justify-center py-20"},oe={class:"text-slate-400 flex items-center gap-3"},le={key:1,class:"bg-rose-500/10 border border-rose-500/30 rounded-xl p-6 mb-8"},ne={class:"text-rose-400"},ie={class:"mb-6 flex items-center justify-between"},ae={class:"flex items-center gap-3"},re={class:"text-sm text-slate-500"},de=["disabled"],ce={key:0,class:"w-4 h-4 animate-spin",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},ue={class:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"},me={class:"bg-slate-800 rounded-xl border border-slate-700 p-6"},pe={class:"text-lg font-semibold text-white mb-4 flex items-center gap-2"},fe={class:"space-y-4"},xe={class:"block text-sm font-medium text-slate-300 mb-1"},ge={class:"flex items-center gap-2"},ve={class:"block text-sm font-medium text-slate-300 mb-1"},be={class:"flex items-center gap-2"},_e={class:"bg-slate-800 rounded-xl border border-slate-700 p-6"},he={class:"text-lg font-semibold text-white mb-4 flex items-center gap-2"},ye={class:"space-y-4"},we={class:"block text-sm font-medium text-slate-300 mb-1"},ke={class:"flex items-center gap-2"},Ce={class:"bg-slate-800 rounded-xl border border-slate-700 p-6"},je={class:"text-lg font-semibold text-white mb-4 flex items-center gap-2"},Le={class:"space-y-4"},Ve={class:"block text-sm font-medium text-slate-300 mb-1"},Ue={class:"flex items-center gap-2"},Me={class:"block text-sm font-medium text-slate-300 mb-2"},Re={class:"grid grid-cols-3 gap-2"},Te={class:"block text-xs text-slate-500 mb-1"},Be={class:"block text-xs text-slate-500 mb-1"},ze={class:"block text-xs text-slate-500 mb-1"},Pe={class:"block text-sm font-medium text-slate-300 mb-2"},Xe={class:"grid grid-cols-4 gap-2"},He={class:"block text-xs text-slate-500 mb-1"},Je=["onUpdate:modelValue"],Ne={class:"bg-slate-800 rounded-xl border border-slate-700 p-6"},Se={class:"text-lg font-semibold text-white mb-4 flex items-center gap-2"},Fe={class:"space-y-4"},De={class:"block text-sm font-medium text-slate-300 mb-1"},Oe={class:"flex items-center gap-2"},Ae={class:"bg-slate-800 rounded-xl border border-slate-700 p-6 mb-8"},$e={class:"text-lg font-semibold text-white mb-4 flex items-center gap-2"},Ee={class:"text-sm text-slate-500 mb-6"},Ie={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Ke={class:"space-y-6"},qe={class:"block text-sm font-medium text-slate-300 mb-2"},Ge={class:"text-cyan-400 font-bold"},Qe={class:"block text-sm font-medium text-slate-300 mb-2"},We={class:"text-cyan-400 font-bold"},Ye={class:"block text-sm font-medium text-slate-300 mb-2"},Ze={class:"text-cyan-400 font-bold"},et={class:"bg-slate-700/50 rounded-xl p-6 space-y-4"},tt={class:"text-sm font-medium text-slate-400 uppercase tracking-wider"},st={class:"space-y-3"},ot={class:"flex items-center justify-between py-2 border-b border-slate-600/50"},lt={class:"text-sm text-slate-300"},nt={class:"text-lg font-bold text-amber-400"},it={class:"flex items-center justify-between py-2 border-b border-slate-600/50"},at={class:"text-sm text-slate-300"},rt={class:"text-lg font-bold text-emerald-400"},dt={class:"flex items-center justify-between py-2 border-b border-slate-600/50"},ct={class:"text-sm text-slate-300"},ut={class:"text-lg font-bold text-violet-400"},mt={class:"flex items-center justify-between py-2"},pt={class:"text-sm text-slate-300"},ft={class:"text-lg font-bold text-cyan-400"},xt={class:"bg-slate-800 rounded-xl border border-slate-700 p-6"},gt={class:"text-lg font-semibold text-white flex items-center gap-2"},vt={key:0,class:"mt-4"},bt={key:0,class:"mt-2 bg-rose-500/10 border border-rose-500/30 rounded-lg p-3"},_t={class:"text-sm text-rose-400 font-mono"},ht={key:3,class:"fixed bottom-6 right-6 z-50 bg-rose-600 text-white px-4 py-3 rounded-lg shadow-lg text-sm flex items-center gap-2"},yt={key:4,class:"fixed bottom-6 right-6 z-50 bg-emerald-600 text-white px-4 py-3 rounded-lg shadow-lg text-sm flex items-center gap-2 animate-slide-up"},wt=E({__name:"config",setup(kt){const{t:l}=I(),V=x(!0),U=x(!1),_=x(!1),h=x(""),C=x(""),M=x(""),y=x(!1),v=x(""),j=x(""),T=["L0","L1","L2","L3"],c=k({baseXp:500,exponent:1.5}),a=k({recoveryRate:.5,thresholds:{level1:100,level2:500,level3:1e3},multipliers:{L0:1,L1:.5,L2:.1,L3:0}}),g=k({socialToCreditRate:100}),b=k({creditsPer10Levels:50}),u=k({level:5,activities:3,socialPoints:50}),B=L(()=>Math.round(c.baseXp*Math.pow(u.activities,c.exponent))),z=L(()=>u.level*1e3),F=L(()=>g.socialToCreditRate*u.socialPoints),D=L(()=>{const n=B.value;return n<=0?"∞":Math.ceil(z.value/n)+" "+l("gamification.config.days")});function P(){const s=W("access_token").value;return s?{Authorization:`Bearer ${s}`,"Content-Type":"application/json"}:{"Content-Type":"application/json"}}function X(n){C.value=n,setTimeout(()=>{C.value=""},3e3)}function H(){return{xp_logic:{base_xp:c.baseXp,exponent:c.exponent},penalty_logic:{recovery_rate:a.recoveryRate,thresholds:{level_1:a.thresholds.level1,level_2:a.thresholds.level2,level_3:a.thresholds.level3},multipliers:{...a.multipliers}},conversion_logic:{social_to_credit_rate:g.socialToCreditRate},level_rewards:{credits_per_10_levels:b.creditsPer10Levels}}}function J(n){if(n.xp_logic&&(c.baseXp=n.xp_logic.base_xp??500,c.exponent=n.xp_logic.exponent??1.5),n.penalty_logic&&(a.recoveryRate=n.penalty_logic.recovery_rate??.5,n.penalty_logic.thresholds&&(a.thresholds.level1=n.penalty_logic.thresholds.level_1??100,a.thresholds.level2=n.penalty_logic.thresholds.level_2??500,a.thresholds.level3=n.penalty_logic.thresholds.level_3??1e3),n.penalty_logic.multipliers))for(const s of T)a.multipliers[s]=n.penalty_logic.multipliers[s]??1;n.conversion_logic&&(g.socialToCreditRate=n.conversion_logic.social_to_credit_rate??100),n.level_rewards&&(b.creditsPer10Levels=n.level_rewards.credits_per_10_levels??50)}async function N(){V.value=!0,U.value=!1;try{const n=await $fetch("/api/v1/admin/gamification/master-config",{headers:P()});n.value&&Object.keys(n.value).length>0&&J(n.value),v.value=JSON.stringify(H(),null,2)}catch(n){console.error("Failed to fetch master config:",n),U.value=!0}finally{V.value=!1}}async function O(){_.value=!0,h.value="";try{const n=H();await $fetch("/api/v1/admin/gamification/master-config",{method:"PUT",headers:P(),body:{config:n}}),M.value=new Date().toLocaleString("hu-HU"),v.value=JSON.stringify(n,null,2),X(l("gamification.config.config_updated"))}catch(n){h.value=l("gamification.config.save_error"),console.error("Failed to save master config:",n),setTimeout(()=>{h.value=""},4e3)}finally{_.value=!1}}function A(){j.value="";try{const n=JSON.parse(v.value);J(n),y.value=!1,X(l("gamification.config.json_applied"))}catch(n){j.value=l("gamification.config.invalid_json")+" "+(n.message||"")}}function R(n){return new Intl.NumberFormat("hu-HU").format(n)}return K(()=>{N()}),(n,s)=>(f(),p("div",null,[e("div",Z,[e("h1",ee,o(t(l)("gamification.config.title")),1),e("p",te,o(t(l)("gamification.config.subtitle")),1)]),t(V)?(f(),p("div",se,[e("div",oe,[s[18]||(s[18]=e("svg",{class:"w-5 h-5 animate-spin",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)),e("span",null,o(t(l)("gamification.config.loading")),1)])])):t(U)?(f(),p("div",le,[e("p",ne,o(t(l)("gamification.config.load_error")),1),e("button",{onClick:N,class:"mt-3 text-sm text-rose-300 hover:text-rose-200 underline"},o(t(l)("gamification.config.retry")),1)])):(f(),p(S,{key:2},[e("div",ie,[e("div",ae,[e("span",re,o(t(l)("gamification.config.last_saved"))+" "+o(t(M)?t(M):"—"),1)]),e("button",{onClick:O,disabled:t(_),class:"px-4 py-2 bg-emerald-600 hover:bg-emerald-500 disabled:bg-emerald-600/50 text-white rounded-lg text-sm font-medium transition flex items-center gap-2"},[t(_)?(f(),p("svg",ce,[...s[19]||(s[19]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"},null,-1)])])):w("",!0),m(" "+o(t(_)?t(l)("gamification.config.saving"):t(l)("gamification.config.save_config")),1)],8,de)]),e("div",ue,[e("div",me,[e("h2",pe,[s[20]||(s[20]=e("svg",{class:"w-5 h-5 text-amber-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})],-1)),m(" "+o(t(l)("gamification.config.xp_logic")),1)]),e("div",fe,[e("div",null,[e("label",xe,o(t(l)("gamification.config.base_xp")),1),e("div",ge,[r(e("input",{"onUpdate:modelValue":s[0]||(s[0]=i=>t(c).baseXp=i),type:"range",min:"0",max:"10000",step:"100",class:"flex-1 accent-amber-500"},null,512),[[d,t(c).baseXp,void 0,{number:!0}]]),r(e("input",{"onUpdate:modelValue":s[1]||(s[1]=i=>t(c).baseXp=i),type:"number",min:"0",max:"10000",class:"w-20 px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-amber-500/50"},null,512),[[d,t(c).baseXp,void 0,{number:!0}]])])]),e("div",null,[e("label",ve,o(t(l)("gamification.config.exponent")),1),e("div",be,[r(e("input",{"onUpdate:modelValue":s[2]||(s[2]=i=>t(c).exponent=i),type:"range",min:"0.1",max:"5.0",step:"0.1",class:"flex-1 accent-amber-500"},null,512),[[d,t(c).exponent,void 0,{number:!0}]]),r(e("input",{"onUpdate:modelValue":s[3]||(s[3]=i=>t(c).exponent=i),type:"number",min:"0.1",max:"5.0",step:"0.1",class:"w-20 px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-amber-500/50"},null,512),[[d,t(c).exponent,void 0,{number:!0}]])])])])]),e("div",_e,[e("h2",he,[s[21]||(s[21]=e("svg",{class:"w-5 h-5 text-emerald-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4"})],-1)),m(" "+o(t(l)("gamification.config.conversion_logic")),1)]),e("div",ye,[e("div",null,[e("label",we,o(t(l)("gamification.config.social_credit_rate")),1),e("div",ke,[r(e("input",{"onUpdate:modelValue":s[4]||(s[4]=i=>t(g).socialToCreditRate=i),type:"range",min:"0",max:"10000",step:"10",class:"flex-1 accent-emerald-500"},null,512),[[d,t(g).socialToCreditRate,void 0,{number:!0}]]),r(e("input",{"onUpdate:modelValue":s[5]||(s[5]=i=>t(g).socialToCreditRate=i),type:"number",min:"0",max:"10000",class:"w-20 px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-emerald-500/50"},null,512),[[d,t(g).socialToCreditRate,void 0,{number:!0}]])])])])]),e("div",Ce,[e("h2",je,[s[22]||(s[22]=e("svg",{class:"w-5 h-5 text-rose-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"})],-1)),m(" "+o(t(l)("gamification.config.penalty_logic")),1)]),e("div",Le,[e("div",null,[e("label",Ve,o(t(l)("gamification.config.recovery_rate")),1),e("div",Ue,[r(e("input",{"onUpdate:modelValue":s[6]||(s[6]=i=>t(a).recoveryRate=i),type:"range",min:"0",max:"1",step:"0.05",class:"flex-1 accent-rose-500"},null,512),[[d,t(a).recoveryRate,void 0,{number:!0}]]),r(e("input",{"onUpdate:modelValue":s[7]||(s[7]=i=>t(a).recoveryRate=i),type:"number",min:"0",max:"1",step:"0.05",class:"w-20 px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-rose-500/50"},null,512),[[d,t(a).recoveryRate,void 0,{number:!0}]])])]),e("div",null,[e("label",Me,o(t(l)("gamification.config.thresholds")),1),e("div",Re,[e("div",null,[e("label",Te,o(t(l)("gamification.config.level_1")),1),r(e("input",{"onUpdate:modelValue":s[8]||(s[8]=i=>t(a).thresholds.level1=i),type:"number",min:"0",class:"w-full px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-rose-500/50"},null,512),[[d,t(a).thresholds.level1,void 0,{number:!0}]])]),e("div",null,[e("label",Be,o(t(l)("gamification.config.level_2")),1),r(e("input",{"onUpdate:modelValue":s[9]||(s[9]=i=>t(a).thresholds.level2=i),type:"number",min:"0",class:"w-full px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-rose-500/50"},null,512),[[d,t(a).thresholds.level2,void 0,{number:!0}]])]),e("div",null,[e("label",ze,o(t(l)("gamification.config.level_3")),1),r(e("input",{"onUpdate:modelValue":s[10]||(s[10]=i=>t(a).thresholds.level3=i),type:"number",min:"0",class:"w-full px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-rose-500/50"},null,512),[[d,t(a).thresholds.level3,void 0,{number:!0}]])])])]),e("div",null,[e("label",Pe,o(t(l)("gamification.config.multipliers")),1),e("div",Xe,[(f(),p(S,null,q(T,i=>e("div",{key:i},[e("label",He,o(i),1),r(e("input",{"onUpdate:modelValue":$=>t(a).multipliers[i]=$,type:"number",min:"0",max:"1",step:"0.1",class:"w-full px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-rose-500/50"},null,8,Je),[[d,t(a).multipliers[i],void 0,{number:!0}]])])),64))])])])]),e("div",Ne,[e("h2",Se,[s[23]||(s[23]=e("svg",{class:"w-5 h-5 text-violet-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"})],-1)),m(" "+o(t(l)("gamification.config.level_rewards")),1)]),e("div",Fe,[e("div",null,[e("label",De,o(t(l)("gamification.config.credits_per_10_levels")),1),e("div",Oe,[r(e("input",{"onUpdate:modelValue":s[11]||(s[11]=i=>t(b).creditsPer10Levels=i),type:"range",min:"0",max:"10000",step:"10",class:"flex-1 accent-violet-500"},null,512),[[d,t(b).creditsPer10Levels,void 0,{number:!0}]]),r(e("input",{"onUpdate:modelValue":s[12]||(s[12]=i=>t(b).creditsPer10Levels=i),type:"number",min:"0",max:"10000",class:"w-20 px-2 py-1.5 bg-slate-700 border border-slate-600 rounded-lg text-white text-sm text-center focus:outline-none focus:ring-2 focus:ring-violet-500/50"},null,512),[[d,t(b).creditsPer10Levels,void 0,{number:!0}]])])])])])]),e("div",Ae,[e("h2",$e,[s[24]||(s[24]=e("svg",{class:"w-5 h-5 text-cyan-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})],-1)),m(" "+o(t(l)("gamification.config.impact_calculator")),1)]),e("p",Ee,o(t(l)("gamification.config.calculator_hint")),1),e("div",Ie,[e("div",Ke,[e("div",null,[e("label",qe,[m(o(t(l)("gamification.config.user_level"))+": ",1),e("span",Ge,o(t(u).level),1)]),r(e("input",{"onUpdate:modelValue":s[13]||(s[13]=i=>t(u).level=i),type:"range",min:"1",max:"100",class:"w-full accent-cyan-500"},null,512),[[d,t(u).level,void 0,{number:!0}]]),s[25]||(s[25]=e("div",{class:"flex justify-between text-xs text-slate-600 mt-1"},[e("span",null,"1"),e("span",null,"100")],-1))]),e("div",null,[e("label",Qe,[m(o(t(l)("gamification.config.daily_activities"))+": ",1),e("span",We,o(t(u).activities),1)]),r(e("input",{"onUpdate:modelValue":s[14]||(s[14]=i=>t(u).activities=i),type:"range",min:"1",max:"20",class:"w-full accent-cyan-500"},null,512),[[d,t(u).activities,void 0,{number:!0}]]),s[26]||(s[26]=e("div",{class:"flex justify-between text-xs text-slate-600 mt-1"},[e("span",null,"1"),e("span",null,"20")],-1))]),e("div",null,[e("label",Ye,[m(o(t(l)("gamification.config.social_points"))+": ",1),e("span",Ze,o(t(u).socialPoints),1)]),r(e("input",{"onUpdate:modelValue":s[15]||(s[15]=i=>t(u).socialPoints=i),type:"range",min:"0",max:"500",step:"10",class:"w-full accent-cyan-500"},null,512),[[d,t(u).socialPoints,void 0,{number:!0}]]),s[27]||(s[27]=e("div",{class:"flex justify-between text-xs text-slate-600 mt-1"},[e("span",null,"0"),e("span",null,"500")],-1))])]),e("div",et,[e("h3",tt,o(t(l)("gamification.config.estimated_results")),1),e("div",st,[e("div",ot,[e("span",lt,o(t(l)("gamification.config.daily_xp")),1),e("span",nt,o(R(t(B))),1)]),e("div",it,[e("span",at,o(t(l)("gamification.config.level_up_xp")),1),e("span",rt,o(R(t(z))),1)]),e("div",dt,[e("span",ct,o(t(l)("gamification.config.social_credit")),1),e("span",ut,o(R(t(F))),1)]),e("div",mt,[e("span",pt,o(t(l)("gamification.config.days_to_level_up")),1),e("span",ft,o(t(D)),1)])])])])]),e("div",xt,[e("button",{onClick:s[16]||(s[16]=i=>y.value=!t(y)),class:"flex items-center justify-between w-full"},[e("h2",gt,[s[28]||(s[28]=e("svg",{class:"w-5 h-5 text-slate-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"})],-1)),m(" "+o(t(l)("gamification.config.raw_json_editor")),1)]),(f(),p("svg",{class:G(["w-5 h-5 text-slate-400 transition-transform",t(y)?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...s[29]||(s[29]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))]),t(y)?(f(),p("div",vt,[r(e("textarea",{"onUpdate:modelValue":s[17]||(s[17]=i=>Q(v)?v.value=i:null),rows:"20",class:"w-full px-3 py-2 bg-slate-900 border border-slate-600 rounded-lg text-green-400 font-mono text-sm focus:outline-none focus:ring-2 focus:ring-amber-500/50 resize-none",spellcheck:"false"},null,512),[[d,t(v)]]),t(j)?(f(),p("div",bt,[e("p",_t,o(t(j)),1)])):w("",!0),e("button",{onClick:A,class:"mt-3 px-4 py-2 bg-amber-600 hover:bg-amber-500 text-white rounded-lg text-sm font-medium transition"},o(t(l)("gamification.config.apply_json")),1)])):w("",!0)])],64)),t(h)?(f(),p("div",ht,[s[30]||(s[30]=e("svg",{class:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),m(" "+o(t(h)),1)])):w("",!0),t(C)?(f(),p("div",yt,[s[31]||(s[31]=e("svg",{class:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),m(" "+o(t(C)),1)])):w("",!0)]))}}),Lt=Y(wt,[["__scopeId","data-v-0bf5a572"]]);export{Lt as default};
|