PageSourceSearch

https://julebu.ai/_nuxt/awzS6svk.js

js julebu.ai collected 2026-10-02 00:43:00 UTC 17,905 bytes, 1 lines download raw bytes

1import{f as Z,c as d,n as w,F as g,a as e,d as S,t as y,o,k as M,b as f,N as D,l as c,m as z,q as I,as as F,$ as R,r as k,z as K,b2 as q,w as _,aL as A,p as H,G as T,K as B}from"./Hz_U0fwx.js";import{M as O}from"./CSuKYCI5.js";import{U as E}from"./CdhOJr4D.js";import{H as G}from"./DBR-APUP.js";import{P as J}from"./EmHRAo_n.js";import{_ as Q,a as W,b as X}from"./DKhx318Y.js";import"./DUYpDDyg.js";import"./C_VDojrr.js";import"./rETpBtjW.js";import"./DW7FU8zL.js";import"./Cwd5sUHf.js";import"./ugGvMirr.js";const Y={class:"flex justify-center text-center text-base text-orange-500"},e1={key:0,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 26 26",fill:"none"},a1=Z({__name:"RankingBadge",props:{rank:{type:Number,default:-1}},setup(r){return(a,t)=>(o(),d("div",Y,[[1,2,3].includes(r.rank)?(o(),d("svg",e1,[r.rank===1?(o(),d(g,{key:0},[t[0]||(t[0]=e("path",{d:"M8.6125 11.5213C9.1797 10.9324 9.85993 10.4641 10.6124 10.1443C11.365 9.82463 12.1743 9.66011 12.9919 9.66063C14.5844 9.66063 16.1687 10.2781 17.3712 11.5213C19.7844 13.9994 19.7844 18.0294 17.3712 20.5075C16.8046 21.0971 16.1244 21.5658 15.3718 21.8856C14.6192 22.2054 13.8096 22.3695 12.9919 22.3681C11.3425 22.3681 9.7825 21.71 8.6125 20.5075C7.44273 19.3053 6.79204 17.6917 6.80062 16.0144C6.80062 14.3163 7.4425 12.7238 8.6125 11.5213ZM12.2492 12.2208C12.0393 12.2211 11.8376 12.3027 11.6865 12.4484C11.5353 12.5941 11.4464 12.7926 11.4385 13.0024C11.4305 13.2122 11.504 13.4169 11.6436 13.5737C11.7833 13.7305 11.9782 13.8271 12.1875 13.8434V18.6875C12.1875 18.903 12.2731 19.1097 12.4255 19.262C12.5778 19.4144 12.7845 19.5 13 19.5C13.2155 19.5 13.4221 19.4144 13.5745 19.262C13.7269 19.1097 13.8125 18.903 13.8125 18.6875V13.0333C13.8125 12.8178 13.7269 12.6112 13.5745 12.4588C13.4221 12.3064 13.2155 12.2208 13 12.2208H12.2492Z",fill:"#fed330"},null,-1)),t[1]||(t[1]=e("path",{d:"M11.0077 2.38063L12.9984 5.65256L14.989 2.38063C15.2652 1.90938 15.7609 1.625 16.3052 1.625H21.6596C22.8377 1.625 23.5771 2.8925 23.0084 3.91625C21.9384 5.81486 20.4247 7.42618 18.5965 8.6125C18.3049 8.83635 17.9808 9.01419 17.6353 9.13981C19.7592 10.6494 21.1494 13.1649 21.1494 16.0144C21.1494 20.6318 17.4972 24.375 12.9919 24.375C8.48656 24.375 4.83437 20.6318 4.83437 16.0144C4.83437 13.1625 6.22781 10.6438 8.35412 9.13575C8.01372 9.01127 7.69468 8.83475 7.40837 8.6125C5.58199 7.42404 4.0687 5.81321 2.99649 3.91625C2.41962 2.8925 3.15899 1.625 4.33712 1.625H9.69149C10.2359 1.625 10.7315 1.90938 11.0077 2.38063ZM12.7294 7.65781C14.0845 7.61169 15.4288 7.91233 16.6351 8.53125C17.1687 8.49029 17.6788 8.2943 18.1025 7.96737L18.1269 7.94787L18.1545 7.93162C19.8717 6.81694 21.2937 5.30323 22.2991 3.51975C22.3599 3.40854 22.3908 3.28343 22.3887 3.15668C22.3866 3.02994 22.3516 2.90591 22.2871 2.79677C22.2226 2.68763 22.1309 2.59713 22.0209 2.53415C21.9109 2.47116 21.7864 2.43786 21.6596 2.4375H16.3052C16.1804 2.43676 16.0576 2.46917 15.9494 2.5314C15.8412 2.59364 15.7515 2.68348 15.6894 2.79175L15.6861 2.79744L12.7294 7.65781ZM7.92999 21.2144C8.5862 21.8966 9.37364 22.4391 10.2449 22.8091C11.1162 23.1791 12.0534 23.3691 13 23.3675C14.9094 23.3675 16.7131 22.6038 18.0781 21.2144C20.8731 18.3463 20.8731 13.6825 18.0781 10.8144C17.4198 10.134 16.6313 9.59296 15.7596 9.22347C14.8879 8.85398 13.9508 8.66357 13.0041 8.66357C12.0573 8.66357 11.1202 8.85398 10.2485 9.22347C9.37683 9.59296 8.58835 10.134 7.92999 10.8144C6.57255 12.2039 5.81659 14.0719 5.82562 16.0144C5.82562 17.9806 6.57312 19.825 7.92999 21.2144Z",fill:"#fed330"},null,-1))],64)):w("",!0),r.rank===2?(o(),d(g,{key:1},[t[2]||(t[2]=e("path",{d:"M8.6125 11.5213C9.1797 10.9324 9.85993 10.4641 10.6124 10.1443C11.365 9.82463 12.1743 9.66011 12.9919 9.66063C14.5844 9.66063 16.1687 10.2781 17.3712 11.5213C19.7844 13.9994 19.7844 18.0294 17.3712 20.5075C16.8046 21.0971 16.1244 21.5658 15.3718 21.8856C14.6192 22.2054 13.8096 22.3695 12.9919 22.3681C11.3425 22.3681 9.7825 21.71 8.6125 20.5075C7.44273 19.3053 6.79204 17.6917 6.80062 16.0144C6.80062 14.3163 7.4425 12.7238 8.6125 11.5213ZM11.2677 19.4594H14.4934C14.9484 19.4594 15.3059 19.0856 15.3059 18.6306C15.3059 18.1756 14.9402 17.81 14.4852 17.81H12.9902L14.5746 15.86C15.1109 15.2019 
115.2246 14.3163 14.8752 13.5363C14.7102 13.1668 14.4459 12.8504 14.1116 12.6223C13.7773 12.3942 13.3863 12.2634 12.9821 12.2444H12.8765C12.0884 12.2444 11.349 12.6263 10.894 13.2681C10.634 13.6419 10.7152 14.1538 11.089 14.4138C11.4627 14.6738 11.9746 14.5844 12.2346 14.2188C12.389 14.0075 12.6246 13.8856 12.8846 13.8856H12.9252C13.2259 13.8938 13.3559 14.1131 13.3965 14.2106C13.429 14.2919 13.5265 14.5681 13.3152 14.8281L10.634 18.1188C10.4309 18.3625 10.3902 18.7038 10.5284 18.9881C10.5936 19.1292 10.698 19.2485 10.829 19.332C10.9601 19.4156 11.1123 19.4598 11.2677 19.4594Z",fill:"#a5b1c2"},null,-1)),t[3]||(t[3]=e("path",{d:"M12.9984 5.65256L11.0077 2.38063C10.7315 1.90938 10.2359 1.625 9.69149 1.625H4.33712C3.15899 1.625 2.41962 2.8925 2.99649 3.91625C4.0687 5.81321 5.58199 7.42404 7.40837 8.6125C7.69599 8.83594 8.01531 9.01144 8.35412 9.13575C6.22781 10.6438 4.83437 13.1625 4.83437 16.0144C4.83437 20.6318 8.48656 24.375 12.9919 24.375C17.4972 24.375 21.1494 20.6318 21.1494 16.0144C21.1494 13.1649 19.7592 10.6494 17.6361 9.13981C17.9812 9.01385 18.305 8.83603 18.5965 8.6125C20.4246 7.42625 21.9359 5.8175 23.0084 3.91625C23.5771 2.8925 22.8377 1.625 21.6596 1.625H16.3052C15.7609 1.625 15.2652 1.90938 14.989 2.38063L12.9984 5.65256ZM12.9919 7.65375C12.9041 7.65375 12.8164 7.65538 12.7294 7.65781L15.6869 2.79744L15.6902 2.79175C15.7522 2.6836 15.8419 2.59384 15.9499 2.53161C16.0579 2.46938 16.1806 2.43691 16.3052 2.4375H21.6596C21.7864 2.43786 21.9109 2.47116 22.0209 2.53415C22.1309 2.59713 22.2226 2.68763 22.2871 2.79677C22.3516 2.90591 22.3866 3.02994 22.3887 3.15668C22.3908 3.28343 22.3599 3.40854 22.2991 3.51975C21.2935 5.30333 19.8712 6.81704 18.1537 7.93162L18.1277 7.94787L18.1025 7.96737C17.6785 8.29445 17.1682 8.49044 16.6343 8.53125C15.5072 7.9532 14.2585 7.65237 12.9919 7.65375ZM7.92999 21.2144C6.57255 19.8249 5.81659 17.9569 5.82562 16.0144C5.82562 14.0481 6.57312 12.2038 7.92999 10.8144C8.58835 10.134 9.37683 9.59296 10.2485 9.22347C11.1202 8.85398 12.0573 8.66357 13.0041 8.66357C13.9508 8.66357 14.8879 8.85398 15.7596 9.22347C16.6313 9.59296 17.4198 10.134 18.0781 10.8144C20.8731 13.6825 20.8731 18.3463 18.0781 21.2144C16.7131 22.6038 14.9094 23.3675 13 23.3675C11.0825 23.3675 9.27874 22.6038 7.92999 21.2144Z",fill:"#a5b1c2"},null,-1))],64)):w("",!0),r.rank===3?(o(),d(g,{key:2},[t[4]||(t[4]=e("path",{d:"M8.6125 11.5212C7.44273 12.7234 6.79204 14.337 6.80062 16.0144C6.80062 17.7125 7.4425 19.305 8.6125 20.5075C9.17967 21.0964 9.85989 21.5648 10.6124 21.8845C11.3649 22.2042 12.1743 22.3687 12.9919 22.3681C14.6494 22.3681 16.2012 21.71 17.3712 20.5075C19.7844 18.0294 19.7844 13.9994 17.3712 11.5212C16.8045 10.9317 16.1244 10.463 15.3718 10.1432C14.6191 9.82347 13.8096 9.65931 12.9919 9.66062C11.4075 9.66062 9.815 10.2781 8.6125 11.5212ZM14.9906 13.377L14.1391 14.8476C14.5264 15.0635 14.8492 15.3786 15.0743 15.7606C15.2993 16.1426 15.4185 16.5777 15.4196 17.0211C15.4192 17.6782 15.158 18.3084 14.6934 18.7732C14.2287 19.2379 13.5987 19.4994 12.9415 19.5C12.4313 19.4981 11.934 19.3393 11.5171 19.0451C11.1002 18.7509 10.784 18.3356 10.6112 17.8555C10.576 17.7579 10.5605 17.6543 10.5655 17.5507C10.5706 17.447 10.5962 17.3454 10.6407 17.2517C10.6853 17.158 10.748 17.0741 10.8253 17.0048C10.9025 16.9355 10.9927 16.8822 11.0906 16.848C11.2878 16.7789 11.5044 16.7904 11.6931 16.8802C11.8818 16.97 12.0274 17.1307 12.0981 17.3274C12.16 17.5015 12.2743 17.6523 12.4253 17.7588C12.5763 17.8653 12.7567 17.9224 12.9415 17.9221C13.4371 17.9221 13.8417 17.5167 13.8417 17.0211C13.8417 16.5254 13.4371 16.1208 12.9415 16.1208C12.731 16.1208 12.5291 16.0372 12.3802 15.8883C12.2313 15.7394 12.1477 15.5375 12.1477 15.327C12.1485 15.1494 12.2098 14.9775 12.3216 14.8395L12.9326 13.7743H11.7926C11.5866 13.7677 11.3912 13.6812 11.2478 13.5332C11.1044 13.3851 11.0242 13.187 11.0242 12.9809C11.0242 12.7748 11.1044 12.5767 11.2478 12.4286C11.3912 12.2806 11.5866 12.1941 11.7926 12.1875H14.3049C14.444 12.1872 14.5807 12.2237 14.7012 12.2933C14.8216 12.363 14.9215 12.4633 14.9906 12.584C15.0596 12.7048 15.0959 12.8414 15.0959 12.9805C15.0959 13.1196 15.0596 13.2562 14.9906 13.377Z",fill:"#F29559"},null,-1)),t[5]||(t[5]=e("path",{d:"M12.9984 5.65256L11.0077 2.38063C10.7315 1.90938 10.2359 1.625 9.69149 1.625H4.33712C3.15899 1.625 2.41962 2.8925 2.99649 3.91625C4.0687 5.81321 5.58199 7.42404 7.40837 8.6125C7.69599 8.83594 8.01531 9.01144 8.354
112 9.13575C6.22781 10.6438 4.83437 13.1625 4.83437 16.0144C4.83437 20.6318 8.48656 24.375 12.9919 24.375C17.4972 24.375 21.1494 20.6318 21.1494 16.0144C21.1494 13.1649 19.7592 10.6494 17.6361 9.13981C17.9812 9.01385 18.305 8.83603 18.5965 8.6125C20.4246 7.42625 21.9359 5.8175 23.0084 3.91625C23.5771 2.8925 22.8377 1.625 21.6596 1.625H16.3052C15.7609 1.625 15.2652 1.90938 14.989 2.38063L12.9984 5.65256ZM12.9919 7.65375C12.9041 7.65375 12.8164 7.65538 12.7294 7.65781L15.6869 2.79744L15.6902 2.79175C15.7522 2.6836 15.8419 2.59384 15.9499 2.53161C16.0579 2.46938 16.1806 2.43691 16.3052 2.4375H21.6596C21.7864 2.43786 21.9109 2.47116 22.0209 2.53415C22.1309 2.59713 22.2226 2.68763 22.2871 2.79677C22.3516 2.90591 22.3866 3.02994 22.3887 3.15668C22.3908 3.28343 22.3599 3.40854 22.2991 3.51975C21.2935 5.30333 19.8712 6.81704 18.1537 7.93162L18.1277 7.94787L18.1025 7.96737C17.6785 8.29445 17.1682 8.49044 16.6343 8.53125C15.5072 7.9532 14.2585 7.65237 12.9919 7.65375ZM7.92999 21.2144C6.57255 19.8249 5.81659 17.9569 5.82562 16.0144C5.82562 14.0481 6.57312 12.2038 7.92999 10.8144C8.58835 10.134 9.37683 9.59296 10.2485 9.22347C11.1202 8.85398 12.0573 8.66357 13.0041 8.66357C13.9508 8.66357 14.8879 8.85398 15.7596 9.22347C16.6313 9.59296 17.4198 10.134 18.0781 10.8144C20.8731 13.6825 20.8731 18.3463 18.0781 21.2144C16.7131 22.6038 14.9094 23.3675 13 23.3675C11.0825 23.3675 9.27874 22.6038 7.92999 21.2144Z",fill:"#F29559"},null,-1))],64)):w("",!0)])):(o(),d(g,{key:1},[S(y(r.rank),1)],64))]))}}),N=Object.assign(a1,{__name:"LeaderboardRankingBadge"}
1),t1={class:"flex items-center gap-4 rounded-lg border border-gray-200 bg-white/80 px-4 py-3 transition-colors hover:bg-gray-100/80 dark:border-gray-800 dark:bg-gray-900/30 dark:hover:bg-gray-800/80"},r1={class:"w-16"},n1={class:"flex flex-1 items-center gap-3"},s1={class:"relative"},o1={key:0,class:"h-8 w-8 rounded-md bg-purple-500 text-white dark:bg-purple-400 dark:text-gray-900",viewBox:"0 0 32 32"},l1={x:"50%",y:"50%","text-anchor":"middle","dominant-baseline":"central","font-size":"12","font-weight":"bold"},d1={class:"flex items-center gap-1"},u1={key:0,class:"text-xs text-gray-500 dark:text-foreground-faint"},i1={class:"flex items-center gap-2 text-sm"},c1={class:"text-purple-500 dark:text-purple-400"},C1=Z({__name:"LeaderboardItem",props:{userId:{},rank:{},username:{},value:{},name:{},avatar:{},membershipType:{},type:{}},setup(r){const a=r,{gotoUserProfile:t}=z();function v(s=0){const C=Math.floor(s/3600),m=Math.floor(s%3600/60);return C>0?`${C}小时${m>0?`${m}分钟`:""}`:m>0?`${m}分钟`:`${s}秒`}const i=M(()=>a.type==="score"),b=M(()=>a.name),l=M(()=>{const s=a.value??0;return i.value?`${s.toLocaleString()} 分`:v(s)});return(s,C)=>{var n,x;const m=N,h=I;return o(),d("div",t1,[e("div",r1,[f(m,{rank:r.rank},null,8,["rank"])]),e("div",n1,[e("div",s1,[r.avatar?w("",!0):(o(),d("svg",o1,[e("text",l1,y(((x=(n=r.username)==null?void 0:n[0])==null?void 0:x.toUpperCase())||"?"),1)])),f(E,{"user-id":r.userId,avatar:r.avatar,username:r.username,size:"sm"},null,8,["user-id","avatar","username"])]),e("div",null,[e("div",d1,[e("span",{class:"cursor-pointer font-medium text-gray-900 hover:underline dark:text-white",onClick:C[0]||(C[0]=D(P=>r.username&&c(t)(r.username),["stop"]))},y(b.value),1),f(O,{"membership-type":r.membershipType,size:"sm"},null,8,["membership-type"]),r.username?(o(),d("span",u1," @"+y(r.username),1)):w("",!0)])])]),e("div",i1,[f(h,{name:i.value?"heroicons:trophy":"heroicons:clock",class:"h-4 w-4 text-purple-500 dark:text-purple-400"},null,8,["name"]),e("span",c1,y(l.value),1)])])}}}),m1=Object.assign(C1,{__name:"LeaderboardItem"});async function p1(...r){const{$trpc:a}=F();return await a.leaderboards.list.query(...r)}let L={};function f1(){function r(){L={}}function a(i,b){L[i]=b}function t(i){return L[i]}function v(i){return!!L[i]}return{leaderboardCache:L,saveLeaderboardCache:a,getLeaderboardCache:t,hasLeaderboardCache:v,cleanLeaderboardCache:r}}const b1=R("leaderboard",()=>{const{saveLeaderboardCache:r,getLeaderboardCache:a,hasLeaderboardCache:t,cleanLeaderboardCache:v}=f1(),i=k(!1),b=k("weekly"),l=k("duration"),s=k([]),C=k(null),m=[{label:"周榜",value:"weekly"},{label:"月榜",value:"monthly"},{label:"年榜",value:"yearly"}];function h(u,p){s.value=u.list,C.value=u.self,b.value=p}function n(u,p=l.value){return`${p}:${u}`}async function x(u,p=l.value){const $=await p1({period:u,type:p});return h($,u),r(n(u,p),$),$}async function P(u){return l.value=u,await x(b.value,u)}function V(){i.value=!0,v()}function U(){i.value=!1}function j(){v(),s.value=[],C.value=null}return{leaderboardModal:i,currentPeriod:b,currentType:l,leaderboardList:s,leaderboardSelf:C,leaderboardPeriodList:m,setPeriod:x,setType:P,showLeaderboardModal:V,hideLeaderboardModal:U,hasLeaderboardCache:(u,p)=>t(n(u,p)),getLeaderboardCache:(u,p)=>a(n(u,p)),updateLeaderboardData:h,getCacheKey:n,cleanCache:j}}),v1={class:"flex h-full flex-col"},g1={class:"bg-background dark:border-gray-800"},y1={class:"mx-auto max-w-screen-xl px-4 sm:px-6 lg:px-8"},h1={class:"flex-1 overflow-y-auto"},x1={class:"mx-auto max-w-screen-xl px-4 sm:px-6 lg:px-8"},k1={key:0},_1={class:"space-y-4"},L1={key:1,class:"space-y-2"},w1={class:""},$1={class:"mx-auto max-w-screen-xl px-4 py-4 sm:px-6 lg:px-8"},M1={class:"rounded-t-2xl border border-gray-200 bg-white/80 px-6 py-4 shadow-lg backdrop-blur-lg dark:border-gray-800 dark:bg-gray-900/80 md:rounded-2xl"},H1={class:"flex items-center justify-between"},T1={class:"flex items-center gap-3"},Z1={class:"flex h-10 w-10 items-center justify-center rounded-full bg-purple-50 dark:bg-purple-500/20"},P1={class:"flex flex-col"},B1={class:"text-xs text-gray-500 dark:text-foreground-faint"},S1={key:1,class:"text-sm font-medium text-gray-500"},O1=Z({__name:"leaderboard",setup(r){const a=b1(),t=k(!0),v=[{label:"学习时长",value:"duration"},{label:"积分排行",value:"score"}];async function i(l){if(a.currentType!==l){if(t.value){B.warning("请等待当前排行榜加载完成",{duration:1200});return}t.value=!0;try{await a.setType(l)}finally{t.value=!1}}}async function b(l){if(a.currentPeriod===l)return;if(t.value){B.warning("请等待当前排行榜加载完成",{duration:1200});return}const s=a.currentType;if(a.hasLeaderboardCache(l,s)){const C=a.getLeaderboardCache(l,s);a.updateLeaderboardData(C,l);return}t.value=!0;try{await a.setPeriod(l)}finally{t.value=!1}}return K(async()=>{try{await a.setPeriod(a.currentPeriod)}finally{t.value=!1}}),q(()=>{a.cleanCache()}),(l,s)=>{const C=m1,m=I,h=N;return o(),d(g,null,[f(J,{title:"排行榜"},{default:_(()=>[f(G,{"model-value":c(a).currentType,tabs:v,"onUpdate:modelValue":s[0]||(s[0]=n=>i(n))},null,8,["model-value"])]),_:1}),e("div",v1,[e("div",g1,[e("div",y1,[f(c(Q),{"model-value":c(a).currentPeriod,class:"flex"},{default:_(()=>[f(c(W),{class:"h-auto w-auto gap-0 rounded-none bg-transparent p-0"},{default:_(()=>[(o(!0),d(g,null,T(c(a).leaderboardPeriodList,n=>(o(),H(c(X),{key:n.value,value:n.value,class:"rounded-none border-b-2 border-transparent bg-transparent px-4 pb-3 pt-3 text-sm font-medium text-foreground-deep shadow-none transition-colors hover:text-gray-900 data-[state=active]:border-purple-600 data-[state=active]:bg-transparent data-[state=active]:text-gray-900 data-[state=active]:shadow-none dark:text-foreground-faint dark:hover:text-gray-100 dark:data-[state=active]:border-purple-500 dark:data-[state=active]:text-gray-100",onClick:x=>b(n.value)},{default:_(()=>[S(y(n.label),1)]),_:2},1032,["value","onClick"]))),128))]),_:1})]),_:1},8,["model-value"])])]),e("div",h1,[e("div",x1,[e("div",null,[f(A,{mode:"out-in","enter-active-class":"transition-all duration-200 ease-out","leave-active-class":"transition-all duration-200 ease-in","enter-from-class":"opacity-0","leave-to-class":"opacity-0"},{default:_(()=>[t.value?(o(),d("div",k1,[e("div",_1,[(o(),d(g,null,T(6,n=>
1e("div",{key:n,class:"flex items-center gap-4 rounded-xl border border-gray-200/50 bg-white/80 p-4 dark:border-gray-800/50 dark:bg-gray-900/30"},[...s[1]||(s[1]=[e("div",{class:"h-8 w-8 animate-pulse rounded-lg bg-gray-200 dark:bg-gray-700"},null,-1),e("div",{class:"h-6 w-32 animate-pulse rounded-lg bg-gray-200 dark:bg-gray-700"},null,-1),e("div",{class:"ml-auto h-6 w-20 animate-pulse rounded-lg bg-gray-200 dark:bg-gray-700"},null,-1)])])),64))])])):(o(),d("div",L1,[(o(!0),d(g,null,T(c(a).leaderboardList,n=>(o(),H(C,{key:n.userId,"user-id":n.userId,username:n.username,rank:n.rank,value:n.value,name:n.name,avatar:n.avatar,"membership-type":n.membershipType,type:c(a).currentType},null,8,["user-id","username","rank","value","name","avatar","membership-type","type"]))),128))]))]),_:1})])])]),e("div",w1,[e("div",$1,[e("div",M1,[e("div",H1,[e("div",T1,[e("div",Z1,[f(m,{name:c(a).currentType==="score"?"heroicons:trophy":"heroicons:clock",class:"h-5 w-5 text-purple-500 dark:text-purple-400"},null,8,["name"])]),e("div",P1,[s[2]||(s[2]=e("span",{class:"text-sm font-medium text-gray-900 dark:text-white"},"我的排名",-1)),e("span",B1,y(c(a).currentType==="score"?"积分排名":"学习时长排名"),1)])]),e("div",null,[c(a).leaderboardSelf&&c(a).leaderboardSelf.rank!==-1?(o(),H(h,{key:0,rank:c(a).leaderboardSelf.rank},null,8,["rank"])):(o(),d("span",S1," 暂无排名 "))])])])])])])],64)}}});export{O1 as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.