@xcpcio/board-app 0.69.1 → 0.69.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/assets/{Balloon.vue_vue_type_script_setup_true_lang-DPC7fPwR.js → Balloon.vue_vue_type_script_setup_true_lang-BkCrJTZ3.js} +1 -1
  3. package/dist/assets/{Board-DI5nJ6N7.js → Board-5XD92OEx.js} +1 -1
  4. package/dist/assets/{ContestStateBadge-pQ4snV80.js → ContestStateBadge-DVslRim2.js} +1 -1
  5. package/dist/assets/{Countdown-B1PY_bDl.js → Countdown-CGAdX-1x.js} +1 -1
  6. package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-CY3MnZS7.js → DataSourceInput.vue_vue_type_script_setup_true_lang-CmPDIRm_.js} +1 -1
  7. package/dist/assets/{Footer-B7twgoLM.js → Footer-DjIn1AUP.js} +1 -1
  8. package/dist/assets/{NavBar-DBWs7Pi3.js → NavBar-DzSbyYPt.js} +1 -1
  9. package/dist/assets/{Resolver-DMjY8rw3.js → Resolver-Cyn3giHa.js} +1 -1
  10. package/dist/assets/{RightArrowIcon-BVQL7z_O.js → RightArrowIcon-BZqNrDip.js} +1 -1
  11. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-jfjr-npO.js → TheInput.vue_vue_type_script_setup_true_lang-CFH7e9Xz.js} +1 -1
  12. package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-s6FXHTzk.js → Tooltip.vue_vue_type_script_setup_true_lang-Cdkohug8.js} +1 -1
  13. package/dist/assets/{_...all_-CmCRBtBE.js → _...all_-B8TaJ245.js} +1 -1
  14. package/dist/assets/{_...all_-BNlEoteH.js → _...all_-MLny-FtH.js} +1 -1
  15. package/dist/assets/{_name_-aHMZl7Y_.js → _name_-iNbAX8qo.js} +1 -1
  16. package/dist/assets/{about-BQqfQYRT.js → about-B9c7Zam9.js} +1 -1
  17. package/dist/assets/board-koK_8_8D.js +1 -0
  18. package/dist/assets/{board-layout-fuSu0iUM.js → board-layout-CbDzQ7vx.js} +1 -1
  19. package/dist/assets/constant-BNBVHafg.js +1 -0
  20. package/dist/assets/{dayjs-CYstYL7n.js → dayjs-C3rRJwhY.js} +1 -1
  21. package/dist/assets/{default-C3Nyeau3.js → default-uvi2pwZt.js} +1 -1
  22. package/dist/assets/{headless-CFwKwsJp.js → headless-CWqcQwH3.js} +1 -1
  23. package/dist/assets/{home-Cn1uOUCg.js → home-BZBJh3wK.js} +1 -1
  24. package/dist/assets/index-B784ouvg.js +1 -0
  25. package/dist/assets/{index-b10jOwda.js → index-CUV2j-1l.js} +1 -1
  26. package/dist/assets/{index-BekuFmNs.js → index-CcEUjOxI.js} +4 -4
  27. package/dist/assets/index-Cu-25vA4.js +1 -0
  28. package/dist/assets/{index-D0exlq2N.js → index-D-vFjnFh.js} +1 -1
  29. package/dist/assets/{index-gImm6l01.js → index-DGPQVHPw.js} +1 -1
  30. package/dist/assets/{index-layout-C0jd77gI.js → index-layout-CgGJ_b4z.js} +1 -1
  31. package/dist/assets/{pagination-C28KTUCa.js → pagination-BJQhXGES.js} +1 -1
  32. package/dist/assets/{person-DioKjIRS.js → person-B4RUOVM7.js} +1 -1
  33. package/dist/assets/{query-Cjtsaj14.js → query-BAMEomDp.js} +1 -1
  34. package/dist/assets/{rank-DcNErgDA.js → rank-DHAmSxac.js} +1 -1
  35. package/dist/assets/{test-CHFqGwjp.js → test-D0SgVgal.js} +1 -1
  36. package/dist/assets/{use-vmodel-BhCUD_fD.js → use-vmodel-CDoyD7Ix.js} +1 -1
  37. package/dist/assets/{useQueryBoardData-DwklvgTI.js → useQueryBoardData-Dcr65vGN.js} +1 -1
  38. package/dist/assets/{user-Cp6x-IlI.js → user-DtvnQYd2.js} +1 -1
  39. package/dist/assets/{virtual_pwa-register-BvZIhRq4.js → virtual_pwa-register-DURZvQf0.js} +1 -1
  40. package/dist/index.html +1 -1
  41. package/dist/sw.js +1 -1
  42. package/package.json +3 -3
  43. package/dist/assets/board-ClQ2Evmd.js +0 -1
  44. package/dist/assets/constant-BV8TO4cQ.js +0 -1
  45. package/dist/assets/index-B7SmeIhA.js +0 -1
  46. package/dist/assets/index-DsaBp3Ed.js +0 -1
package/dist/404.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en-US" dir="ltr"><head><meta charset="UTF-8"/><title>Board - XCPCIO</title><script>!function(e,t,a,n){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var g=t.getElementsByTagName(a)[0],m=t.createElement(a);m.async=!0,m.src="https://www.googletagmanager.com/gtm.js?id=GTM-WHLF55BJ",g.parentNode.insertBefore(m,g)}(window,document,"script","dataLayer")</script><link rel="icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.1/dist/balloon-512x512.svg" type="image/svg+xml"/><link rel="mask-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.1/dist/balloon-512x512.svg" color="#00aba9"/><link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.1/dist/balloon-192x192.png"/><meta name="msapplication-TileColor" content="#00aba9"/><meta name="author" content="Dup4"/><meta name="title" content="Board - XCPCIO"/><meta name="description" content="The ICPC Series Competition Leaderboard Visualization Engine."/><meta name="keywords" content="ICPC, Rank, Board, Leaderboard, ScoreBoard, Standings"/><meta property="og:site_name" content="XCPCIO"/><meta property="og:title" content="Board - XCPCIO"/><meta property="og:description" content="The ICPC Series Competition Leaderboard Visualization Engine."/><meta property="og:type" content="website"/><meta property="og:image" content="https://xcpcio.com/og.png"/><meta property="og:image:type" content="image/png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta name="twitter:title" content="Board - XCPCIO"/><meta name="twitter:description" content="The ICPC Series Competition Leaderboard Visualization Engine."/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:image" content="https://xcpcio.com/og.png"/><script>function normalizePath(_){for(;_.endsWith("/");)_=_.slice(0,-1);return`${_}/`}{let _="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.1/dist";_=normalizePath(_),window.CDN_HOST=_,window.__toAssetUrl=_=>window.CDN_HOST+_}try{let _=__DATA_HOST__;_=normalizePath(_),window.DATA_HOST=_}catch(_){window.DATA_HOST="/data/"}try{let _=__DATA_REGION__;window.DATA_REGION=_}catch(_){window.DATA_REGION="CN"}try{let _=__DEFAULT_LANG__;window.DEFAULT_LANG=_}catch(_){window.DEFAULT_LANG="en"}</script><script>!function(){localStorage.getItem("vueuse-color-scheme")||localStorage.setItem("vueuse-color-scheme","light");const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,o=localStorage.getItem("vueuse-color-scheme")||"auto";("dark"===o||e&&"light"!==o)&&document.documentElement.classList.toggle("dark",!0)}()</script><script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.1/dist/assets/index-BekuFmNs.js"></script><link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.1/dist/assets/index-BGJAeisZ.css"><link rel="manifest" href="/manifest.webmanifest"></head><body class="font-sans"><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLF55BJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="app"></div><noscript>This website requires JavaScript to function properly. Please enable JavaScript to continue.</noscript><script>try{var umamiJSUrl=__UMAMI_JS_URL__,umamiWebsiteId=__UMAMI_WEBSITE_ID__;!function(){var e=document.createElement("script");e.src=umamiJSUrl,e.defer=!0,e.setAttribute("data-website-id",umamiWebsiteId);var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}try{var baiduAnalyticsId=__BAIDU_ANALYTICS_ID__,_hmt=_hmt||[];!function(){var e=document.createElement("script");e.src=`https://hm.baidu.com/hm.js?${baiduAnalyticsId}`;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}</script></body></html>
1
+ <!doctype html><html lang="en-US" dir="ltr"><head><meta charset="UTF-8"/><title>Board - XCPCIO</title><script>!function(e,t,a,n){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var g=t.getElementsByTagName(a)[0],m=t.createElement(a);m.async=!0,m.src="https://www.googletagmanager.com/gtm.js?id=GTM-WHLF55BJ",g.parentNode.insertBefore(m,g)}(window,document,"script","dataLayer")</script><link rel="icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.3/dist/balloon-512x512.svg" type="image/svg+xml"/><link rel="mask-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.3/dist/balloon-512x512.svg" color="#00aba9"/><link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.3/dist/balloon-192x192.png"/><meta name="msapplication-TileColor" content="#00aba9"/><meta name="author" content="Dup4"/><meta name="title" content="Board - XCPCIO"/><meta name="description" content="The ICPC Series Competition Leaderboard Visualization Engine."/><meta name="keywords" content="ICPC, Rank, Board, Leaderboard, ScoreBoard, Standings"/><meta property="og:site_name" content="XCPCIO"/><meta property="og:title" content="Board - XCPCIO"/><meta property="og:description" content="The ICPC Series Competition Leaderboard Visualization Engine."/><meta property="og:type" content="website"/><meta property="og:image" content="https://xcpcio.com/og.png"/><meta property="og:image:type" content="image/png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta name="twitter:title" content="Board - XCPCIO"/><meta name="twitter:description" content="The ICPC Series Competition Leaderboard Visualization Engine."/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:image" content="https://xcpcio.com/og.png"/><script>function normalizePath(_){for(;_.endsWith("/");)_=_.slice(0,-1);return`${_}/`}{let _="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.3/dist";_=normalizePath(_),window.CDN_HOST=_,window.__toAssetUrl=_=>window.CDN_HOST+_}try{let _=__DATA_HOST__;_=normalizePath(_),window.DATA_HOST=_}catch(_){window.DATA_HOST="/data/"}try{let _=__DATA_REGION__;window.DATA_REGION=_}catch(_){window.DATA_REGION="CN"}try{let _=__DEFAULT_LANG__;window.DEFAULT_LANG=_}catch(_){window.DEFAULT_LANG="en"}</script><script>!function(){localStorage.getItem("vueuse-color-scheme")||localStorage.setItem("vueuse-color-scheme","light");const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,o=localStorage.getItem("vueuse-color-scheme")||"auto";("dark"===o||e&&"light"!==o)&&document.documentElement.classList.toggle("dark",!0)}()</script><script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.3/dist/assets/index-CcEUjOxI.js"></script><link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.69.3/dist/assets/index-BGJAeisZ.css"><link rel="manifest" href="/manifest.webmanifest"></head><body class="font-sans"><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLF55BJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="app"></div><noscript>This website requires JavaScript to function properly. Please enable JavaScript to continue.</noscript><script>try{var umamiJSUrl=__UMAMI_JS_URL__,umamiWebsiteId=__UMAMI_WEBSITE_ID__;!function(){var e=document.createElement("script");e.src=umamiJSUrl,e.defer=!0,e.setAttribute("data-website-id",umamiWebsiteId);var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}try{var baiduAnalyticsId=__BAIDU_ANALYTICS_ID__,_hmt=_hmt||[];!function(){var e=document.createElement("script");e.src=`https://hm.baidu.com/hm.js?${baiduAnalyticsId}`;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}</script></body></html>
@@ -1 +1 @@
1
- import{d as w,f as _,m as i,p as D,c as n,o as s,q as g,h as e,n as E,b as o,K as h,k as d,A as L,u as N,C as F,F as V,E as z,G as I,s as R}from"./index-BekuFmNs.js";import{B}from"./constant-BV8TO4cQ.js";import{c as U,a as A,B as O,R as q}from"./rank-DcNErgDA.js";import{c as G}from"./query-Cjtsaj14.js";import{u as K}from"./useQueryBoardData-DwklvgTI.js";const M={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":""},Q={class:"resolver-team-name",truncate:"","overflow-hidden":""},X={"w-32":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},H=w({__name:"BalloonBlock",props:{index:null,balloon:null},setup(x){const f=x,p=_(()=>f.index),l=_(()=>f.balloon),c=i(null),a=D(c);function v(t){return[t.location,t.organization,t.name].filter(b=>b).join(" - ")}const u=_(()=>l.value.problem.balloonColor);return(t,m)=>(s(),n("div",{ref_key:"el",ref:c,"h-24":""},[e(a)?(s(),n("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:E([e(p)%2===0?"bg-resolver-bg-0":"bg-resolver-bg-1"])},[o("div",{"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":"",style:h({backgroundColor:e(u).background_color})},[o("div",{style:h({color:e(u).color})},d(e(l).problem.label),5)],4),o("div",M,[o("div",Q,d(v(e(l).team)),1),m[0]||(m[0]=o("div",{flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},null,-1))]),o("div",X,d(e(l).submission.timestampToMinute),1)],2)):g("",!0)],512))}}),J={class:"bg-[#323443]","text-gray-200":"","w-screen":"","h-screen":""},P={key:0},W={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},Y={key:0},Z={key:1},ee={flex:"","flex-col":"","justify-between":""},re=w({__name:"Balloon",props:{dataSourceUrl:null},setup(x){const f=x,p=L(B),{t:l}=N(),c=i(!1),a=i({}),v=i([]),u=i([]),t=i({}),m=R();function b(){const k=new q(a.value,v.value,u.value);k.buildBalloons(),t.value=k}const{data:r,isError:C,error:j}=K(f.dataSourceUrl,m);F(r,async()=>{r.value===null||r.value===void 0||(a.value=G(r.value?.contest),p.value=`${a.value.name} | ${B}`,v.value=U(r.value?.teams),u.value=A(r.value?.submissions,a.value),b(),c.value=!0)},{immediate:!0});const S=_(()=>t.value.balloons.sort(O.compare).reverse().slice(0,256));return(k,oe)=>{const T=H;return s(),n("div",J,[e(c)?(s(),n("div",Z,[o("div",ee,[(s(!0),n(V,null,z(e(S),(y,$)=>(s(),I(T,{key:y.key,index:$,balloon:y},null,8,["index","balloon"]))),128))])])):(s(),n("div",P,[o("div",W,[o("div",null,d(e(l)("common.loading"))+"... ",1),e(C)?(s(),n("div",Y,d(e(j)),1)):g("",!0)])]))])}}});export{re as _};
1
+ import{d as w,f as _,m as i,p as D,c as n,o as s,q as g,h as e,n as E,b as o,K as h,k as d,A as L,u as N,C as F,F as V,E as z,G as I,s as R}from"./index-CcEUjOxI.js";import{B}from"./constant-BNBVHafg.js";import{c as U,a as A,B as O,R as q}from"./rank-DHAmSxac.js";import{c as G}from"./query-BAMEomDp.js";import{u as K}from"./useQueryBoardData-Dcr65vGN.js";const M={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":""},Q={class:"resolver-team-name",truncate:"","overflow-hidden":""},X={"w-32":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},H=w({__name:"BalloonBlock",props:{index:null,balloon:null},setup(x){const f=x,p=_(()=>f.index),l=_(()=>f.balloon),c=i(null),a=D(c);function v(t){return[t.location,t.organization,t.name].filter(b=>b).join(" - ")}const u=_(()=>l.value.problem.balloonColor);return(t,m)=>(s(),n("div",{ref_key:"el",ref:c,"h-24":""},[e(a)?(s(),n("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:E([e(p)%2===0?"bg-resolver-bg-0":"bg-resolver-bg-1"])},[o("div",{"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":"",style:h({backgroundColor:e(u).background_color})},[o("div",{style:h({color:e(u).color})},d(e(l).problem.label),5)],4),o("div",M,[o("div",Q,d(v(e(l).team)),1),m[0]||(m[0]=o("div",{flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},null,-1))]),o("div",X,d(e(l).submission.timestampToMinute),1)],2)):g("",!0)],512))}}),J={class:"bg-[#323443]","text-gray-200":"","w-screen":"","h-screen":""},P={key:0},W={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},Y={key:0},Z={key:1},ee={flex:"","flex-col":"","justify-between":""},re=w({__name:"Balloon",props:{dataSourceUrl:null},setup(x){const f=x,p=L(B),{t:l}=N(),c=i(!1),a=i({}),v=i([]),u=i([]),t=i({}),m=R();function b(){const k=new q(a.value,v.value,u.value);k.buildBalloons(),t.value=k}const{data:r,isError:C,error:j}=K(f.dataSourceUrl,m);F(r,async()=>{r.value===null||r.value===void 0||(a.value=G(r.value?.contest),p.value=`${a.value.name} | ${B}`,v.value=U(r.value?.teams),u.value=A(r.value?.submissions,a.value),b(),c.value=!0)},{immediate:!0});const S=_(()=>t.value.balloons.sort(O.compare).reverse().slice(0,256));return(k,oe)=>{const T=H;return s(),n("div",J,[e(c)?(s(),n("div",Z,[o("div",ee,[(s(!0),n(V,null,z(e(S),(y,$)=>(s(),I(T,{key:y.key,index:$,balloon:y},null,8,["index","balloon"]))),128))])])):(s(),n("div",P,[o("div",W,[o("div",null,d(e(l)("common.loading"))+"... ",1),e(C)?(s(),n("div",Y,d(e(j)),1)):g("",!0)])]))])}}});export{re as _};
@@ -1,4 +1,4 @@
1
- import{_ as Hi,a as Fs,T as Ud,h as mo,P as $d,b as zd}from"./pagination-C28KTUCa.js";import{_ as ws,D as Hd}from"./Tooltip.vue_vue_type_script_setup_true_lang-s6FXHTzk.js";import{_ as c1}from"./TheInput.vue_vue_type_script_setup_true_lang-jfjr-npO.js";import{i as f1,S as Fa,b as Wd,d as jd,G as Vn,e as Vd,f as u1,g as Gd,h as Wf,T as Yd,j as Kd,c as qd,a as Jd,R as Xd}from"./rank-DcNErgDA.js";import{L as Qd,M as Wi,d as or,f as xe,m as St,c as ue,o as oe,b as S,k as Ae,h as C,K as Bn,q as tt,a as vt,w as dr,v as Zd,N as zi,O as e2,z as Nr,u as Gr,C as ta,G as rn,P as ji,g as $a,Q as h1,T as jf,F as Fr,E as Ar,R as fo,S as d1,U as p1,H as t2,n as hr,j as un,V as r2,p as n2,W as m1,J as a2,A as s2,X as o2,Y as Vf,s as i2,Z as l2,$ as c2,D as f2}from"./index-BekuFmNs.js";import{_ as u2}from"./use-vmodel-BhCUD_fD.js";import{_ as wa,i as g1,d as v1,M as Tn,a as h2,e as d2,f as p2,g as m2,c as g2,h as v2}from"./query-Cjtsaj14.js";import{_ as kn}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{d as b2,g as b1}from"./dayjs-CYstYL7n.js";import{g as F1,_ as F2,a as w2}from"./ContestStateBadge-pQ4snV80.js";import{D as x2,T as Gf}from"./constant-BV8TO4cQ.js";import{u as _2}from"./useQueryBoardData-DwklvgTI.js";class Yf{constructor(){}convert(O){let d="";d+=`@contest "${O.contest.name.getOrDefault()}"
1
+ import{_ as Hi,a as Fs,T as Ud,h as mo,P as $d,b as zd}from"./pagination-BJQhXGES.js";import{_ as ws,D as Hd}from"./Tooltip.vue_vue_type_script_setup_true_lang-Cdkohug8.js";import{_ as c1}from"./TheInput.vue_vue_type_script_setup_true_lang-CFH7e9Xz.js";import{i as f1,S as Fa,b as Wd,d as jd,G as Vn,e as Vd,f as u1,g as Gd,h as Wf,T as Yd,j as Kd,c as qd,a as Jd,R as Xd}from"./rank-DHAmSxac.js";import{L as Qd,M as Wi,d as or,f as xe,m as St,c as ue,o as oe,b as S,k as Ae,h as C,K as Bn,q as tt,a as vt,w as dr,v as Zd,N as zi,O as e2,z as Nr,u as Gr,C as ta,G as rn,P as ji,g as $a,Q as h1,T as jf,F as Fr,E as Ar,R as fo,S as d1,U as p1,H as t2,n as hr,j as un,V as r2,p as n2,W as m1,J as a2,A as s2,X as o2,Y as Vf,s as i2,Z as l2,$ as c2,D as f2}from"./index-CcEUjOxI.js";import{_ as u2}from"./use-vmodel-CDoyD7Ix.js";import{_ as wa,i as g1,d as v1,M as Tn,a as h2,e as d2,f as p2,g as m2,c as g2,h as v2}from"./query-BAMEomDp.js";import{_ as kn}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{d as b2,g as b1}from"./dayjs-C3rRJwhY.js";import{g as F1,_ as F2,a as w2}from"./ContestStateBadge-DVslRim2.js";import{D as x2,T as Gf}from"./constant-BNBVHafg.js";import{u as _2}from"./useQueryBoardData-Dcr65vGN.js";class Yf{constructor(){}convert(O){let d="";d+=`@contest "${O.contest.name.getOrDefault()}"
2
2
  @contlen ${Math.floor(b2.duration(O.contest.endTime.diff(O.contest.startTime)).asMinutes())}
3
3
  @problems ${O.contest.problems.length}
4
4
  @teams ${O.teams.length+100}
@@ -1 +1 @@
1
- import{h as u,j as A}from"./query-Cjtsaj14.js";import{d as F,f as B,m as n,W as G,D as V,c as v,o as g,b as c,K as D,n as E,h as x,q as I,F as X,k}from"./index-BekuFmNs.js";import{c as j,g as q}from"./dayjs-CYstYL7n.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";function ae(s,e){return s?.url?!e||s.url.startsWith("http")?s.url:`${e}/${s.url}`:s?.base64?`data:image/${s.type??"png"};base64,${s.base64}`:""}const H=F({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(s,{emit:e}){const t=s,M=e,h=B({get(){return t.rankOptions},set(l){M("update:rank-options",l)}}),N=B(()=>{switch(t.state){case u.PENDING:return"am-progress-bar-secondary";case u.RUNNING:return"am-progress-bar-success";case u.FROZEN:return"am-progress-bar-danger";case u.FINISHED:return"am-progress-bar-primary";case u.PAUSED:return"am-progress-bar-danger"}return""}),r=n(!1),S=n(!1),m=n(0),_=n(t.width),T=n(0),d=A(),o=n(null),L=n(null),p=n(null),W=n(null),R=n(null);function U(l){S.value=!0;const f=l.clientX-p.value.offsetLeft,b=w=>{if(!S.value)return;r.value=!0;let a=w.clientX-f;a=Math.max(a,0),a=Math.min(a,o.value.offsetWidth-p.value.offsetWidth);const $=o.value.offsetWidth*Number.parseInt(L.value.style?.width)*.01;a>=$&&(a=$,r.value=!1);let i=0;a>0&&(i=Math.round((a+p.value.offsetWidth)/o.value.offsetWidth*1e4)),i>1e4&&(i=1e4),i===1e4&&(r.value=!1),window.getSelection()?.removeAllRanges(),m.value=i,T.value=a,_.value=i*.01},y=()=>{document.removeEventListener("mouseup",y),document.removeEventListener("mousemove",b),S.value=!1,r.value===!0?(d.value=m.value,h.value?.setWidth(m.value,t.rank.contest)):(d.value=void 0,h.value?.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",b),document.addEventListener("mouseup",y)}function z(){const l=t.rank.contest.getStartTime(),f=t.rank.contest.getEndTime(),b=f.unix()-l.unix(),y=Math.floor(b*_.value*.01),w=j(),a=Math.max(0,Math.min(w.unix(),f.unix())-l.unix());return q(Math.min(y,a))}function O(){return r.value===!0?z():t.elapsedTime}function P(){return r.value===!0?`${Math.max(0,T.value)}px`:`max(calc(0%), min(calc(${t.width}%), calc(100% - 10px)))`}return G(()=>{t.needScroll===!0&&(o.value.onmouseenter=()=>{W.value.classList.add("in")},o.value.onmouseleave=()=>{W.value.classList.remove("in")}),d.value!==-1?(r.value=!0,m.value=Math.max(0,Math.min(1e4,d.value)),_.value=m.value*.01,T.value=_.value*.01*o.value.offsetWidth-p.value.offsetWidth,h.value?.setWidth(d.value,t.rank.contest)):h.value?.disableFilterSubmissionByTimestamp()}),V(()=>{}),(l,f)=>(g(),v("div",{ref_key:"scroll",ref:o,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[c("div",{ref_key:"mask",ref:L,class:E(["am-progress-bar",[x(N)]]),style:D({width:`${t.width}%`})},[t.needScroll?(g(),v(X,{key:0},[c("div",{ref_key:"tooltip",ref:W,class:"tooltip tooltip-top",style:D({marginLeft:"-32px",bottom:"22px",left:P()})},[c("div",{ref_key:"tooltipInner",ref:R,class:"tooltip-inner"},k(O()),513)],4),c("div",{ref_key:"bar",ref:p,class:E(["am-progress-bar am-progress-cursor am-progress-scroll-size z-99",[x(N)]]),style:D({left:P()}),onMousedown:U},null,38)],64)):I("",!0)],6)],512))}}),ne=C(H,[["__scopeId","data-v-4607820e"]]),J={flex:"","flex-row":"","items-center":"","justify-center":""},K={key:0,"ml-2":""},Q={key:1,"ml-2":""},Z=F({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(s){const e=s;return(t,M)=>(g(),v("div",J,[c("div",{class:E(["label",e.state])},null,2),c("div",null,k(e.state),1),e.pendingTime&&e.state===x(u).PENDING?(g(),v("div",K,k(e.pendingTime),1)):I("",!0),e.pausedTime&&e.state===x(u).PAUSED?(g(),v("div",Q,k(e.pausedTime),1)):I("",!0)]))}}),re=C(Z,[["__scopeId","data-v-68586c4d"]]);export{re as _,ne as a,ae as g};
1
+ import{h as u,j as A}from"./query-BAMEomDp.js";import{d as F,f as B,m as n,W as G,D as V,c as v,o as g,b as c,K as D,n as E,h as x,q as I,F as X,k}from"./index-CcEUjOxI.js";import{c as j,g as q}from"./dayjs-C3rRJwhY.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";function ae(s,e){return s?.url?!e||s.url.startsWith("http")?s.url:`${e}/${s.url}`:s?.base64?`data:image/${s.type??"png"};base64,${s.base64}`:""}const H=F({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(s,{emit:e}){const t=s,M=e,h=B({get(){return t.rankOptions},set(l){M("update:rank-options",l)}}),N=B(()=>{switch(t.state){case u.PENDING:return"am-progress-bar-secondary";case u.RUNNING:return"am-progress-bar-success";case u.FROZEN:return"am-progress-bar-danger";case u.FINISHED:return"am-progress-bar-primary";case u.PAUSED:return"am-progress-bar-danger"}return""}),r=n(!1),S=n(!1),m=n(0),_=n(t.width),T=n(0),d=A(),o=n(null),L=n(null),p=n(null),W=n(null),R=n(null);function U(l){S.value=!0;const f=l.clientX-p.value.offsetLeft,b=w=>{if(!S.value)return;r.value=!0;let a=w.clientX-f;a=Math.max(a,0),a=Math.min(a,o.value.offsetWidth-p.value.offsetWidth);const $=o.value.offsetWidth*Number.parseInt(L.value.style?.width)*.01;a>=$&&(a=$,r.value=!1);let i=0;a>0&&(i=Math.round((a+p.value.offsetWidth)/o.value.offsetWidth*1e4)),i>1e4&&(i=1e4),i===1e4&&(r.value=!1),window.getSelection()?.removeAllRanges(),m.value=i,T.value=a,_.value=i*.01},y=()=>{document.removeEventListener("mouseup",y),document.removeEventListener("mousemove",b),S.value=!1,r.value===!0?(d.value=m.value,h.value?.setWidth(m.value,t.rank.contest)):(d.value=void 0,h.value?.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",b),document.addEventListener("mouseup",y)}function z(){const l=t.rank.contest.getStartTime(),f=t.rank.contest.getEndTime(),b=f.unix()-l.unix(),y=Math.floor(b*_.value*.01),w=j(),a=Math.max(0,Math.min(w.unix(),f.unix())-l.unix());return q(Math.min(y,a))}function O(){return r.value===!0?z():t.elapsedTime}function P(){return r.value===!0?`${Math.max(0,T.value)}px`:`max(calc(0%), min(calc(${t.width}%), calc(100% - 10px)))`}return G(()=>{t.needScroll===!0&&(o.value.onmouseenter=()=>{W.value.classList.add("in")},o.value.onmouseleave=()=>{W.value.classList.remove("in")}),d.value!==-1?(r.value=!0,m.value=Math.max(0,Math.min(1e4,d.value)),_.value=m.value*.01,T.value=_.value*.01*o.value.offsetWidth-p.value.offsetWidth,h.value?.setWidth(d.value,t.rank.contest)):h.value?.disableFilterSubmissionByTimestamp()}),V(()=>{}),(l,f)=>(g(),v("div",{ref_key:"scroll",ref:o,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[c("div",{ref_key:"mask",ref:L,class:E(["am-progress-bar",[x(N)]]),style:D({width:`${t.width}%`})},[t.needScroll?(g(),v(X,{key:0},[c("div",{ref_key:"tooltip",ref:W,class:"tooltip tooltip-top",style:D({marginLeft:"-32px",bottom:"22px",left:P()})},[c("div",{ref_key:"tooltipInner",ref:R,class:"tooltip-inner"},k(O()),513)],4),c("div",{ref_key:"bar",ref:p,class:E(["am-progress-bar am-progress-cursor am-progress-scroll-size z-99",[x(N)]]),style:D({left:P()}),onMousedown:U},null,38)],64)):I("",!0)],6)],512))}}),ne=C(H,[["__scopeId","data-v-4607820e"]]),J={flex:"","flex-row":"","items-center":"","justify-center":""},K={key:0,"ml-2":""},Q={key:1,"ml-2":""},Z=F({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(s){const e=s;return(t,M)=>(g(),v("div",J,[c("div",{class:E(["label",e.state])},null,2),c("div",null,k(e.state),1),e.pendingTime&&e.state===x(u).PENDING?(g(),v("div",K,k(e.pendingTime),1)):I("",!0),e.pausedTime&&e.state===x(u).PAUSED?(g(),v("div",Q,k(e.pausedTime),1)):I("",!0)]))}}),re=C(Z,[["__scopeId","data-v-68586c4d"]]);export{re as _,ne as a,ae as g};
@@ -1 +1 @@
1
- import{c as h,h as x}from"./query-Cjtsaj14.js";import{d as C,u as y,A as S,m as l,C as k,c as o,o as n,h as t,b as a,q as N,k as r,n as d,s as w}from"./index-BekuFmNs.js";import{c as _}from"./constant-BV8TO4cQ.js";import{u as T}from"./useQueryBoardData-DwklvgTI.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";const I={class:"bg-[#323443]","text-gray-200":"","w-screen":"","h-screen":""},B={key:0},D={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},U={key:0},b={key:1},j={flex:"","flex-col":"","items-center":"","justify-center":"","font-mono":""},F={key:0},L={key:1},O=C({__name:"Countdown",props:{dataSourceUrl:null},setup(u){const m=u,{t:f}=y(),p=S(_),s=w(),e=l({}),i=l(!1),{data:c,isError:v,error:g}=T(m.dataSourceUrl,s);return k(c,async()=>{c.value===null||c.value===void 0||(e.value=h(c.value?.contest),p.value=`${e.value.name} | ${_}`,i.value=!0)},{immediate:!0}),(P,V)=>(n(),o("div",I,[t(i)?(n(),o("div",b,[a("div",j,[a("div",{"mt-20":"","text-6xl":"",class:d([t(e).getContestState(t(s)).toString()])},r(t(e).getContestState(t(s))),3),a("div",{"mt-20":"",class:d(["text-[320px]",[t(e).getContestState(t(s)).toString()]])},[t(e).getContestState(t(s))===t(x).PENDING?(n(),o("div",F,r(t(e).getContestPendingTime(t(s))),1)):(n(),o("div",L,r(t(e).getContestElapsedTime(t(s))),1))],2)])])):(n(),o("div",B,[a("div",D,[a("div",null,r(t(f)("common.loading"))+"... ",1),t(v)?(n(),o("div",U,r(t(g)),1)):N("",!0)])]))]))}}),Q=E(O,[["__scopeId","data-v-2d2a8baf"]]);export{Q as _};
1
+ import{c as h,h as x}from"./query-BAMEomDp.js";import{d as C,u as y,A as S,m as l,C as k,c as o,o as n,h as t,b as a,q as N,k as r,n as d,s as w}from"./index-CcEUjOxI.js";import{c as _}from"./constant-BNBVHafg.js";import{u as T}from"./useQueryBoardData-Dcr65vGN.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";const I={class:"bg-[#323443]","text-gray-200":"","w-screen":"","h-screen":""},B={key:0},D={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},U={key:0},b={key:1},j={flex:"","flex-col":"","items-center":"","justify-center":"","font-mono":""},F={key:0},L={key:1},O=C({__name:"Countdown",props:{dataSourceUrl:null},setup(u){const m=u,{t:f}=y(),p=S(_),s=w(),e=l({}),i=l(!1),{data:c,isError:v,error:g}=T(m.dataSourceUrl,s);return k(c,async()=>{c.value===null||c.value===void 0||(e.value=h(c.value?.contest),p.value=`${e.value.name} | ${_}`,i.value=!0)},{immediate:!0}),(P,V)=>(n(),o("div",I,[t(i)?(n(),o("div",b,[a("div",j,[a("div",{"mt-20":"","text-6xl":"",class:d([t(e).getContestState(t(s)).toString()])},r(t(e).getContestState(t(s))),3),a("div",{"mt-20":"",class:d(["text-[320px]",[t(e).getContestState(t(s)).toString()]])},[t(e).getContestState(t(s))===t(x).PENDING?(n(),o("div",F,r(t(e).getContestPendingTime(t(s))),1)):(n(),o("div",L,r(t(e).getContestElapsedTime(t(s))),1))],2)])])):(n(),o("div",B,[a("div",D,[a("div",null,r(t(f)("common.loading"))+"... ",1),t(v)?(n(),o("div",U,r(t(g)),1)):N("",!0)])]))]))}}),Q=E(O,[["__scopeId","data-v-2d2a8baf"]]);export{Q as _};
@@ -1 +1 @@
1
- import{_ as p}from"./TheInput.vue_vue_type_script_setup_true_lang-jfjr-npO.js";import{d as f,u as _,m as h,g as b,H as v,c as S,q as g,h as a,o as x,b as t,a as y,a2 as U,z as V,k as l}from"./index-BekuFmNs.js";import{b as k}from"./query-Cjtsaj14.js";const w={key:0,class:"flex flex-col items-center"},D={"w-128":""},I=["disabled"],u="Data Source URL",K=f({__name:"DataSourceInput",setup(R){const{t:r}=_(),s=k(),e=h(s.value),c=b(),d=v();function n(){d.push(`${c.fullPath}/?data-source=${e.value.trim()}`)}return(B,o)=>{const i=p;return a(s).length===0?(x(),S("div",w,[t("div",D,[y(i,{modelValue:a(e),"onUpdate:modelValue":o[0]||(o[0]=m=>V(e)?e.value=m:null),"w-full":"",placeholder:u,autocomplete:"false",onKeydown:U(n,["enter"])},null,8,["modelValue"]),t("label",{class:"hidden",for:"input"},l(u))]),o[1]||(o[1]=t("div",{"py-2":""},null,-1)),t("div",null,[t("button",{"m-3":"","text-sm":"",btn:"",disabled:a(e).length===0,onClick:n},l(a(r)("button.go")),9,I)])])):g("",!0)}}});export{K as _};
1
+ import{_ as p}from"./TheInput.vue_vue_type_script_setup_true_lang-CFH7e9Xz.js";import{d as f,u as _,m as h,g as b,H as v,c as S,q as g,h as a,o as x,b as t,a as y,a2 as U,z as V,k as l}from"./index-CcEUjOxI.js";import{b as k}from"./query-BAMEomDp.js";const w={key:0,class:"flex flex-col items-center"},D={"w-128":""},I=["disabled"],u="Data Source URL",K=f({__name:"DataSourceInput",setup(R){const{t:r}=_(),s=k(),e=h(s.value),c=b(),d=v();function n(){d.push(`${c.fullPath}/?data-source=${e.value.trim()}`)}return(B,o)=>{const i=p;return a(s).length===0?(x(),S("div",w,[t("div",D,[y(i,{modelValue:a(e),"onUpdate:modelValue":o[0]||(o[0]=m=>V(e)?e.value=m:null),"w-full":"",placeholder:u,autocomplete:"false",onKeydown:U(n,["enter"])},null,8,["modelValue"]),t("label",{class:"hidden",for:"input"},l(u))]),o[1]||(o[1]=t("div",{"py-2":""},null,-1)),t("div",null,[t("button",{"m-3":"","text-sm":"",btn:"",disabled:a(e).length===0,onClick:n},l(a(r)("button.go")),9,I)])])):g("",!0)}}});export{K as _};
@@ -1 +1 @@
1
- import{_ as u}from"./Tooltip.vue_vue_type_script_setup_true_lang-s6FXHTzk.js";import{G as m,A as f,a as _,C as p,D as T,b as A}from"./constant-BV8TO4cQ.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as v,o as y,b as e,a as i,w as n,j as l,r as S,h as r,k as s}from"./index-BekuFmNs.js";const x={},R={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},g={"text-center":"","w-full":""},D={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},I={"mr-4":"","md:mr-6":""},N=["href"],h={flex:"","justify-center":"","items-start":"","flex-col":""},C={"mr-4":"","md:mr-6":""},G={flex:"","justify-center":"","items-start":"","flex-col":""},O={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""};function b(o,t){const a=S("RouterLink"),d=u;return y(),v("footer",R,[e("div",g,[i(a,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:n(()=>[...t[0]||(t[0]=[e("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),l(" Get more balloons ",-1)])]),_:1}),t[6]||(t[6]=e("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," The ICPC Series Competition Leaderboard Visualization Engine. ",-1)),e("ul",D,[e("li",null,[i(a,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:n(()=>[...t[1]||(t[1]=[l(" Home ",-1)])]),_:1})]),e("li",null,[e("div",I,[i(d,null,{popper:n(()=>[e("div",h,[e("div",null,"Tag: "+s("APP_VERSION"in o?o.APP_VERSION:r(f)),1),e("div",null,"Sha: "+s("GITHUB_SHA"in o?o.GITHUB_SHA:r(_)),1)])]),default:n(()=>[e("a",{href:"GITHUB_URL"in o?o.GITHUB_URL:r(m),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,N)]),_:1})])]),e("li",null,[e("div",C,[i(d,null,{popper:n(()=>[e("div",G,[e("div",null,"CDN Host: "+s("CDN_HOST"in o?o.CDN_HOST:r(p)),1),e("div",null,"DATA Host: "+s("DATA_HOST"in o?o.DATA_HOST:r(T)),1),e("div",null,"Data Region: "+s("DATA_REGION"in o?o.DATA_REGION:r(A)),1)])]),default:n(()=>[t[2]||(t[2]=e("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1))]),_:1})])])]),e("span",O,[t[4]||(t[4]=l("© 2020-PRESENT ",-1)),i(a,{to:"/","hover:underline":""},{default:n(()=>[...t[3]||(t[3]=[l("XCPCIO™",-1)])]),_:1}),t[5]||(t[5]=l(". All Rights Reserved.",-1))])])])}const P=H(x,[["render",b]]);export{P as _};
1
+ import{_ as u}from"./Tooltip.vue_vue_type_script_setup_true_lang-Cdkohug8.js";import{G as m,A as f,a as _,C as p,D as T,b as A}from"./constant-BNBVHafg.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as v,o as y,b as e,a as i,w as n,j as l,r as S,h as r,k as s}from"./index-CcEUjOxI.js";const x={},R={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},g={"text-center":"","w-full":""},D={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},I={"mr-4":"","md:mr-6":""},N=["href"],h={flex:"","justify-center":"","items-start":"","flex-col":""},C={"mr-4":"","md:mr-6":""},G={flex:"","justify-center":"","items-start":"","flex-col":""},O={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""};function b(o,t){const a=S("RouterLink"),d=u;return y(),v("footer",R,[e("div",g,[i(a,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:n(()=>[...t[0]||(t[0]=[e("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),l(" Get more balloons ",-1)])]),_:1}),t[6]||(t[6]=e("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," The ICPC Series Competition Leaderboard Visualization Engine. ",-1)),e("ul",D,[e("li",null,[i(a,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:n(()=>[...t[1]||(t[1]=[l(" Home ",-1)])]),_:1})]),e("li",null,[e("div",I,[i(d,null,{popper:n(()=>[e("div",h,[e("div",null,"Tag: "+s("APP_VERSION"in o?o.APP_VERSION:r(f)),1),e("div",null,"Sha: "+s("GITHUB_SHA"in o?o.GITHUB_SHA:r(_)),1)])]),default:n(()=>[e("a",{href:"GITHUB_URL"in o?o.GITHUB_URL:r(m),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,N)]),_:1})])]),e("li",null,[e("div",C,[i(d,null,{popper:n(()=>[e("div",G,[e("div",null,"CDN Host: "+s("CDN_HOST"in o?o.CDN_HOST:r(p)),1),e("div",null,"DATA Host: "+s("DATA_HOST"in o?o.DATA_HOST:r(T)),1),e("div",null,"Data Region: "+s("DATA_REGION"in o?o.DATA_REGION:r(A)),1)])]),default:n(()=>[t[2]||(t[2]=e("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1))]),_:1})])])]),e("span",O,[t[4]||(t[4]=l("© 2020-PRESENT ",-1)),i(a,{to:"/","hover:underline":""},{default:n(()=>[...t[3]||(t[3]=[l("XCPCIO™",-1)])]),_:1}),t[5]||(t[5]=l(". All Rights Reserved.",-1))])])])}const P=H(x,[["render",b]]);export{P as _};
@@ -1 +1 @@
1
- import{d as m,u as c,e as k,f as h,g as C,c as _,o as w,n as s,b as t,h as e,a as L,r as H,w as I,t as B,i as O,l as G}from"./index-BekuFmNs.js";import{G as R,X as U}from"./constant-BV8TO4cQ.js";import{_ as T}from"./_plugin-vue_export-helper-DlAUqK2U.js";const x={class:"right","print:op0":""},E=["title"],P=["title"],X=["href"],y=["href"],z=m({__name:"NavBar",props:{width:null},setup(u){const i=u,{t:l,locale:r}=c(),{y:d}=k(),p=C();function g(){window.scrollTo({top:0,behavior:"smooth"})}async function b(){const n=O,o=n[(n.indexOf(r.value)+1)%n.length];await G(o),r.value=o}const f=h(()=>p.fullPath.startsWith("/rating")?"/rating":"/");return(n,o)=>{const v=H("RouterLink");return w(),_("header",{class:s(["header z-40",[i?.width??""]])},[t("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:s(e(d)>300?"op30":"op0! pointer-events-none"),onClick:o[0]||(o[0]=a=>g())},[...o[3]||(o[3]=[t("div",{"i-ri-arrow-up-line":""},null,-1)])],2),t("nav",{class:s(["nav",[i?.width?"":"fixed"]]),"text-xl":""},[o[9]||(o[9]=t("div",{class:"spacer"},null,-1)),t("div",x,[L(v,{"icon-btn":"",title:e(l)("button.home"),to:e(f),focusable:"false"},{default:I(()=>[...o[4]||(o[4]=[t("div",{"i-ion-balloon-sharp":""},null,-1)])]),_:1},8,["title","to"]),t("a",{"icon-btn":"",title:e(l)("button.toggle_langs"),onClick:o[1]||(o[1]=a=>b())},[...o[5]||(o[5]=[t("div",{"i-carbon-language":""},null,-1)])],8,E),t("a",{"icon-btn":"",title:e(l)("button.toggle_dark"),onClick:o[2]||(o[2]=a=>("toggleDark"in n?n.toggleDark:e(B))())},[...o[6]||(o[6]=[t("div",{i:"carbon-sun dark:carbon-moon"},null,-1)])],8,P),t("a",{"icon-btn":"",rel:"noreferrer",href:"GITHUB_URL"in n?n.GITHUB_URL:e(R),target:"_blank",title:"GitHub"},[...o[7]||(o[7]=[t("div",{"i-carbon-logo-github":""},null,-1)])],8,X),t("a",{"icon-btn":"",rel:"noreferrer",href:"XCPCIO_HOME"in n?n.XCPCIO_HOME:e(U),target:"_blank",title:"GitHub"},[...o[8]||(o[8]=[t("div",{"i-simple-icons-githubsponsors":""},null,-1)])],8,y)])],2)],2)}}}),$=T(z,[["__scopeId","data-v-f4512469"]]);export{$ as _};
1
+ import{d as m,u as c,e as k,f as h,g as C,c as _,o as w,n as s,b as t,h as e,a as L,r as H,w as I,t as B,i as O,l as G}from"./index-CcEUjOxI.js";import{G as R,X as U}from"./constant-BNBVHafg.js";import{_ as T}from"./_plugin-vue_export-helper-DlAUqK2U.js";const x={class:"right","print:op0":""},E=["title"],P=["title"],X=["href"],y=["href"],z=m({__name:"NavBar",props:{width:null},setup(u){const i=u,{t:l,locale:r}=c(),{y:d}=k(),p=C();function g(){window.scrollTo({top:0,behavior:"smooth"})}async function b(){const n=O,o=n[(n.indexOf(r.value)+1)%n.length];await G(o),r.value=o}const f=h(()=>p.fullPath.startsWith("/rating")?"/rating":"/");return(n,o)=>{const v=H("RouterLink");return w(),_("header",{class:s(["header z-40",[i?.width??""]])},[t("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:s(e(d)>300?"op30":"op0! pointer-events-none"),onClick:o[0]||(o[0]=a=>g())},[...o[3]||(o[3]=[t("div",{"i-ri-arrow-up-line":""},null,-1)])],2),t("nav",{class:s(["nav",[i?.width?"":"fixed"]]),"text-xl":""},[o[9]||(o[9]=t("div",{class:"spacer"},null,-1)),t("div",x,[L(v,{"icon-btn":"",title:e(l)("button.home"),to:e(f),focusable:"false"},{default:I(()=>[...o[4]||(o[4]=[t("div",{"i-ion-balloon-sharp":""},null,-1)])]),_:1},8,["title","to"]),t("a",{"icon-btn":"",title:e(l)("button.toggle_langs"),onClick:o[1]||(o[1]=a=>b())},[...o[5]||(o[5]=[t("div",{"i-carbon-language":""},null,-1)])],8,E),t("a",{"icon-btn":"",title:e(l)("button.toggle_dark"),onClick:o[2]||(o[2]=a=>("toggleDark"in n?n.toggleDark:e(B))())},[...o[6]||(o[6]=[t("div",{i:"carbon-sun dark:carbon-moon"},null,-1)])],8,P),t("a",{"icon-btn":"",rel:"noreferrer",href:"GITHUB_URL"in n?n.GITHUB_URL:e(R),target:"_blank",title:"GitHub"},[...o[7]||(o[7]=[t("div",{"i-carbon-logo-github":""},null,-1)])],8,X),t("a",{"icon-btn":"",rel:"noreferrer",href:"XCPCIO_HOME"in n?n.XCPCIO_HOME:e(U),target:"_blank",title:"GitHub"},[...o[8]||(o[8]=[t("div",{"i-simple-icons-githubsponsors":""},null,-1)])],8,y)])],2)],2)}}}),$=T(z,[["__scopeId","data-v-f4512469"]]);export{$ as _};
@@ -1,4 +1,4 @@
1
- import{d as _r,f as Ae,m as mt,u as cr,c as Q,o as Z,n as oi,h as I,b as nt,k as gt,F as Qt,E as dr,q as pe,j as Ie,A as bn,C as Qe,Y as wn,a4 as Ee,W as kn,a as Yi,w as Sn,T as Pn,s as On}from"./index-BekuFmNs.js";import{_ as pr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{T as Xi,_ as $i,c as Cn}from"./query-Cjtsaj14.js";import{T as Zt,R as Gi,f as Rn,c as Mn,a as Dn}from"./rank-DcNErgDA.js";import{e as Wi}from"./constant-BV8TO4cQ.js";import{u as An}from"./useQueryBoardData-DwklvgTI.js";class In{constructor(){this.id=0,this.team=new Zt,this.problemIx=0,this.beforeTeamProblemStatistics=new Xi,this.afterTeamProblemStatistics=new Xi}}class En extends Gi{constructor(t,e,i){i.sort(Rn.compare);let r=i,n=i;{let s=t.unFreezeDurationTimestamp;t.options.submissionTimestampUnit==="millisecond"&&(s*=1e3),t.options.submissionTimestampUnit==="microsecond"&&(s*=1e6),t.options.submissionTimestampUnit==="nanosecond"&&(s*=1e9);const o=$i.sortedIndex(i.map(u=>u.timestamp),s);r=i.slice(0,o+1),n=i.slice(o,-1)}super(t,e,r),this.finalRank=new Gi(t,e,i),this.operations=[],this.beforeFreezeSubmissions=r,this.afterFreezeSubmissions=n}buildResolver(){this.buildRank(),this.finalRank.buildRank(),this.teams.forEach(t=>t.rank=t.originalRank),this.finalRank.teams.forEach(t=>t.rank=t.originalRank);for(const t of this.afterFreezeSubmissions){const e=t.teamId,i=t.problemId,r=this.teamsMap.get(e),n=this.contest.problemsMap.get(i);if(r===void 0||n===void 0)continue;const s=r.problemStatisticsMap.get(i);s.pendingCount++,s.totalCount++,s.isAccepted||(s.lastSubmitTimestamp=t.timestamp)}{const t=$i.cloneDeep(this.teams);for(let e=this.teams.length-1;e>=0;){const i=t[e],r=i.id;let n=0,s=-1;for(const o of i.problemStatistics){if(s++,!o.isPending)continue;n++;const u=this.teamsMap.get(r)?.problemStatistics[s],l=this.finalRank.teamsMap.get(r)?.problemStatistics[s],f=new In;f.id=this.operations.length,f.team=this.teamsMap.get(r),f.problemIx=s,f.beforeTeamProblemStatistics=u,f.afterTeamProblemStatistics=l,this.operations.push(f),i.problemStatistics[s]=l,i.calcSolvedData(this.contest.options);break}{let o=e;for(;o>0&&Zt.compare(t[o],t[o-1])<0;)[t[o],t[o-1]]=[t[o-1],t[o]],o--}n===0&&e--}}}}class Fn extends En{constructor(t,e,i){super(t,e,i),this.FLASHING_TIME_MS=100,this.ROLLING_TIME_MS=600,this.maxIndex=0,this.currentIndex=0,this.maxOpIndex=0,this.currentOpIndex=0,this.oldRank=-1,this.newRank=-1,this.currentTeamId="",this.currentProblemIndex=-1,this.problemFlashingEnded=!0,this.duringAnimation=!1,this.startScrollUp=!1,this.startScrollDown=!1}buildResolver(){super.buildResolver(),this.maxIndex=this.teams.length-1,this.currentIndex=this.maxIndex,this.maxOpIndex=this.operations.length-1,this.currentOpIndex=0,this.oldRank=-1,this.newRank=-1,this.currentTeamId="",this.currentProblemIndex=-1,this.problemFlashingEnded=!0,this.duringAnimation=!1,this.startScrollUp=!1,this.startScrollDown=!1}next(){if(this.duringAnimation)return;if(this.currentOpIndex>this.maxOpIndex){this.currentIndex>0&&this.currentIndex--;return}const t=this.operations[this.currentOpIndex],e=t.problemIx,i=t.team.id,r=this.teamsMap.get(i),n=r.rank;if(this.currentIndex+1>n){this.currentIndex--;return}if(this.currentIndex+1===n){r.problemStatistics[e]=t.afterTeamProblemStatistics,r.calcSolvedData(this.contest.options),this.currentProblemIndex=e,this.currentTeamId=i;{this.oldRank=r.rank,this.newRank=this.oldRank;for(let s=this.currentIndex-1;s>=0&&Zt.compare(r,this.teams[s])<0;s--)this.newRank=this.teams[s].rank}this.currentOpIndex++;{let s=this.oldRank-1;for(;s>=0&&Zt.compare(this.teams[s],this.teams[s-1])<0;)[this.teams[s],this.teams[s-1]]=[this.teams[s-1],this.teams[s]],this.teams[s].rank=s+1,this.teams[s-1].rank=s,s--}}}rewind(){if(this.duringAnimation||this.currentOpIndex<1)return;this.currentOpIndex--;const t=this.operations[this.currentOpIndex],e=t.problemIx,i=t.team.id,r=this.teamsMap.get(i);r.problemStatistics[e]=t.beforeTeamProblemStatistics,r.calcSolvedData(this.contest.options),this.currentProblemIndex=e,this.currentTeamId=i;{this.oldRank=r.rank,this.newRank=this.oldRank;for(let n=this.currentIndex+1;n<=this.maxIndex&&Zt.compare(r,this.teams[n])>0;n++)this.newRank=this.teams[n].rank}{let n=this.oldRank-1,s=n;for(;n<this.maxIndex&&Zt.compare(this.teams[n],this.teams[n+1])>0;)[this.teams[n],this.teams[n+1]]=[this.teams[n+1],this.teams[n]],this.teams[n].rank=n+1,this.teams[n+1].rank=n+2,s=n+1,n++;this.currentIndex=s}}}const zn={"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":""},Ln={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":"","gap-y-3":""},Nn={class:"resolver-team-name",truncate:"","overflow-hidden":""},Bn={flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},Vn={"w-48":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},Un={class:"w-1/3"},Yn={class:"w-2/3"},Xn=_r({__name:"ResolverTeamRow",props:{index:null,team:null,resolver:null},setup(a){const t=a,e=Ae(()=>t.index),i=Ae(()=>t.team),r=Ae(()=>t.resolver),n=mt(null),{locale:s}=cr(),o=Ae(()=>s.value);function u(l){return[l.organization,l.name.getOrDefault(o.value)].filter(h=>h).join(" - ")}return(l,f)=>(Z(),Q("div",{ref_key:"el",ref:n,"h-24":""},[(Z(),Q("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:oi([I(e)%2===0?"bg-resolver-bg-zero":"bg-resolver-bg-one",I(r).duringAnimation&&I(r).currentTeamId===I(i).id?"bg-resolver-selected":"",!I(r).duringAnimation&&I(e)===I(r).currentIndex?"bg-resolver-selected":""])},[nt("div",zn,[nt("div",null,gt(I(i).rank),1)]),nt("div",Ln,[nt("div",Nn,gt(u(I(i))),1),nt("div",Bn,[(Z(!0),Q(Qt,null,dr(I(i).problemStatistics,(h,c)=>(Z(),Q("div",{key:h.problem.id,class:oi(["rounded w-22 h-7 flex justify-center items-center",[h.isAccepted?"bg-resolver-ac":"",h.isWrongAnswer?"bg-resolver-wa":"",h.isPending?"bg-resolver-pending":"",h.isUnSubmitted?"bg-resolver-untouched":"",I(r).problemFlashingEnded===!1&&I(e)===I(r).currentIndex&&I(r).currentProblemIndex===c?"resolver-uncover":""]])},[h.isAccepted?(Z(),Q(Qt,{key:0},[Ie(gt(`${h.failedCount+Number(h.isAccepted)}/${Math.floor(h.lastSubmitTimestamp/60)}`),1)],64)):pe("",!0),h.isWrongAnswer?(Z(),Q(Qt,{key:1},[Ie(gt(`${h.failedCount}/${Math.floor(h.lastSubmitTimestamp/60)}`),1)],64)):pe("",!0),h.isPending?(Z(),Q(Qt,{key:2},[Ie(gt(`${h.failedCount} + ${h.pendingCount}`),1)],64)):pe("",!0),h.isUnSubmitted?(Z(),Q(Qt,{key:3},[Ie(gt(h.problem.label),1)],64)):pe("",!0)],2))),128))])]),nt("div",Vn,[nt("div",Un,gt(I(i).solvedProblemNum),1),nt("div",Yn,gt(I(i).penaltyToMinute),1)])],2))],512))}}),$n=pr(Xn,[["__scopeId","data-v-4d3e11d2"]]);function kt(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function mr(a,t){a.prototype=Object.create(t.prototype),a.prototype.constructor=a,a.__proto__=t}/*!
1
+ import{d as _r,f as Ae,m as mt,u as cr,c as Q,o as Z,n as oi,h as I,b as nt,k as gt,F as Qt,E as dr,q as pe,j as Ie,A as bn,C as Qe,Y as wn,a4 as Ee,W as kn,a as Yi,w as Sn,T as Pn,s as On}from"./index-CcEUjOxI.js";import{_ as pr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{T as Xi,_ as $i,c as Cn}from"./query-BAMEomDp.js";import{T as Zt,R as Gi,f as Rn,c as Mn,a as Dn}from"./rank-DHAmSxac.js";import{e as Wi}from"./constant-BNBVHafg.js";import{u as An}from"./useQueryBoardData-Dcr65vGN.js";class In{constructor(){this.id=0,this.team=new Zt,this.problemIx=0,this.beforeTeamProblemStatistics=new Xi,this.afterTeamProblemStatistics=new Xi}}class En extends Gi{constructor(t,e,i){i.sort(Rn.compare);let r=i,n=i;{let s=t.unFreezeDurationTimestamp;t.options.submissionTimestampUnit==="millisecond"&&(s*=1e3),t.options.submissionTimestampUnit==="microsecond"&&(s*=1e6),t.options.submissionTimestampUnit==="nanosecond"&&(s*=1e9);const o=$i.sortedIndex(i.map(u=>u.timestamp),s);r=i.slice(0,o+1),n=i.slice(o,-1)}super(t,e,r),this.finalRank=new Gi(t,e,i),this.operations=[],this.beforeFreezeSubmissions=r,this.afterFreezeSubmissions=n}buildResolver(){this.buildRank(),this.finalRank.buildRank(),this.teams.forEach(t=>t.rank=t.originalRank),this.finalRank.teams.forEach(t=>t.rank=t.originalRank);for(const t of this.afterFreezeSubmissions){const e=t.teamId,i=t.problemId,r=this.teamsMap.get(e),n=this.contest.problemsMap.get(i);if(r===void 0||n===void 0)continue;const s=r.problemStatisticsMap.get(i);s.pendingCount++,s.totalCount++,s.isAccepted||(s.lastSubmitTimestamp=t.timestamp)}{const t=$i.cloneDeep(this.teams);for(let e=this.teams.length-1;e>=0;){const i=t[e],r=i.id;let n=0,s=-1;for(const o of i.problemStatistics){if(s++,!o.isPending)continue;n++;const u=this.teamsMap.get(r)?.problemStatistics[s],l=this.finalRank.teamsMap.get(r)?.problemStatistics[s],f=new In;f.id=this.operations.length,f.team=this.teamsMap.get(r),f.problemIx=s,f.beforeTeamProblemStatistics=u,f.afterTeamProblemStatistics=l,this.operations.push(f),i.problemStatistics[s]=l,i.calcSolvedData(this.contest.options);break}{let o=e;for(;o>0&&Zt.compare(t[o],t[o-1])<0;)[t[o],t[o-1]]=[t[o-1],t[o]],o--}n===0&&e--}}}}class Fn extends En{constructor(t,e,i){super(t,e,i),this.FLASHING_TIME_MS=100,this.ROLLING_TIME_MS=600,this.maxIndex=0,this.currentIndex=0,this.maxOpIndex=0,this.currentOpIndex=0,this.oldRank=-1,this.newRank=-1,this.currentTeamId="",this.currentProblemIndex=-1,this.problemFlashingEnded=!0,this.duringAnimation=!1,this.startScrollUp=!1,this.startScrollDown=!1}buildResolver(){super.buildResolver(),this.maxIndex=this.teams.length-1,this.currentIndex=this.maxIndex,this.maxOpIndex=this.operations.length-1,this.currentOpIndex=0,this.oldRank=-1,this.newRank=-1,this.currentTeamId="",this.currentProblemIndex=-1,this.problemFlashingEnded=!0,this.duringAnimation=!1,this.startScrollUp=!1,this.startScrollDown=!1}next(){if(this.duringAnimation)return;if(this.currentOpIndex>this.maxOpIndex){this.currentIndex>0&&this.currentIndex--;return}const t=this.operations[this.currentOpIndex],e=t.problemIx,i=t.team.id,r=this.teamsMap.get(i),n=r.rank;if(this.currentIndex+1>n){this.currentIndex--;return}if(this.currentIndex+1===n){r.problemStatistics[e]=t.afterTeamProblemStatistics,r.calcSolvedData(this.contest.options),this.currentProblemIndex=e,this.currentTeamId=i;{this.oldRank=r.rank,this.newRank=this.oldRank;for(let s=this.currentIndex-1;s>=0&&Zt.compare(r,this.teams[s])<0;s--)this.newRank=this.teams[s].rank}this.currentOpIndex++;{let s=this.oldRank-1;for(;s>=0&&Zt.compare(this.teams[s],this.teams[s-1])<0;)[this.teams[s],this.teams[s-1]]=[this.teams[s-1],this.teams[s]],this.teams[s].rank=s+1,this.teams[s-1].rank=s,s--}}}rewind(){if(this.duringAnimation||this.currentOpIndex<1)return;this.currentOpIndex--;const t=this.operations[this.currentOpIndex],e=t.problemIx,i=t.team.id,r=this.teamsMap.get(i);r.problemStatistics[e]=t.beforeTeamProblemStatistics,r.calcSolvedData(this.contest.options),this.currentProblemIndex=e,this.currentTeamId=i;{this.oldRank=r.rank,this.newRank=this.oldRank;for(let n=this.currentIndex+1;n<=this.maxIndex&&Zt.compare(r,this.teams[n])>0;n++)this.newRank=this.teams[n].rank}{let n=this.oldRank-1,s=n;for(;n<this.maxIndex&&Zt.compare(this.teams[n],this.teams[n+1])>0;)[this.teams[n],this.teams[n+1]]=[this.teams[n+1],this.teams[n]],this.teams[n].rank=n+1,this.teams[n+1].rank=n+2,s=n+1,n++;this.currentIndex=s}}}const zn={"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":""},Ln={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":"","gap-y-3":""},Nn={class:"resolver-team-name",truncate:"","overflow-hidden":""},Bn={flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},Vn={"w-48":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},Un={class:"w-1/3"},Yn={class:"w-2/3"},Xn=_r({__name:"ResolverTeamRow",props:{index:null,team:null,resolver:null},setup(a){const t=a,e=Ae(()=>t.index),i=Ae(()=>t.team),r=Ae(()=>t.resolver),n=mt(null),{locale:s}=cr(),o=Ae(()=>s.value);function u(l){return[l.organization,l.name.getOrDefault(o.value)].filter(h=>h).join(" - ")}return(l,f)=>(Z(),Q("div",{ref_key:"el",ref:n,"h-24":""},[(Z(),Q("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:oi([I(e)%2===0?"bg-resolver-bg-zero":"bg-resolver-bg-one",I(r).duringAnimation&&I(r).currentTeamId===I(i).id?"bg-resolver-selected":"",!I(r).duringAnimation&&I(e)===I(r).currentIndex?"bg-resolver-selected":""])},[nt("div",zn,[nt("div",null,gt(I(i).rank),1)]),nt("div",Ln,[nt("div",Nn,gt(u(I(i))),1),nt("div",Bn,[(Z(!0),Q(Qt,null,dr(I(i).problemStatistics,(h,c)=>(Z(),Q("div",{key:h.problem.id,class:oi(["rounded w-22 h-7 flex justify-center items-center",[h.isAccepted?"bg-resolver-ac":"",h.isWrongAnswer?"bg-resolver-wa":"",h.isPending?"bg-resolver-pending":"",h.isUnSubmitted?"bg-resolver-untouched":"",I(r).problemFlashingEnded===!1&&I(e)===I(r).currentIndex&&I(r).currentProblemIndex===c?"resolver-uncover":""]])},[h.isAccepted?(Z(),Q(Qt,{key:0},[Ie(gt(`${h.failedCount+Number(h.isAccepted)}/${Math.floor(h.lastSubmitTimestamp/60)}`),1)],64)):pe("",!0),h.isWrongAnswer?(Z(),Q(Qt,{key:1},[Ie(gt(`${h.failedCount}/${Math.floor(h.lastSubmitTimestamp/60)}`),1)],64)):pe("",!0),h.isPending?(Z(),Q(Qt,{key:2},[Ie(gt(`${h.failedCount} + ${h.pendingCount}`),1)],64)):pe("",!0),h.isUnSubmitted?(Z(),Q(Qt,{key:3},[Ie(gt(h.problem.label),1)],64)):pe("",!0)],2))),128))])]),nt("div",Vn,[nt("div",Un,gt(I(i).solvedProblemNum),1),nt("div",Yn,gt(I(i).penaltyToMinute),1)])],2))],512))}}),$n=pr(Xn,[["__scopeId","data-v-4d3e11d2"]]);function kt(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function mr(a,t){a.prototype=Object.create(t.prototype),a.prototype.constructor=a,a.__proto__=t}/*!
2
2
  * GSAP 3.13.0
3
3
  * https://gsap.com
4
4
  *
@@ -1 +1 @@
1
- import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o as l,b as o}from"./index-BekuFmNs.js";const s={},n={class:"color-gray-700 dark:color-gray-200"};function a(c,r){return l(),e("div",n,[...r[0]||(r[0]=[o("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[o("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),o("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1)])])}const d=t(s,[["render",a]]);export{d as _};
1
+ import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o as l,b as o}from"./index-CcEUjOxI.js";const s={},n={class:"color-gray-700 dark:color-gray-200"};function a(c,r){return l(),e("div",n,[...r[0]||(r[0]=[o("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[o("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),o("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1)])])}const d=t(s,[["render",a]]);export{d as _};
@@ -1 +1 @@
1
- import{d as r,v as s,az as u,h as p,c as i,o as d,y as m,z as c}from"./index-BekuFmNs.js";import{_}from"./use-vmodel-BhCUD_fD.js";const x=["type","text"],g=r({__name:"TheInput",props:{textAlign:null,textType:null,modelValue:null},emits:["update:modelValue"],setup(o){const t=o,{modelValue:e}=_("modelValue");return(l,n)=>s((d(),i("input",m({id:"input","onUpdate:modelValue":n[0]||(n[0]=a=>c(e)?e.value=a:null)},l.$attrs,{type:t.textType??"text",text:t.textAlign??"center",p:"x-4 y-2","w-full":"",bg:"transparent",border:"~ rounded gray-200 dark:gray-700",outline:"none active:none"}),null,16,x)),[[u,p(e)]])}});export{g as _};
1
+ import{d as r,v as s,az as u,h as p,c as i,o as d,y as m,z as c}from"./index-CcEUjOxI.js";import{_}from"./use-vmodel-CDoyD7Ix.js";const x=["type","text"],g=r({__name:"TheInput",props:{textAlign:null,textType:null,modelValue:null},emits:["update:modelValue"],setup(o){const t=o,{modelValue:e}=_("modelValue");return(l,n)=>s((d(),i("input",m({id:"input","onUpdate:modelValue":n[0]||(n[0]=a=>c(e)?e.value=a:null)},l.$attrs,{type:t.textType??"text",text:t.textAlign??"center",p:"x-4 y-2","w-full":"",bg:"transparent",border:"~ rounded gray-200 dark:gray-700",outline:"none active:none"}),null,16,x)),[[u,p(e)]])}});export{g as _};