@xcpcio/board-app 0.66.0 → 0.66.2
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.
- package/dist/404.html +1 -1
- package/dist/assets/{Balloon.vue_vue_type_script_setup_true_lang-zFCKTPnp.js → Balloon.vue_vue_type_script_setup_true_lang-Cd-QNnDt.js} +1 -1
- package/dist/assets/{Board-D26hcXmm.js → Board-sX3HmCh3.js} +1 -1
- package/dist/assets/{ContestStateBadge-Dn7l9IhB.js → ContestStateBadge-Cad99MQ4.js} +1 -1
- package/dist/assets/{Countdown-DISV7YdM.js → Countdown-Dhia-u0Y.js} +1 -1
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-C5pdHlXR.js → DataSourceInput.vue_vue_type_script_setup_true_lang-DVWnGqx-.js} +1 -1
- package/dist/assets/{Footer-BQVcMxX2.js → Footer-BWV6CMUR.js} +1 -1
- package/dist/assets/{NavBar-D4C7v24D.js → NavBar-CVNz1--5.js} +1 -1
- package/dist/assets/{Resolver-CHo7LDSZ.js → Resolver-Cu-OKY1L.js} +1 -1
- package/dist/assets/{RightArrowIcon-CGHhYm1V.js → RightArrowIcon-ClzV1Z1J.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-CAdFYISk.js → TheInput.vue_vue_type_script_setup_true_lang-C21qO8yZ.js} +1 -1
- package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-VxQTqiwv.js → Tooltip.vue_vue_type_script_setup_true_lang-D8Y2xuKM.js} +1 -1
- package/dist/assets/{_...all_-BoXo7e7e.js → _...all_-D0bkV7XM.js} +1 -1
- package/dist/assets/{_...all_-C3nPMXId.js → _...all_-DJwQ4yj4.js} +1 -1
- package/dist/assets/{_name_-Cvm8yaiH.js → _name_-CNK60UTb.js} +1 -1
- package/dist/assets/{about-rZzof3NL.js → about-Cz2BvibQ.js} +1 -1
- package/dist/assets/board-CAZpPFLb.js +1 -0
- package/dist/assets/{board-layout-BXkEtRic.js → board-layout-DciCGZEs.js} +1 -1
- package/dist/assets/constant-BWnqIcmY.js +1 -0
- package/dist/assets/{contest-TIAkIBA0.js → contest-CgNGJetR.js} +2 -2
- package/dist/assets/{dayjs-CMp8dWZ-.js → dayjs-Dk3pur30.js} +1 -1
- package/dist/assets/{default-BabR25-b.js → default-C691w98Q.js} +1 -1
- package/dist/assets/{headless-DvQQH6Iq.js → headless-CORlMDXV.js} +1 -1
- package/dist/assets/{home-BZtEq3es.js → home-hTEr1TJm.js} +1 -1
- package/dist/assets/{index-J5iT3g-n.js → index-9_oqoLcR.js} +4 -4
- package/dist/assets/{index-5GTgtX9I.js → index-B4yWQlcU.js} +1 -1
- package/dist/assets/index-BX3T_nMP.js +1 -0
- package/dist/assets/{index-BvGJbjn0.js → index-D6pv9dGi.js} +1 -1
- package/dist/assets/index-DncwAlQA.js +1 -0
- package/dist/assets/{index-layout-GQWlVrg6.js → index-layout-CnsXfFdQ.js} +1 -1
- package/dist/assets/{index-Dcm0y8jX.js → index-mCQ-iQmf.js} +1 -1
- package/dist/assets/{pagination-DrIm92LC.js → pagination-DnhQ5r1u.js} +1 -1
- package/dist/assets/{person-C9YVxYt_.js → person-U3tcpMKk.js} +1 -1
- package/dist/assets/{query-B3Db7UYG.js → query-CDfDbkZE.js} +1 -1
- package/dist/assets/rank-B4f6mi_k.js +1 -0
- package/dist/assets/{test-BbrQ-diy.js → test-Cflk2EUV.js} +1 -1
- package/dist/assets/{use-vmodel-Fan0i-6x.js → use-vmodel-Bl_BJeQo.js} +1 -1
- package/dist/assets/{user-Byly_88C.js → user-LgM0y5TK.js} +1 -1
- package/dist/assets/{virtual_pwa-register-D4UGGYB9.js → virtual_pwa-register-72WHXVVX.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +3 -3
- package/dist/assets/board-D9qNJnOg.js +0 -1
- package/dist/assets/constant-DNaQlM10.js +0 -1
- package/dist/assets/index-BB2J16ZO.js +0 -1
- package/dist/assets/index-fnjH2jHK.js +0 -1
- package/dist/assets/rank-CX5NP7Kq.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as pp,H as _p,av as bp,aw as mp,ax as Kr,P as vp,C as wp,Q as Xr,M as yp}from"./index-
|
|
1
|
+
import{g as pp,H as _p,av as bp,aw as mp,ax as Kr,P as vp,C as wp,Q as Xr,M as yp}from"./index-9_oqoLcR.js";import{I as ii,c as Un,d as Qr,g as Mf}from"./dayjs-Dk3pur30.js";const Pf=new WeakMap;function D_(i,f,r={}){const{mode:o="replace",route:c=pp(),router:h=_p(),transform:d}=r;let _=P=>P,v=P=>P;typeof d=="function"?_=d:d&&(d.get&&(_=d.get),d.set&&(v=d.set)),Pf.has(h)||Pf.set(h,new Map);const T=Pf.get(h);let L=c.query[i];bp(()=>{L=void 0});let S;const I=mp((P,W)=>(S=W,{get(){return P(),_(L!==void 0?L:Kr(f))},set(q){q=v(q),L!==q&&(L=q===Kr(f)?void 0:q,T.set(i,q===Kr(f)?void 0:q),W(),vp(()=>{if(T.size===0)return;const B=Object.fromEntries(T.entries());T.clear();const{params:k,query:bn,hash:sn}=c;h[Kr(o)]({params:k,query:{...bn,...B},hash:sn})}))}}));return wp(()=>c.query[i],P=>{L!==_(P)&&(L=P,S())},{flush:"sync"}),I}var Je=(i=>(i.UNKNOWN="Unknown",i.GOLD="Gold",i.SILVER="Silver",i.BRONZE="Bronze",i.HONORABLE="Honorable",i))(Je||{});class Bo{constructor(){this.medalType="Unknown",this.minRank=0,this.maxRank=0}}function W_(i){return["Gold","Silver","Bronze","Honorable"].includes(i)}var je={exports:{}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Lodash <https://lodash.com/>
|
|
4
4
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -36,4 +36,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
36
36
|
*
|
|
37
37
|
* You can read more about the APCA Readability Criterion at
|
|
38
38
|
* https://readtech.org/ARC/
|
|
39
|
-
*/const $o=.027,r_=5e-4,i_=.1,Fo=1.14,Jr=.022,Uo=1.414,f_=(i,f)=>{i=new C(i),f=new C(f),i.alpha()<1&&(i=Ae(f,i,i.alpha(),"rgb"));const r=Go(...i.rgb()),o=Go(...f.rgb()),c=r>=Jr?r:r+Math.pow(Jr-r,Uo),h=o>=Jr?o:o+Math.pow(Jr-o,Uo),d=Math.pow(h,.56)-Math.pow(c,.57),_=Math.pow(h,.65)-Math.pow(c,.62),v=Math.abs(h-c)<r_?0:c<h?d*Fo:_*Fo;return(Math.abs(v)<i_?0:v>0?v-$o:v+$o)*100};function Go(i,f,r){return .2126729*Math.pow(i/255,2.4)+.7151522*Math.pow(f/255,2.4)+.072175*Math.pow(r/255,2.4)}const{sqrt:It,pow:An,min:u_,max:s_,atan2:zo,abs:Ho,cos:jr,sin:qo,exp:o_,PI:Yo}=Math;function a_(i,f,r=1,o=1,c=1){var h=function(Se){return 360*Se/(2*Yo)},d=function(Se){return 2*Yo*Se/360};i=new C(i),f=new C(f);const[_,v,T]=Array.from(i.lab()),[L,S,I]=Array.from(f.lab()),P=(_+L)/2,W=It(An(v,2)+An(T,2)),q=It(An(S,2)+An(I,2)),B=(W+q)/2,k=.5*(1-It(An(B,7)/(An(B,7)+An(25,7)))),bn=v*(1+k),sn=S*(1+k),cn=It(An(bn,2)+An(T,2)),dn=It(An(sn,2)+An(I,2)),Y=(cn+dn)/2,E=h(zo(T,bn)),D=h(zo(I,sn)),z=E>=0?E:E+360,G=D>=0?D:D+360,fn=Ho(z-G)>180?(z+G+360)/2:(z+G)/2,j=1-.17*jr(d(fn-30))+.24*jr(d(2*fn))+.32*jr(d(3*fn+6))-.2*jr(d(4*fn-63));let pn=G-z;pn=Ho(pn)<=180?pn:G<=z?pn+360:pn-360,pn=2*It(cn*dn)*qo(d(pn)/2);const pt=L-_,qt=dn-cn,ee=1+.015*An(P-50,2)/It(20+An(P-50,2)),Kn=1+.045*Y,ut=1+.015*Y*j,si=30*o_(-An((fn-275)/25,2)),Xn=-(2*It(An(Y,7)/(An(Y,7)+An(25,7))))*qo(2*d(si)),oi=It(An(pt/(r*ee),2)+An(qt/(o*Kn),2)+An(pn/(c*ut),2)+Xn*(qt/(o*Kn))*(pn/(c*ut)));return s_(0,u_(100,oi))}function l_(i,f,r="lab"){i=new C(i),f=new C(f);const o=i.get(r),c=f.get(r);let h=0;for(let d in o){const _=(o[d]||0)-(c[d]||0);h+=_*_}return Math.sqrt(h)}const c_=(...i)=>{try{return new C(...i),!0}catch{return!1}},h_={cool(){return ei([rn.hsl(180,1,.9),rn.hsl(250,.7,.4)])},hot(){return ei(["#000","#f00","#ff0","#fff"]).mode("rgb")}},qf={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},ha=Object.keys(qf),Zo=new Map(ha.map(i=>[i.toLowerCase(),i])),d_=typeof Proxy=="function"?new Proxy(qf,{get(i,f){const r=f.toLowerCase();if(Zo.has(r))return i[Zo.get(r)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(ha)}}):qf,g_=(...i)=>{i=X(i,"cmyk");const[f,r,o,c]=i,h=i.length>4?i[4]:1;return c===1?[0,0,0,h]:[f>=1?0:255*(1-f)*(1-c),r>=1?0:255*(1-r)*(1-c),o>=1?0:255*(1-o)*(1-c),h]},{max:Ko}=Math,p_=(...i)=>{let[f,r,o]=X(i,"rgb");f=f/255,r=r/255,o=o/255;const c=1-Ko(f,Ko(r,o)),h=c<1?1/(1-c):0,d=(1-f-c)*h,_=(1-r-c)*h,v=(1-o-c)*h;return[d,_,v,c]};C.prototype.cmyk=function(){return p_(this._rgb)};const __=(...i)=>new C(...i,"cmyk");Object.assign(rn,{cmyk:__});K.format.cmyk=g_;K.autodetect.push({p:2,test:(...i)=>{if(i=X(i,"cmyk"),nn(i)==="array"&&i.length===4)return"cmyk"}});const b_=(...i)=>{const f=X(i,"hsla");let r=Te(i)||"lsa";return f[0]=it(f[0]||0)+"deg",f[1]=it(f[1]*100)+"%",f[2]=it(f[2]*100)+"%",r==="hsla"||f.length>3&&f[3]<1?(f[3]="/ "+(f.length>3?f[3]:1),r="hsla"):f.length=3,`${r.substr(0,3)}(${f.join(" ")})`},m_=(...i)=>{const f=X(i,"lab");let r=Te(i)||"lab";return f[0]=it(f[0])+"%",f[1]=it(f[1]),f[2]=it(f[2]),r==="laba"||f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`lab(${f.join(" ")})`},v_=(...i)=>{const f=X(i,"lch");let r=Te(i)||"lab";return f[0]=it(f[0])+"%",f[1]=it(f[1]),f[2]=isNaN(f[2])?"none":it(f[2])+"deg",r==="lcha"||f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`lch(${f.join(" ")})`},w_=(...i)=>{const f=X(i,"lab");return f[0]=it(f[0]*100)+"%",f[1]=zf(f[1]),f[2]=zf(f[2]),f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`oklab(${f.join(" ")})`},da=(...i)=>{const[f,r,o,...c]=X(i,"rgb"),[h,d,_]=Jf(f,r,o),[v,T,L]=ua(h,d,_);return[v,T,L,...c.length>0&&c[0]<1?[c[0]]:[]]},y_=(...i)=>{const f=X(i,"lch");return f[0]=it(f[0]*100)+"%",f[1]=zf(f[1]),f[2]=isNaN(f[2])?"none":it(f[2])+"deg",f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`oklch(${f.join(" ")})`},{round:Uf}=Math,x_=(...i)=>{const f=X(i,"rgba");let r=Te(i)||"rgb";if(r.substr(0,3)==="hsl")return b_(oa(f),r);if(r.substr(0,3)==="lab"){const o=tr();Pt("d50");const c=m_(Kf(f),r);return Pt(o),c}if(r.substr(0,3)==="lch"){const o=tr();Pt("d50");const c=v_(Qf(f),r);return Pt(o),c}return r.substr(0,5)==="oklab"?w_(Jf(f)):r.substr(0,5)==="oklch"?y_(da(f)):(f[0]=Uf(f[0]),f[1]=Uf(f[1]),f[2]=Uf(f[2]),(r==="rgba"||f.length>3&&f[3]<1)&&(f[3]="/ "+(f.length>3?f[3]:1),r="rgba"),`${r.substr(0,3)}(${f.slice(0,r==="rgb"?3:4).join(" ")})`)},ga=(...i)=>{i=X(i,"lch");const[f,r,o,...c]=i,[h,d,_]=fa(f,r,o),[v,T,L]=Vf(h,d,_);return[v,T,L,...c.length>0&&c[0]<1?[c[0]]:[]]},Ot=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,dt=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,ri=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,ft=/\s*/.source,Ee=/\s+/.source,jf=/\s*,\s*/.source,ui=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,Le=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,pa=new RegExp("^rgba?\\("+ft+[Ot,Ot,Ot].join(Ee)+Le+"\\)$"),_a=new RegExp("^rgb\\("+ft+[Ot,Ot,Ot].join(jf)+ft+"\\)$"),ba=new RegExp("^rgba\\("+ft+[Ot,Ot,Ot,dt].join(jf)+ft+"\\)$"),ma=new RegExp("^hsla?\\("+ft+[ui,ri,ri].join(Ee)+Le+"\\)$"),va=new RegExp("^hsl?\\("+ft+[ui,ri,ri].join(jf)+ft+"\\)$"),wa=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ya=new RegExp("^lab\\("+ft+[dt,dt,dt].join(Ee)+Le+"\\)$"),xa=new RegExp("^lch\\("+ft+[dt,dt,ui].join(Ee)+Le+"\\)$"),Aa=new RegExp("^oklab\\("+ft+[dt,dt,dt].join(Ee)+Le+"\\)$"),Ta=new RegExp("^oklch\\("+ft+[dt,dt,ui].join(Ee)+Le+"\\)$"),{round:Ra}=Math,ye=i=>i.map((f,r)=>r<=2?te(Ra(f),0,255):f),Tn=(i,f=0,r=100,o=!1)=>(typeof i=="string"&&i.endsWith("%")&&(i=parseFloat(i.substring(0,i.length-1))/100,o?i=f+(i+1)*.5*(r-f):i=f+i*(r-f)),+i),kn=(i,f)=>i==="none"?f:i,nu=i=>{if(i=i.toLowerCase().trim(),i==="transparent")return[0,0,0,0];let f;if(K.format.named)try{return K.format.named(i)}catch{}if((f=i.match(pa))||(f=i.match(_a))){let r=f.slice(1,4);for(let c=0;c<3;c++)r[c]=+Tn(kn(r[c],0),0,255);r=ye(r);const o=f[4]!==void 0?+Tn(f[4],0,1):1;return r[3]=o,r}if(f=i.match(ba)){const r=f.slice(1,5);for(let o=0;o<4;o++)r[o]=+Tn(r[o],0,255);return r}if((f=i.match(ma))||(f=i.match(va))){const r=f.slice(1,4);r[0]=+kn(r[0].replace("deg",""),0),r[1]=+Tn(kn(r[1],0),0,100)*.01,r[2]=+Tn(kn(r[2],0),0,100)*.01;const o=ye(Hf(r)),c=f[4]!==void 0?+Tn(f[4],0,1):1;return o[3]=c,o}if(f=i.match(wa)){const r=f.slice(1,4);r[1]*=.01,r[2]*=.01;const o=Hf(r);for(let c=0;c<3;c++)o[c]=Ra(o[c]);return o[3]=+f[4],o}if(f=i.match(ya)){const r=f.slice(1,4);r[0]=Tn(kn(r[0],0),0,100),r[1]=Tn(kn(r[1],0),-125,125,!0),r[2]=Tn(kn(r[2],0),-125,125,!0);const o=tr();Pt("d50");const c=ye(Zf(r));Pt(o);const h=f[4]!==void 0?+Tn(f[4],0,1):1;return c[3]=h,c}if(f=i.match(xa)){const r=f.slice(1,4);r[0]=Tn(r[0],0,100),r[1]=Tn(kn(r[1],0),0,150,!1),r[2]=+kn(r[2].replace("deg",""),0);const o=tr();Pt("d50");const c=ye(Xf(r));Pt(o);const h=f[4]!==void 0?+Tn(f[4],0,1):1;return c[3]=h,c}if(f=i.match(Aa)){const r=f.slice(1,4);r[0]=Tn(kn(r[0],0),0,1),r[1]=Tn(kn(r[1],0),-.4,.4,!0),r[2]=Tn(kn(r[2],0),-.4,.4,!0);const o=ye(Vf(r)),c=f[4]!==void 0?+Tn(f[4],0,1):1;return o[3]=c,o}if(f=i.match(Ta)){const r=f.slice(1,4);r[0]=Tn(kn(r[0],0),0,1),r[1]=Tn(kn(r[1],0),0,.4,!1),r[2]=+kn(r[2].replace("deg",""),0);const o=ye(ga(r)),c=f[4]!==void 0?+Tn(f[4],0,1):1;return o[3]=c,o}};nu.test=i=>pa.test(i)||ma.test(i)||ya.test(i)||xa.test(i)||Aa.test(i)||Ta.test(i)||_a.test(i)||ba.test(i)||va.test(i)||wa.test(i)||i==="transparent";C.prototype.css=function(i){return x_(this._rgb,i)};const A_=(...i)=>new C(...i,"css");rn.css=A_;K.format.css=nu;K.autodetect.push({p:5,test:(i,...f)=>{if(!f.length&&nn(i)==="string"&&nu.test(i))return"css"}});K.format.gl=(...i)=>{const f=X(i,"rgba");return f[0]*=255,f[1]*=255,f[2]*=255,f};const T_=(...i)=>new C(...i,"gl");rn.gl=T_;C.prototype.gl=function(){const i=this._rgb;return[i[0]/255,i[1]/255,i[2]/255,i[3]]};C.prototype.hex=function(i){return ea(this._rgb,i)};const R_=(...i)=>new C(...i,"hex");rn.hex=R_;K.format.hex=ta;K.autodetect.push({p:4,test:(i,...f)=>{if(!f.length&&nn(i)==="string"&&[3,4,5,6,7,8,9].indexOf(i.length)>=0)return"hex"}});const{log:ni}=Math,Ea=i=>{const f=i/100;let r,o,c;return f<66?(r=255,o=f<6?0:-155.25485562709179-.44596950469579133*(o=f-2)+104.49216199393888*ni(o),c=f<20?0:-254.76935184120902+.8274096064007395*(c=f-10)+115.67994401066147*ni(c)):(r=351.97690566805693+.114206453784165*(r=f-55)-40.25366309332127*ni(r),o=325.4494125711974+.07943456536662342*(o=f-50)-28.0852963507957*ni(o),c=255),[r,o,c,1]},{round:E_}=Math,L_=(...i)=>{const f=X(i,"rgb"),r=f[0],o=f[2];let c=1e3,h=4e4;const d=.4;let _;for(;h-c>d;){_=(h+c)*.5;const v=Ea(_);v[2]/v[0]>=o/r?h=_:c=_}return E_(_)};C.prototype.temp=C.prototype.kelvin=C.prototype.temperature=function(){return L_(this._rgb)};const Gf=(...i)=>new C(...i,"temp");Object.assign(rn,{temp:Gf,kelvin:Gf,temperature:Gf});K.format.temp=K.format.kelvin=K.format.temperature=Ea;C.prototype.oklch=function(){return da(this._rgb)};const C_=(...i)=>new C(...i,"oklch");Object.assign(rn,{oklch:C_});K.format.oklch=ga;K.autodetect.push({p:2,test:(...i)=>{if(i=X(i,"oklch"),nn(i)==="array"&&i.length===3)return"oklch"}});Object.assign(rn,{analyze:la,average:S2,bezier:N2,blend:gt,brewer:d_,Color:C,colors:xe,contrast:e_,contrastAPCA:f_,cubehelix:K2,deltaE:a_,distance:l_,input:K,interpolate:Ae,limits:ca,mix:Ae,random:J2,scale:ei,scales:h_,valid:c_});function La(i){const[f,r,o]=rn(i).rgb();return(f*299+r*587+o*114)/1e3<=148?"#fff":"#000"}class S_{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:Rp(this.attemptedNum,this.acceptedNum)}calcSE(f){const r=(f-this.acceptedNum)/f;return this.se=Math.round(r*100)/100,this.se}}class tu{constructor(){this.id="",this.label="",this.statistics=new S_,this.balloonColor={background_color:"#a0f0a0",color:"#000"}}}function I_(i){const f=new tu;return f.id=String(i.id),f.label=i.label,i.name&&(f.name=ii.fromIText(i.name)),f.timeLimit=i.time_limit,f.memoryLimit=i.memory_limit,i.balloon_color&&(f.balloonColor=Qo.cloneDeep(i.balloon_color)),f.balloonColor.color=La(f.balloonColor.background_color),f}function M_(i){return i.map(f=>I_(f))}function P_(i,f){const r=i.map((o,c)=>{const h=new tu;return h.id=c.toString(),h.label=o,h});if(f!=null)for(const o in f)r[o].balloonColor=Qo.cloneDeep(f[o]);return r.forEach(o=>{o.balloonColor.color=La(o.balloonColor.background_color)}),r}class $_{constructor(f){this.isFirstSolved=f?.teamProblemStatistics?.isFirstSolved??!1,this.isSolved=f?.teamProblemStatistics?.isSolved??!1,this.solvedTimestamp=f?.teamProblemStatistics?.solvedTimestamp??0,this.isSubmitted=f?.teamProblemStatistics?.isSubmitted??!1,this.lastSubmitTimestamp=f?.teamProblemStatistics?.lastSubmitTimestamp??0,this.failedCount=f?.teamProblemStatistics?.failedCount??0,this.pendingCount=f?.teamProblemStatistics?.pendingCount??0,this.ignoreCount=f?.teamProblemStatistics?.ignoreCount??0,this.totalCount=f?.teamProblemStatistics?.totalCount??0,this.submissions=f?.teamProblemStatistics?.submissions??[],this.problem=f?.teamProblemStatistics?.problem??new tu,this.contestPenalty=f?.teamProblemStatistics?.contestPenalty??1200}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}}var nr=(i=>(i.PENDING="PENDING",i.RUNNING="RUNNING",i.FROZEN="FROZEN",i.FINISHED="FINISHED",i.PAUSED="PAUSED",i))(nr||{});class Ca{constructor(){this.calculationOfPenalty="in_minutes",this.submissionTimestampUnit="second",this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1,this.submissionEnableActionField=!1,this.submissionHasReactionField=!1,this.reactionVideoUrlTemplate=void 0}}function O_(i={}){const f=i,r=new Ca;return f.calculation_of_penalty&&(r.calculationOfPenalty=f.calculation_of_penalty),f.submission_timestamp_unit&&(r.submissionTimestampUnit=f.submission_timestamp_unit),(f.submission_has_reaction||f.has_reaction_videos)&&(r.submissionHasReactionField=!0),r.submissionEnableActionField=r.submissionHasReactionField,r.reactionVideoUrlTemplate=f.reaction_video_url_template,r}class Xo{constructor(){this.name=new ii,this.isDefault=!1}}class B_{constructor(){this.id="",this.name=new ii,this.startTime=Un(),this.endTime=Un(),this.freezeTime=Un(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=1200,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new Ca}getStartTime(){return this.replayStartTime??this.startTime}getEndTime(){return this.replayEndTime??this.endTime}getFreezeTime(){return this.replayFreezeTime??this.freezeTime}getContestDuration(f="HH:mm:ss"){return Qr.duration(this.getEndTime().diff(this.getStartTime())).format(f)}getContestState(f){const r=Un(f);return r.isBefore(this.getStartTime())?nr.PENDING:r.isSameOrAfter(this.getEndTime())?nr.FINISHED:r.isSameOrAfter(this.getFreezeTime())?nr.FROZEN:nr.RUNNING}getContestPendingTime(f){let r=Un(f);return r.isAfter(this.getStartTime())&&(r=this.getStartTime()),Mf(Math.floor(Qr.duration(this.getStartTime().diff(r)).asSeconds()))}getContestElapsedTime(f){let r=Un(f);return r.isAfter(this.getEndTime())&&(r=this.getEndTime()),r.isBefore(this.getStartTime())&&(r=this.getStartTime()),Mf(Math.floor(Qr.duration(r.diff(this.getStartTime())).asSeconds()))}getContestRemainingTime(f){let r=Un(f);return r.isAfter(this.getEndTime())&&(r=this.getEndTime()),r.isBefore(this.getStartTime())&&(r=this.getStartTime()),Mf(Math.floor(Qr.duration(this.getEndTime().diff(r)).asSeconds()))}getContestProgressRatio(f){const r=Un(f);if(this.getStartTime().isSameOrAfter(r))return 0;if(this.getEndTime().isSameOrBefore(r))return 100;const o=this.getEndTime().diff(this.getStartTime(),"s"),c=r.diff(this.getStartTime(),"s");return Math.round(c*100/o)}isEnableAwards(f){return!(!this.awards||!this.awards.has(f))}resetReplayTime(){this.replayStartTime=void 0,this.replayEndTime=void 0,this.replayFreezeTime=void 0,this.replayNowTime=void 0,this.replayContestStartTimestamp=void 0}setReplayTime(f){if(f===0){this.resetReplayTime();return}const o=Un(f).diff(this.startTime,"s");this.replayStartTime=this.startTime.add(o,"s"),this.replayEndTime=this.endTime.add(o,"s"),this.replayFreezeTime=this.freezeTime.add(o,"s"),this.replayNowTime=Un(),this.replayContestStartTimestamp=this.replayNowTime.diff(this.replayStartTime,"s")}}function F_(i){const f=new B_;f.name=ii.fromIText(i.contest_name),f.startTime=Un(i.start_time),f.endTime=Un(i.end_time),f.totalDurationTimestamp=f.endTime.unix()-f.startTime.unix();{if(f.freezeTime=f.endTime,f.freezeDurationTimestamp=0,i.frozen_time!==void 0&&i.frozen_time!=null){const r=Number(i.frozen_time);f.freezeTime=Un(f.endTime.unix()-r),f.freezeDurationTimestamp=r}i.freeze_time!==void 0&&i.freeze_time!==null&&(f.freezeTime=Un(i.freeze_time),f.freezeDurationTimestamp=f.endTime.unix()-f.freezeTime.unix()),f.unFreezeDurationTimestamp=f.totalDurationTimestamp-f.freezeDurationTimestamp}f.penalty=i.penalty,i.problem_id!==void 0&&i.problem_id!==null&&(f.problems=P_(i.problem_id,i.balloon_color)),i.problems!==void 0&&i.problems!==null&&(f.problems=M_(i.problems)),f.problemsMap=new Map(f.problems.map(r=>[r.id,r])),i.status_time_display!==void 0&&i.status_time_display!==null&&(f.statusTimeDisplay={correct:!!(i.status_time_display.correct??!1),incorrect:!!(i.status_time_display.incorrect??!1),pending:!!(i.status_time_display.pending??!1)}),f.badge=i.badge,f.organization=i.organization,f.medal=i.medal,(()=>{if(!(i.medal===void 0||i.medal===null)&&(f.awards=new Map,typeof i.medal!="string"))for(const r in i.medal){const o=i.medal[r];{const c=[];let h=1;const d=(_,v)=>{if(Object.keys(o).includes(_)){const T=new Bo;T.medalType=v,T.minRank=h,h+=Number(o[_]),T.maxRank=h-1,c.push(T)}};d("gold",Je.GOLD),d("silver",Je.SILVER),d("bronze",Je.BRONZE);{const _=new Bo;_.medalType=Je.HONORABLE,_.minRank=h,_.maxRank=1061109567,c.push(_)}f.awards.set(r,c)}}})();{const r=new Xo;r.name.fallbackLang="zh-CN",r.name.set("en","All"),r.name.set("zh-CN","所有队伍"),r.isDefault=!0,f.group.set("all",r)}for(const[r,o]of Object.entries(i?.group??{})){let c=r;const h=new Xo;h.name.fallbackLang="zh-CN",h.name.set("zh-CN",o),r==="official"&&h.name.set("en","Official"),r==="unofficial"&&h.name.set("en","Unofficial"),(r==="girl"||r==="girls")&&(h.name.set("en","Girls"),c="girl"),f.group.set(c,h)}return f.banner=i.banner,f.banner&&(f.bannerMode=i.banner_mode??"ALL"),f.logo=i.logo,f.boardLink=i.board_link,i.options&&(f.options=O_(i.options)),f}export{Bo as A,B_ as C,Je as M,tu as P,$_ as T,Qo as _,nr as a,Rp as b,F_ as c,W_ as i,D_ as u};
|
|
39
|
+
*/const $o=.027,r_=5e-4,i_=.1,Fo=1.14,Jr=.022,Uo=1.414,f_=(i,f)=>{i=new C(i),f=new C(f),i.alpha()<1&&(i=Ae(f,i,i.alpha(),"rgb"));const r=Go(...i.rgb()),o=Go(...f.rgb()),c=r>=Jr?r:r+Math.pow(Jr-r,Uo),h=o>=Jr?o:o+Math.pow(Jr-o,Uo),d=Math.pow(h,.56)-Math.pow(c,.57),_=Math.pow(h,.65)-Math.pow(c,.62),v=Math.abs(h-c)<r_?0:c<h?d*Fo:_*Fo;return(Math.abs(v)<i_?0:v>0?v-$o:v+$o)*100};function Go(i,f,r){return .2126729*Math.pow(i/255,2.4)+.7151522*Math.pow(f/255,2.4)+.072175*Math.pow(r/255,2.4)}const{sqrt:It,pow:An,min:u_,max:s_,atan2:zo,abs:Ho,cos:jr,sin:qo,exp:o_,PI:Yo}=Math;function a_(i,f,r=1,o=1,c=1){var h=function(Se){return 360*Se/(2*Yo)},d=function(Se){return 2*Yo*Se/360};i=new C(i),f=new C(f);const[_,v,T]=Array.from(i.lab()),[L,S,I]=Array.from(f.lab()),P=(_+L)/2,W=It(An(v,2)+An(T,2)),q=It(An(S,2)+An(I,2)),B=(W+q)/2,k=.5*(1-It(An(B,7)/(An(B,7)+An(25,7)))),bn=v*(1+k),sn=S*(1+k),cn=It(An(bn,2)+An(T,2)),dn=It(An(sn,2)+An(I,2)),Y=(cn+dn)/2,E=h(zo(T,bn)),D=h(zo(I,sn)),z=E>=0?E:E+360,G=D>=0?D:D+360,fn=Ho(z-G)>180?(z+G+360)/2:(z+G)/2,j=1-.17*jr(d(fn-30))+.24*jr(d(2*fn))+.32*jr(d(3*fn+6))-.2*jr(d(4*fn-63));let pn=G-z;pn=Ho(pn)<=180?pn:G<=z?pn+360:pn-360,pn=2*It(cn*dn)*qo(d(pn)/2);const pt=L-_,qt=dn-cn,ee=1+.015*An(P-50,2)/It(20+An(P-50,2)),Kn=1+.045*Y,ut=1+.015*Y*j,si=30*o_(-An((fn-275)/25,2)),Xn=-(2*It(An(Y,7)/(An(Y,7)+An(25,7))))*qo(2*d(si)),oi=It(An(pt/(r*ee),2)+An(qt/(o*Kn),2)+An(pn/(c*ut),2)+Xn*(qt/(o*Kn))*(pn/(c*ut)));return s_(0,u_(100,oi))}function l_(i,f,r="lab"){i=new C(i),f=new C(f);const o=i.get(r),c=f.get(r);let h=0;for(let d in o){const _=(o[d]||0)-(c[d]||0);h+=_*_}return Math.sqrt(h)}const c_=(...i)=>{try{return new C(...i),!0}catch{return!1}},h_={cool(){return ei([rn.hsl(180,1,.9),rn.hsl(250,.7,.4)])},hot(){return ei(["#000","#f00","#ff0","#fff"]).mode("rgb")}},qf={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},ha=Object.keys(qf),Zo=new Map(ha.map(i=>[i.toLowerCase(),i])),d_=typeof Proxy=="function"?new Proxy(qf,{get(i,f){const r=f.toLowerCase();if(Zo.has(r))return i[Zo.get(r)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(ha)}}):qf,g_=(...i)=>{i=X(i,"cmyk");const[f,r,o,c]=i,h=i.length>4?i[4]:1;return c===1?[0,0,0,h]:[f>=1?0:255*(1-f)*(1-c),r>=1?0:255*(1-r)*(1-c),o>=1?0:255*(1-o)*(1-c),h]},{max:Ko}=Math,p_=(...i)=>{let[f,r,o]=X(i,"rgb");f=f/255,r=r/255,o=o/255;const c=1-Ko(f,Ko(r,o)),h=c<1?1/(1-c):0,d=(1-f-c)*h,_=(1-r-c)*h,v=(1-o-c)*h;return[d,_,v,c]};C.prototype.cmyk=function(){return p_(this._rgb)};const __=(...i)=>new C(...i,"cmyk");Object.assign(rn,{cmyk:__});K.format.cmyk=g_;K.autodetect.push({p:2,test:(...i)=>{if(i=X(i,"cmyk"),nn(i)==="array"&&i.length===4)return"cmyk"}});const b_=(...i)=>{const f=X(i,"hsla");let r=Te(i)||"lsa";return f[0]=it(f[0]||0)+"deg",f[1]=it(f[1]*100)+"%",f[2]=it(f[2]*100)+"%",r==="hsla"||f.length>3&&f[3]<1?(f[3]="/ "+(f.length>3?f[3]:1),r="hsla"):f.length=3,`${r.substr(0,3)}(${f.join(" ")})`},m_=(...i)=>{const f=X(i,"lab");let r=Te(i)||"lab";return f[0]=it(f[0])+"%",f[1]=it(f[1]),f[2]=it(f[2]),r==="laba"||f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`lab(${f.join(" ")})`},v_=(...i)=>{const f=X(i,"lch");let r=Te(i)||"lab";return f[0]=it(f[0])+"%",f[1]=it(f[1]),f[2]=isNaN(f[2])?"none":it(f[2])+"deg",r==="lcha"||f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`lch(${f.join(" ")})`},w_=(...i)=>{const f=X(i,"lab");return f[0]=it(f[0]*100)+"%",f[1]=zf(f[1]),f[2]=zf(f[2]),f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`oklab(${f.join(" ")})`},da=(...i)=>{const[f,r,o,...c]=X(i,"rgb"),[h,d,_]=Jf(f,r,o),[v,T,L]=ua(h,d,_);return[v,T,L,...c.length>0&&c[0]<1?[c[0]]:[]]},y_=(...i)=>{const f=X(i,"lch");return f[0]=it(f[0]*100)+"%",f[1]=zf(f[1]),f[2]=isNaN(f[2])?"none":it(f[2])+"deg",f.length>3&&f[3]<1?f[3]="/ "+(f.length>3?f[3]:1):f.length=3,`oklch(${f.join(" ")})`},{round:Uf}=Math,x_=(...i)=>{const f=X(i,"rgba");let r=Te(i)||"rgb";if(r.substr(0,3)==="hsl")return b_(oa(f),r);if(r.substr(0,3)==="lab"){const o=tr();Pt("d50");const c=m_(Kf(f),r);return Pt(o),c}if(r.substr(0,3)==="lch"){const o=tr();Pt("d50");const c=v_(Qf(f),r);return Pt(o),c}return r.substr(0,5)==="oklab"?w_(Jf(f)):r.substr(0,5)==="oklch"?y_(da(f)):(f[0]=Uf(f[0]),f[1]=Uf(f[1]),f[2]=Uf(f[2]),(r==="rgba"||f.length>3&&f[3]<1)&&(f[3]="/ "+(f.length>3?f[3]:1),r="rgba"),`${r.substr(0,3)}(${f.slice(0,r==="rgb"?3:4).join(" ")})`)},ga=(...i)=>{i=X(i,"lch");const[f,r,o,...c]=i,[h,d,_]=fa(f,r,o),[v,T,L]=Vf(h,d,_);return[v,T,L,...c.length>0&&c[0]<1?[c[0]]:[]]},Ot=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,dt=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,ri=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,ft=/\s*/.source,Ee=/\s+/.source,jf=/\s*,\s*/.source,ui=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,Le=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,pa=new RegExp("^rgba?\\("+ft+[Ot,Ot,Ot].join(Ee)+Le+"\\)$"),_a=new RegExp("^rgb\\("+ft+[Ot,Ot,Ot].join(jf)+ft+"\\)$"),ba=new RegExp("^rgba\\("+ft+[Ot,Ot,Ot,dt].join(jf)+ft+"\\)$"),ma=new RegExp("^hsla?\\("+ft+[ui,ri,ri].join(Ee)+Le+"\\)$"),va=new RegExp("^hsl?\\("+ft+[ui,ri,ri].join(jf)+ft+"\\)$"),wa=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ya=new RegExp("^lab\\("+ft+[dt,dt,dt].join(Ee)+Le+"\\)$"),xa=new RegExp("^lch\\("+ft+[dt,dt,ui].join(Ee)+Le+"\\)$"),Aa=new RegExp("^oklab\\("+ft+[dt,dt,dt].join(Ee)+Le+"\\)$"),Ta=new RegExp("^oklch\\("+ft+[dt,dt,ui].join(Ee)+Le+"\\)$"),{round:Ra}=Math,ye=i=>i.map((f,r)=>r<=2?te(Ra(f),0,255):f),Tn=(i,f=0,r=100,o=!1)=>(typeof i=="string"&&i.endsWith("%")&&(i=parseFloat(i.substring(0,i.length-1))/100,o?i=f+(i+1)*.5*(r-f):i=f+i*(r-f)),+i),kn=(i,f)=>i==="none"?f:i,nu=i=>{if(i=i.toLowerCase().trim(),i==="transparent")return[0,0,0,0];let f;if(K.format.named)try{return K.format.named(i)}catch{}if((f=i.match(pa))||(f=i.match(_a))){let r=f.slice(1,4);for(let c=0;c<3;c++)r[c]=+Tn(kn(r[c],0),0,255);r=ye(r);const o=f[4]!==void 0?+Tn(f[4],0,1):1;return r[3]=o,r}if(f=i.match(ba)){const r=f.slice(1,5);for(let o=0;o<4;o++)r[o]=+Tn(r[o],0,255);return r}if((f=i.match(ma))||(f=i.match(va))){const r=f.slice(1,4);r[0]=+kn(r[0].replace("deg",""),0),r[1]=+Tn(kn(r[1],0),0,100)*.01,r[2]=+Tn(kn(r[2],0),0,100)*.01;const o=ye(Hf(r)),c=f[4]!==void 0?+Tn(f[4],0,1):1;return o[3]=c,o}if(f=i.match(wa)){const r=f.slice(1,4);r[1]*=.01,r[2]*=.01;const o=Hf(r);for(let c=0;c<3;c++)o[c]=Ra(o[c]);return o[3]=+f[4],o}if(f=i.match(ya)){const r=f.slice(1,4);r[0]=Tn(kn(r[0],0),0,100),r[1]=Tn(kn(r[1],0),-125,125,!0),r[2]=Tn(kn(r[2],0),-125,125,!0);const o=tr();Pt("d50");const c=ye(Zf(r));Pt(o);const h=f[4]!==void 0?+Tn(f[4],0,1):1;return c[3]=h,c}if(f=i.match(xa)){const r=f.slice(1,4);r[0]=Tn(r[0],0,100),r[1]=Tn(kn(r[1],0),0,150,!1),r[2]=+kn(r[2].replace("deg",""),0);const o=tr();Pt("d50");const c=ye(Xf(r));Pt(o);const h=f[4]!==void 0?+Tn(f[4],0,1):1;return c[3]=h,c}if(f=i.match(Aa)){const r=f.slice(1,4);r[0]=Tn(kn(r[0],0),0,1),r[1]=Tn(kn(r[1],0),-.4,.4,!0),r[2]=Tn(kn(r[2],0),-.4,.4,!0);const o=ye(Vf(r)),c=f[4]!==void 0?+Tn(f[4],0,1):1;return o[3]=c,o}if(f=i.match(Ta)){const r=f.slice(1,4);r[0]=Tn(kn(r[0],0),0,1),r[1]=Tn(kn(r[1],0),0,.4,!1),r[2]=+kn(r[2].replace("deg",""),0);const o=ye(ga(r)),c=f[4]!==void 0?+Tn(f[4],0,1):1;return o[3]=c,o}};nu.test=i=>pa.test(i)||ma.test(i)||ya.test(i)||xa.test(i)||Aa.test(i)||Ta.test(i)||_a.test(i)||ba.test(i)||va.test(i)||wa.test(i)||i==="transparent";C.prototype.css=function(i){return x_(this._rgb,i)};const A_=(...i)=>new C(...i,"css");rn.css=A_;K.format.css=nu;K.autodetect.push({p:5,test:(i,...f)=>{if(!f.length&&nn(i)==="string"&&nu.test(i))return"css"}});K.format.gl=(...i)=>{const f=X(i,"rgba");return f[0]*=255,f[1]*=255,f[2]*=255,f};const T_=(...i)=>new C(...i,"gl");rn.gl=T_;C.prototype.gl=function(){const i=this._rgb;return[i[0]/255,i[1]/255,i[2]/255,i[3]]};C.prototype.hex=function(i){return ea(this._rgb,i)};const R_=(...i)=>new C(...i,"hex");rn.hex=R_;K.format.hex=ta;K.autodetect.push({p:4,test:(i,...f)=>{if(!f.length&&nn(i)==="string"&&[3,4,5,6,7,8,9].indexOf(i.length)>=0)return"hex"}});const{log:ni}=Math,Ea=i=>{const f=i/100;let r,o,c;return f<66?(r=255,o=f<6?0:-155.25485562709179-.44596950469579133*(o=f-2)+104.49216199393888*ni(o),c=f<20?0:-254.76935184120902+.8274096064007395*(c=f-10)+115.67994401066147*ni(c)):(r=351.97690566805693+.114206453784165*(r=f-55)-40.25366309332127*ni(r),o=325.4494125711974+.07943456536662342*(o=f-50)-28.0852963507957*ni(o),c=255),[r,o,c,1]},{round:E_}=Math,L_=(...i)=>{const f=X(i,"rgb"),r=f[0],o=f[2];let c=1e3,h=4e4;const d=.4;let _;for(;h-c>d;){_=(h+c)*.5;const v=Ea(_);v[2]/v[0]>=o/r?h=_:c=_}return E_(_)};C.prototype.temp=C.prototype.kelvin=C.prototype.temperature=function(){return L_(this._rgb)};const Gf=(...i)=>new C(...i,"temp");Object.assign(rn,{temp:Gf,kelvin:Gf,temperature:Gf});K.format.temp=K.format.kelvin=K.format.temperature=Ea;C.prototype.oklch=function(){return da(this._rgb)};const C_=(...i)=>new C(...i,"oklch");Object.assign(rn,{oklch:C_});K.format.oklch=ga;K.autodetect.push({p:2,test:(...i)=>{if(i=X(i,"oklch"),nn(i)==="array"&&i.length===3)return"oklch"}});Object.assign(rn,{analyze:la,average:S2,bezier:N2,blend:gt,brewer:d_,Color:C,colors:xe,contrast:e_,contrastAPCA:f_,cubehelix:K2,deltaE:a_,distance:l_,input:K,interpolate:Ae,limits:ca,mix:Ae,random:J2,scale:ei,scales:h_,valid:c_});function La(i){const[f,r,o]=rn(i).rgb();return(f*299+r*587+o*114)/1e3<=148?"#fff":"#000"}class S_{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:Rp(this.attemptedNum,this.acceptedNum)}calcSE(f){const r=(f-this.acceptedNum)/f;return this.se=Math.round(r*100)/100,this.se}}class tu{constructor(){this.id="",this.label="",this.statistics=new S_,this.balloonColor={background_color:"#a0f0a0",color:"#000"}}}function I_(i){const f=new tu;return f.id=String(i.id),f.label=i.label,i.name&&(f.name=ii.fromIText(i.name)),f.timeLimit=i.time_limit,f.memoryLimit=i.memory_limit,i.balloon_color&&(f.balloonColor=Qo.cloneDeep(i.balloon_color)),f.balloonColor.color=La(f.balloonColor.background_color),f}function M_(i){return i.map(f=>I_(f))}function P_(i,f){const r=i.map((o,c)=>{const h=new tu;return h.id=c.toString(),h.label=o,h});if(f!=null)for(const o in f)r[o].balloonColor=Qo.cloneDeep(f[o]);return r.forEach(o=>{o.balloonColor.color=La(o.balloonColor.background_color)}),r}class $_{constructor(f){this.isFirstSolved=f?.teamProblemStatistics?.isFirstSolved??!1,this.isSolved=f?.teamProblemStatistics?.isSolved??!1,this.solvedTimestamp=f?.teamProblemStatistics?.solvedTimestamp??0,this.isSubmitted=f?.teamProblemStatistics?.isSubmitted??!1,this.lastSubmitTimestamp=f?.teamProblemStatistics?.lastSubmitTimestamp??0,this.failedCount=f?.teamProblemStatistics?.failedCount??0,this.pendingCount=f?.teamProblemStatistics?.pendingCount??0,this.ignoreCount=f?.teamProblemStatistics?.ignoreCount??0,this.totalCount=f?.teamProblemStatistics?.totalCount??0,this.submissions=f?.teamProblemStatistics?.submissions??[],this.problem=f?.teamProblemStatistics?.problem??new tu,this.contestPenalty=f?.teamProblemStatistics?.contestPenalty??1200}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}}var nr=(i=>(i.PENDING="PENDING",i.RUNNING="RUNNING",i.FROZEN="FROZEN",i.FINISHED="FINISHED",i.PAUSED="PAUSED",i))(nr||{});class Ca{constructor(){this.calculationOfPenalty="in_minutes",this.submissionTimestampUnit="second",this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1,this.submissionEnableActionField=!1,this.submissionHasReactionField=!1}}function O_(i={}){const f=i,r=new Ca;return f.calculation_of_penalty&&(r.calculationOfPenalty=f.calculation_of_penalty),f.submission_timestamp_unit&&(r.submissionTimestampUnit=f.submission_timestamp_unit),(f.submission_has_reaction||f.has_reaction_videos)&&(r.submissionHasReactionField=!0),r.submissionEnableActionField=r.submissionHasReactionField,r.reactionVideoUrlTemplate=f.reaction_video_url_template,r.teamPhotoTemplate=f.team_photo_url_template,r}class Xo{constructor(){this.name=new ii,this.isDefault=!1}}class B_{constructor(){this.id="",this.name=new ii,this.startTime=Un(),this.endTime=Un(),this.freezeTime=Un(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=1200,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new Ca}getStartTime(){return this.replayStartTime??this.startTime}getEndTime(){return this.replayEndTime??this.endTime}getFreezeTime(){return this.replayFreezeTime??this.freezeTime}getContestDuration(f="HH:mm:ss"){return Qr.duration(this.getEndTime().diff(this.getStartTime())).format(f)}getContestState(f){const r=Un(f);return r.isBefore(this.getStartTime())?nr.PENDING:r.isSameOrAfter(this.getEndTime())?nr.FINISHED:r.isSameOrAfter(this.getFreezeTime())?nr.FROZEN:nr.RUNNING}getContestPendingTime(f){let r=Un(f);return r.isAfter(this.getStartTime())&&(r=this.getStartTime()),Mf(Math.floor(Qr.duration(this.getStartTime().diff(r)).asSeconds()))}getContestElapsedTime(f){let r=Un(f);return r.isAfter(this.getEndTime())&&(r=this.getEndTime()),r.isBefore(this.getStartTime())&&(r=this.getStartTime()),Mf(Math.floor(Qr.duration(r.diff(this.getStartTime())).asSeconds()))}getContestRemainingTime(f){let r=Un(f);return r.isAfter(this.getEndTime())&&(r=this.getEndTime()),r.isBefore(this.getStartTime())&&(r=this.getStartTime()),Mf(Math.floor(Qr.duration(this.getEndTime().diff(r)).asSeconds()))}getContestProgressRatio(f){const r=Un(f);if(this.getStartTime().isSameOrAfter(r))return 0;if(this.getEndTime().isSameOrBefore(r))return 100;const o=this.getEndTime().diff(this.getStartTime(),"s"),c=r.diff(this.getStartTime(),"s");return Math.round(c*100/o)}isEnableAwards(f){return!(!this.awards||!this.awards.has(f))}resetReplayTime(){this.replayStartTime=void 0,this.replayEndTime=void 0,this.replayFreezeTime=void 0,this.replayNowTime=void 0,this.replayContestStartTimestamp=void 0}setReplayTime(f){if(f===0){this.resetReplayTime();return}const o=Un(f).diff(this.startTime,"s");this.replayStartTime=this.startTime.add(o,"s"),this.replayEndTime=this.endTime.add(o,"s"),this.replayFreezeTime=this.freezeTime.add(o,"s"),this.replayNowTime=Un(),this.replayContestStartTimestamp=this.replayNowTime.diff(this.replayStartTime,"s")}}function F_(i){const f=new B_;f.name=ii.fromIText(i.contest_name),f.startTime=Un(i.start_time),f.endTime=Un(i.end_time),f.totalDurationTimestamp=f.endTime.unix()-f.startTime.unix();{if(f.freezeTime=f.endTime,f.freezeDurationTimestamp=0,i.frozen_time!==void 0&&i.frozen_time!=null){const r=Number(i.frozen_time);f.freezeTime=Un(f.endTime.unix()-r),f.freezeDurationTimestamp=r}i.freeze_time!==void 0&&i.freeze_time!==null&&(f.freezeTime=Un(i.freeze_time),f.freezeDurationTimestamp=f.endTime.unix()-f.freezeTime.unix()),f.unFreezeDurationTimestamp=f.totalDurationTimestamp-f.freezeDurationTimestamp}f.penalty=i.penalty,i.problem_id!==void 0&&i.problem_id!==null&&(f.problems=P_(i.problem_id,i.balloon_color)),i.problems!==void 0&&i.problems!==null&&(f.problems=M_(i.problems)),f.problemsMap=new Map(f.problems.map(r=>[r.id,r])),i.status_time_display!==void 0&&i.status_time_display!==null&&(f.statusTimeDisplay={correct:!!(i.status_time_display.correct??!1),incorrect:!!(i.status_time_display.incorrect??!1),pending:!!(i.status_time_display.pending??!1)}),f.badge=i.badge,f.organization=i.organization,f.medal=i.medal,(()=>{if(!(i.medal===void 0||i.medal===null)&&(f.awards=new Map,typeof i.medal!="string"))for(const r in i.medal){const o=i.medal[r];{const c=[];let h=1;const d=(_,v)=>{if(Object.keys(o).includes(_)){const T=new Bo;T.medalType=v,T.minRank=h,h+=Number(o[_]),T.maxRank=h-1,c.push(T)}};d("gold",Je.GOLD),d("silver",Je.SILVER),d("bronze",Je.BRONZE);{const _=new Bo;_.medalType=Je.HONORABLE,_.minRank=h,_.maxRank=1061109567,c.push(_)}f.awards.set(r,c)}}})();{const r=new Xo;r.name.fallbackLang="zh-CN",r.name.set("en","All"),r.name.set("zh-CN","所有队伍"),r.isDefault=!0,f.group.set("all",r)}for(const[r,o]of Object.entries(i?.group??{})){let c=r;const h=new Xo;h.name.fallbackLang="zh-CN",h.name.set("zh-CN",o),r==="official"&&h.name.set("en","Official"),r==="unofficial"&&h.name.set("en","Unofficial"),(r==="girl"||r==="girls")&&(h.name.set("en","Girls"),c="girl"),f.group.set(c,h)}return f.banner=i.banner,f.banner&&(f.bannerMode=i.banner_mode??"ALL"),f.logo=i.logo,f.boardLink=i.board_link,i.options&&(f.options=O_(i.options)),f}export{Bo as A,B_ as C,Je as M,tu as P,$_ as T,Qo as _,nr as a,Rp as b,F_ as c,W_ as i,D_ as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as B}from"./index-J5iT3g-n.js";class X{constructor(){this.texts=new Map}get(y){return this.texts.get(y)}getOrDefault(y){return(y?this.texts.get(y):void 0)||(this.fallbackLang?this.texts.get(this.fallbackLang):void 0)||this.fallback||""}set(y,m){this.texts.set(y,m)}has(y){return this.texts.has(y)}static fromI18NStringSet(y){const m=new X;if(m.fallback=y.fallback,m.fallbackLang=y.fallback_lang,y.texts)for(const[f,T]of Object.entries(y.texts))m.set(f,T);return m}static fromIText(y){if(typeof y=="string"){const m=new X;return m.fallback=y,m}return X.fromI18NStringSet(y)}toI18NStringSet(){const y={};if(this.fallback!==void 0&&(y.fallback=this.fallback),this.fallbackLang!==void 0&&(y.fallback_lang=this.fallbackLang),this.texts.size>0){y.texts={};for(const[m,f]of this.texts.entries())y.texts[m]=f}return y}}var K={exports:{}},pt=K.exports,ut;function gt(){return ut||(ut=1,(function(_,y){(function(m,f){_.exports=f()})(pt,(function(){var m=1e3,f=6e4,T=36e5,O="millisecond",x="second",a="minute",v="hour",l="day",H="week",Y="month",D="quarter",w="year",$="date",s="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(o){var n=["th","st","nd","rd"],e=o%100;return"["+o+(n[(e-20)%10]||n[e]||n[0])+"]"}},k=function(o,n,e){var u=String(o);return!u||u.length>=n?o:""+Array(n+1-u.length).join(e)+o},C={s:k,z:function(o){var n=-o.utcOffset(),e=Math.abs(n),u=Math.floor(e/60),r=e%60;return(n<=0?"+":"-")+k(u,2,"0")+":"+k(r,2,"0")},m:function o(n,e){if(n.date()<e.date())return-o(e,n);var u=12*(e.year()-n.year())+(e.month()-n.month()),r=n.clone().add(u,Y),p=e-r<0,g=n.clone().add(u+(p?-1:1),Y);return+(-(u+(e-r)/(p?r-g:g-r))||0)},a:function(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M:Y,y:w,w:H,d:l,D:$,h:v,m:a,s:x,ms:O,Q:D}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},b="en",h={};h[b]=A;var i="$isDayjsObject",t=function(o){return o instanceof L||!(!o||!o[i])},M=function o(n,e,u){var r;if(!n)return b;if(typeof n=="string"){var p=n.toLowerCase();h[p]&&(r=p),e&&(h[p]=e,r=p);var g=n.split("-");if(!r&&g.length>1)return o(g[0])}else{var W=n.name;h[W]=n,r=W}return!u&&r&&(b=r),r||!u&&b},d=function(o,n){if(t(o))return o.clone();var e=typeof n=="object"?n:{};return e.date=o,e.args=arguments,new L(e)},c=C;c.l=M,c.i=t,c.w=function(o,n){return d(o,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var L=(function(){function o(e){this.$L=M(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[i]=!0}var n=o.prototype;return n.parse=function(e){this.$d=(function(u){var r=u.date,p=u.utc;if(r===null)return new Date(NaN);if(c.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var g=r.match(S);if(g){var W=g[2]-1||0,I=(g[7]||"0").substring(0,3);return p?new Date(Date.UTC(g[1],W,g[3]||1,g[4]||0,g[5]||0,g[6]||0,I)):new Date(g[1],W,g[3]||1,g[4]||0,g[5]||0,g[6]||0,I)}}return new Date(r)})(e),this.init()},n.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},n.$utils=function(){return c},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(e,u){var r=d(e);return this.startOf(u)<=r&&r<=this.endOf(u)},n.isAfter=function(e,u){return d(e)<this.startOf(u)},n.isBefore=function(e,u){return this.endOf(u)<d(e)},n.$g=function(e,u,r){return c.u(e)?this[u]:this.set(r,e)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(e,u){var r=this,p=!!c.u(u)||u,g=c.p(e),W=function(G,j){var E=c.w(r.$u?Date.UTC(r.$y,j,G):new Date(r.$y,j,G),r);return p?E:E.endOf(l)},I=function(G,j){return c.w(r.toDate()[G].apply(r.toDate("s"),(p?[0,0,0,0]:[23,59,59,999]).slice(j)),r)},N=this.$W,U=this.$M,F=this.$D,P="set"+(this.$u?"UTC":"");switch(g){case w:return p?W(1,0):W(31,11);case Y:return p?W(1,U):W(0,U+1);case H:var R=this.$locale().weekStart||0,J=(N<R?N+7:N)-R;return W(p?F-J:F+(6-J),U);case l:case $:return I(P+"Hours",0);case v:return I(P+"Minutes",1);case a:return I(P+"Seconds",2);case x:return I(P+"Milliseconds",3);default:return this.clone()}},n.endOf=function(e){return this.startOf(e,!1)},n.$set=function(e,u){var r,p=c.p(e),g="set"+(this.$u?"UTC":""),W=(r={},r[l]=g+"Date",r[$]=g+"Date",r[Y]=g+"Month",r[w]=g+"FullYear",r[v]=g+"Hours",r[a]=g+"Minutes",r[x]=g+"Seconds",r[O]=g+"Milliseconds",r)[p],I=p===l?this.$D+(u-this.$W):u;if(p===Y||p===w){var N=this.clone().set($,1);N.$d[W](I),N.init(),this.$d=N.set($,Math.min(this.$D,N.daysInMonth())).$d}else W&&this.$d[W](I);return this.init(),this},n.set=function(e,u){return this.clone().$set(e,u)},n.get=function(e){return this[c.p(e)]()},n.add=function(e,u){var r,p=this;e=Number(e);var g=c.p(u),W=function(U){var F=d(p);return c.w(F.date(F.date()+Math.round(U*e)),p)};if(g===Y)return this.set(Y,this.$M+e);if(g===w)return this.set(w,this.$y+e);if(g===l)return W(1);if(g===H)return W(7);var I=(r={},r[a]=f,r[v]=T,r[x]=m,r)[g]||1,N=this.$d.getTime()+e*I;return c.w(N,this)},n.subtract=function(e,u){return this.add(-1*e,u)},n.format=function(e){var u=this,r=this.$locale();if(!this.isValid())return r.invalidDate||s;var p=e||"YYYY-MM-DDTHH:mm:ssZ",g=c.z(this),W=this.$H,I=this.$m,N=this.$M,U=r.weekdays,F=r.months,P=r.meridiem,R=function(j,E,V,Q){return j&&(j[E]||j(u,p))||V[E].slice(0,Q)},J=function(j){return c.s(W%12||12,j,"0")},G=P||function(j,E,V){var Q=j<12?"AM":"PM";return V?Q.toLowerCase():Q};return p.replace(z,(function(j,E){return E||(function(V){switch(V){case"YY":return String(u.$y).slice(-2);case"YYYY":return c.s(u.$y,4,"0");case"M":return N+1;case"MM":return c.s(N+1,2,"0");case"MMM":return R(r.monthsShort,N,F,3);case"MMMM":return R(F,N);case"D":return u.$D;case"DD":return c.s(u.$D,2,"0");case"d":return String(u.$W);case"dd":return R(r.weekdaysMin,u.$W,U,2);case"ddd":return R(r.weekdaysShort,u.$W,U,3);case"dddd":return U[u.$W];case"H":return String(W);case"HH":return c.s(W,2,"0");case"h":return J(1);case"hh":return J(2);case"a":return G(W,I,!0);case"A":return G(W,I,!1);case"m":return String(I);case"mm":return c.s(I,2,"0");case"s":return String(u.$s);case"ss":return c.s(u.$s,2,"0");case"SSS":return c.s(u.$ms,3,"0");case"Z":return g}return null})(j)||g.replace(":","")}))},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(e,u,r){var p,g=this,W=c.p(u),I=d(e),N=(I.utcOffset()-this.utcOffset())*f,U=this-I,F=function(){return c.m(g,I)};switch(W){case w:p=F()/12;break;case Y:p=F();break;case D:p=F()/3;break;case H:p=(U-N)/6048e5;break;case l:p=(U-N)/864e5;break;case v:p=U/T;break;case a:p=U/f;break;case x:p=U/m;break;default:p=U}return r?p:c.a(p)},n.daysInMonth=function(){return this.endOf(Y).$D},n.$locale=function(){return h[this.$L]},n.locale=function(e,u){if(!e)return this.$L;var r=this.clone(),p=M(e,u,!0);return p&&(r.$L=p),r},n.clone=function(){return c.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},o})(),q=L.prototype;return d.prototype=q,[["$ms",O],["$s",x],["$m",a],["$H",v],["$W",l],["$M",Y],["$y",w],["$D",$]].forEach((function(o){q[o[1]]=function(n){return this.$g(n,o[0],o[1])}})),d.extend=function(o,n){return o.$i||(o(n,L,d),o.$i=!0),d},d.locale=M,d.isDayjs=t,d.unix=function(o){return d(1e3*o)},d.en=h[b],d.Ls=h,d.p={},d}))})(K)),K.exports}var Mt=gt();const Z=B(Mt);var tt={exports:{}},xt=tt.exports,ft;function yt(){return ft||(ft=1,(function(_,y){(function(m,f){_.exports=f()})(xt,(function(){return function(m,f){var T=f.prototype,O=T.format;T.format=function(x){var a=this,v=this.$locale();if(!this.isValid())return O.bind(this)(x);var l=this.$utils(),H=(x||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(Y){switch(Y){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return v.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return v.ordinal(a.week(),"W");case"w":case"ww":return l.s(a.week(),Y==="w"?1:2,"0");case"W":case"WW":return l.s(a.isoWeek(),Y==="W"?1:2,"0");case"k":case"kk":return l.s(String(a.$H===0?24:a.$H),Y==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return Y}}));return O.bind(this)(H)}}}))})(tt)),tt.exports}var St=yt();const Dt=B(St);var et={exports:{}},Ot=et.exports,ct;function wt(){return ct||(ct=1,(function(_,y){(function(m,f){_.exports=f()})(Ot,(function(){var m,f,T=1e3,O=6e4,x=36e5,a=864e5,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=31536e6,H=2628e6,Y=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,D={years:l,months:H,days:a,hours:x,minutes:O,seconds:T,milliseconds:1,weeks:6048e5},w=function(h){return h instanceof C},$=function(h,i,t){return new C(h,t,i.$l)},s=function(h){return f.p(h)+"s"},S=function(h){return h<0},z=function(h){return S(h)?Math.ceil(h):Math.floor(h)},A=function(h){return Math.abs(h)},k=function(h,i){return h?S(h)?{negative:!0,format:""+A(h)+i}:{negative:!1,format:""+h+i}:{negative:!1,format:""}},C=(function(){function h(t,M,d){var c=this;if(this.$d={},this.$l=d,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),M)return $(t*D[s(M)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach((function(o){c.$d[s(o)]=t[o]})),this.calMilliseconds(),this;if(typeof t=="string"){var L=t.match(Y);if(L){var q=L.slice(2).map((function(o){return o!=null?Number(o):0}));return this.$d.years=q[0],this.$d.months=q[1],this.$d.weeks=q[2],this.$d.days=q[3],this.$d.hours=q[4],this.$d.minutes=q[5],this.$d.seconds=q[6],this.calMilliseconds(),this}}return this}var i=h.prototype;return i.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(M,d){return M+(t.$d[d]||0)*D[d]}),0)},i.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=z(t/l),t%=l,this.$d.months=z(t/H),t%=H,this.$d.days=z(t/a),t%=a,this.$d.hours=z(t/x),t%=x,this.$d.minutes=z(t/O),t%=O,this.$d.seconds=z(t/T),t%=T,this.$d.milliseconds=t},i.toISOString=function(){var t=k(this.$d.years,"Y"),M=k(this.$d.months,"M"),d=+this.$d.days||0;this.$d.weeks&&(d+=7*this.$d.weeks);var c=k(d,"D"),L=k(this.$d.hours,"H"),q=k(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var n=k(o,"S"),e=t.negative||M.negative||c.negative||L.negative||q.negative||n.negative,u=L.format||q.format||n.format?"T":"",r=(e?"-":"")+"P"+t.format+M.format+c.format+u+L.format+q.format+n.format;return r==="P"||r==="-P"?"P0D":r},i.toJSON=function(){return this.toISOString()},i.format=function(t){var M=t||"YYYY-MM-DDTHH:mm:ss",d={Y:this.$d.years,YY:f.s(this.$d.years,2,"0"),YYYY:f.s(this.$d.years,4,"0"),M:this.$d.months,MM:f.s(this.$d.months,2,"0"),D:this.$d.days,DD:f.s(this.$d.days,2,"0"),H:this.$d.hours,HH:f.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:f.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:f.s(this.$d.seconds,2,"0"),SSS:f.s(this.$d.milliseconds,3,"0")};return M.replace(v,(function(c,L){return L||String(d[c])}))},i.as=function(t){return this.$ms/D[s(t)]},i.get=function(t){var M=this.$ms,d=s(t);return d==="milliseconds"?M%=1e3:M=d==="weeks"?z(M/D[d]):this.$d[d],M||0},i.add=function(t,M,d){var c;return c=M?t*D[s(M)]:w(t)?t.$ms:$(t,this).$ms,$(this.$ms+c*(d?-1:1),this)},i.subtract=function(t,M){return this.add(t,M,!0)},i.locale=function(t){var M=this.clone();return M.$l=t,M},i.clone=function(){return $(this.$ms,this)},i.humanize=function(t){return m().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},i.valueOf=function(){return this.asMilliseconds()},i.milliseconds=function(){return this.get("milliseconds")},i.asMilliseconds=function(){return this.as("milliseconds")},i.seconds=function(){return this.get("seconds")},i.asSeconds=function(){return this.as("seconds")},i.minutes=function(){return this.get("minutes")},i.asMinutes=function(){return this.as("minutes")},i.hours=function(){return this.get("hours")},i.asHours=function(){return this.as("hours")},i.days=function(){return this.get("days")},i.asDays=function(){return this.as("days")},i.weeks=function(){return this.get("weeks")},i.asWeeks=function(){return this.as("weeks")},i.months=function(){return this.get("months")},i.asMonths=function(){return this.as("months")},i.years=function(){return this.get("years")},i.asYears=function(){return this.as("years")},h})(),b=function(h,i,t){return h.add(i.years()*t,"y").add(i.months()*t,"M").add(i.days()*t,"d").add(i.hours()*t,"h").add(i.minutes()*t,"m").add(i.seconds()*t,"s").add(i.milliseconds()*t,"ms")};return function(h,i,t){m=t,f=t().$utils(),t.duration=function(c,L){var q=t.locale();return $(c,{$l:q},L)},t.isDuration=w;var M=i.prototype.add,d=i.prototype.subtract;i.prototype.add=function(c,L){return w(c)?b(this,c,1):M.bind(this)(c,L)},i.prototype.subtract=function(c,L){return w(c)?b(this,c,-1):d.bind(this)(c,L)}}}))})(et)),et.exports}var bt=wt();const kt=B(bt);var rt={exports:{}},Tt=rt.exports,ht;function Yt(){return ht||(ht=1,(function(_,y){(function(m,f){_.exports=f()})(Tt,(function(){return function(m,f){f.prototype.isSameOrAfter=function(T,O){return this.isSame(T,O)||this.isAfter(T,O)}}}))})(rt)),rt.exports}var zt=Yt();const Ht=B(zt);var nt={exports:{}},_t=nt.exports,dt;function Wt(){return dt||(dt=1,(function(_,y){(function(m,f){_.exports=f()})(_t,(function(){return function(m,f){f.prototype.isSameOrBefore=function(T,O){return this.isSame(T,O)||this.isBefore(T,O)}}}))})(nt)),nt.exports}var At=Wt();const Ct=B(At);var st={exports:{}},It=st.exports,lt;function Lt(){return lt||(lt=1,(function(_,y){(function(m,f){_.exports=f()})(It,(function(){return function(m,f,T){var O=function(x,a){if(!a||!a.length||a.length===1&&!a[0]||a.length===1&&Array.isArray(a[0])&&!a[0].length)return null;var v;a.length===1&&a[0].length>0&&(a=a[0]),v=(a=a.filter((function(H){return H})))[0];for(var l=1;l<a.length;l+=1)a[l].isValid()&&!a[l][x](v)||(v=a[l]);return v};T.max=function(){var x=[].slice.call(arguments,0);return O("isAfter",x)},T.min=function(){var x=[].slice.call(arguments,0);return O("isBefore",x)}}}))})(st)),st.exports}var Nt=Lt();const qt=B(Nt);var it={exports:{}},Ut=it.exports,mt;function jt(){return mt||(mt=1,(function(_,y){(function(m,f){_.exports=f()})(Ut,(function(){return function(m,f,T){m=m||{};var O=f.prototype,x={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(l,H,Y,D){return O.fromToBase(l,H,Y,D)}T.en.relativeTime=x,O.fromToBase=function(l,H,Y,D,w){for(var $,s,S,z=Y.$locale().relativeTime||x,A=m.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=A.length,C=0;C<k;C+=1){var b=A[C];b.d&&($=D?T(l).diff(Y,b.d,!0):Y.diff(l,b.d,!0));var h=(m.rounding||Math.round)(Math.abs($));if(S=$>0,h<=b.r||!b.r){h<=1&&C>0&&(b=A[C-1]);var i=z[b.l];w&&(h=w(""+h)),s=typeof i=="string"?i.replace("%d",h):i(h,H,b.l,S);break}}if(H)return s;var t=S?z.future:z.past;return typeof t=="function"?t(s):t.replace("%s",s)},O.to=function(l,H){return a(l,H,this,!0)},O.from=function(l,H){return a(l,H,this)};var v=function(l){return l.$u?T.utc():T()};O.toNow=function(l){return this.to(v(this),l)},O.fromNow=function(l){return this.from(v(this),l)}}}))})(it)),it.exports}var Ft=jt();const Zt=B(Ft);var at={exports:{}},Bt=at.exports,$t;function Et(){return $t||($t=1,(function(_,y){(function(m,f){_.exports=f()})(Bt,(function(){var m={year:0,month:1,day:2,hour:3,minute:4,second:5},f={};return function(T,O,x){var a,v=function(D,w,$){$===void 0&&($={});var s=new Date(D),S=(function(z,A){A===void 0&&(A={});var k=A.timeZoneName||"short",C=z+"|"+k,b=f[C];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:z,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),f[C]=b),b})(w,$);return S.formatToParts(s)},l=function(D,w){for(var $=v(D,w),s=[],S=0;S<$.length;S+=1){var z=$[S],A=z.type,k=z.value,C=m[A];C>=0&&(s[C]=parseInt(k,10))}var b=s[3],h=b===24?0:b,i=s[0]+"-"+s[1]+"-"+s[2]+" "+h+":"+s[4]+":"+s[5]+":000",t=+D;return(x.utc(i).valueOf()-(t-=t%1e3))/6e4},H=O.prototype;H.tz=function(D,w){D===void 0&&(D=a);var $,s=this.utcOffset(),S=this.toDate(),z=S.toLocaleString("en-US",{timeZone:D}),A=Math.round((S-new Date(z))/1e3/60),k=15*-Math.round(S.getTimezoneOffset()/15)-A;if(!Number(k))$=this.utcOffset(0,w);else if($=x(z,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),w){var C=$.utcOffset();$=$.add(s-C,"minute")}return $.$x.$timezone=D,$},H.offsetName=function(D){var w=this.$x.$timezone||x.tz.guess(),$=v(this.valueOf(),w,{timeZoneName:D}).find((function(s){return s.type.toLowerCase()==="timezonename"}));return $&&$.value};var Y=H.startOf;H.startOf=function(D,w){if(!this.$x||!this.$x.$timezone)return Y.call(this,D,w);var $=x(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return Y.call($,D,w).tz(this.$x.$timezone,!0)},x.tz=function(D,w,$){var s=$&&w,S=$||w||a,z=l(+x(),S);if(typeof D!="string")return x(D).tz(S);var A=(function(h,i,t){var M=h-60*i*1e3,d=l(M,t);if(i===d)return[M,i];var c=l(M-=60*(d-i)*1e3,t);return d===c?[M,d]:[h-60*Math.min(d,c)*1e3,Math.max(d,c)]})(x.utc(D,s).valueOf(),z,S),k=A[0],C=A[1],b=x(k).utcOffset(C);return b.$x.$timezone=S,b},x.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},x.tz.setDefault=function(D){a=D}}}))})(at)),at.exports}var Rt=Et();const Gt=B(Rt);var ot={exports:{}},Pt=ot.exports,vt;function Jt(){return vt||(vt=1,(function(_,y){(function(m,f){_.exports=f()})(Pt,(function(){var m="minute",f=/[+-]\d\d(?::?\d\d)?/g,T=/([+-]|\d\d)/g;return function(O,x,a){var v=x.prototype;a.utc=function(s){var S={date:s,utc:!0,args:arguments};return new x(S)},v.utc=function(s){var S=a(this.toDate(),{locale:this.$L,utc:!0});return s?S.add(this.utcOffset(),m):S},v.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=v.parse;v.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),l.call(this,s)};var H=v.init;v.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else H.call(this)};var Y=v.utcOffset;v.utcOffset=function(s,S){var z=this.$utils().u;if(z(s))return this.$u?0:z(this.$offset)?Y.call(this):this.$offset;if(typeof s=="string"&&(s=(function(b){b===void 0&&(b="");var h=b.match(f);if(!h)return null;var i=(""+h[0]).match(T)||["-",0,0],t=i[0],M=60*+i[1]+ +i[2];return M===0?0:t==="+"?M:-M})(s),s===null))return this;var A=Math.abs(s)<=16?60*s:s;if(A===0)return this.utc(S);var k=this.clone();if(S)return k.$offset=A,k.$u=!1,k;var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(k=this.local().add(A+C,m)).$offset=A,k.$x.$localOffset=C,k};var D=v.format;v.format=function(s){var S=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return D.call(this,S)},v.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},v.isUTC=function(){return!!this.$u},v.toISOString=function(){return this.toDate().toISOString()},v.toString=function(){return this.toDate().toUTCString()};var w=v.toDate;v.toDate=function(s){return s==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():w.call(this)};var $=v.diff;v.diff=function(s,S,z){if(s&&this.$u===s.$u)return $.call(this,s,S,z);var A=this.local(),k=a(s).local();return $.call(A,k,S,z)}}}))})(ot)),ot.exports}var Vt=Jt();const Qt=B(Vt);Z.extend(kt);Z.extend(Qt);Z.extend(Gt);Z.extend(Dt);Z.extend(Ct);Z.extend(Ht);Z.extend(qt);Z.extend(Zt);function Kt(_=void 0){return _===void 0?Z():typeof _=="number"&&String(_).length===10?Z.unix(_):Z(_)}function te(_){const y=O=>O<10?`0${O}`:String(O),m=Math.floor(_/3600),f=Math.floor(_%3600/60),T=_%60;return[y(m),y(f),y(T)].join(":")}export{X as I,Kt as c,Z as d,te as g};
|
|
1
|
+
import{M as B}from"./index-9_oqoLcR.js";class X{constructor(){this.texts=new Map}get(y){return this.texts.get(y)}getOrDefault(y){return(y?this.texts.get(y):void 0)||(this.fallbackLang?this.texts.get(this.fallbackLang):void 0)||this.fallback||""}set(y,m){this.texts.set(y,m)}has(y){return this.texts.has(y)}static fromI18NStringSet(y){const m=new X;if(m.fallback=y.fallback,m.fallbackLang=y.fallback_lang,y.texts)for(const[f,T]of Object.entries(y.texts))m.set(f,T);return m}static fromIText(y){if(typeof y=="string"){const m=new X;return m.fallback=y,m}return X.fromI18NStringSet(y)}toI18NStringSet(){const y={};if(this.fallback!==void 0&&(y.fallback=this.fallback),this.fallbackLang!==void 0&&(y.fallback_lang=this.fallbackLang),this.texts.size>0){y.texts={};for(const[m,f]of this.texts.entries())y.texts[m]=f}return y}}var K={exports:{}},pt=K.exports,ut;function gt(){return ut||(ut=1,(function(_,y){(function(m,f){_.exports=f()})(pt,(function(){var m=1e3,f=6e4,T=36e5,O="millisecond",x="second",a="minute",v="hour",l="day",H="week",Y="month",D="quarter",w="year",$="date",s="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(o){var n=["th","st","nd","rd"],e=o%100;return"["+o+(n[(e-20)%10]||n[e]||n[0])+"]"}},k=function(o,n,e){var u=String(o);return!u||u.length>=n?o:""+Array(n+1-u.length).join(e)+o},C={s:k,z:function(o){var n=-o.utcOffset(),e=Math.abs(n),u=Math.floor(e/60),r=e%60;return(n<=0?"+":"-")+k(u,2,"0")+":"+k(r,2,"0")},m:function o(n,e){if(n.date()<e.date())return-o(e,n);var u=12*(e.year()-n.year())+(e.month()-n.month()),r=n.clone().add(u,Y),p=e-r<0,g=n.clone().add(u+(p?-1:1),Y);return+(-(u+(e-r)/(p?r-g:g-r))||0)},a:function(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M:Y,y:w,w:H,d:l,D:$,h:v,m:a,s:x,ms:O,Q:D}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},b="en",h={};h[b]=A;var i="$isDayjsObject",t=function(o){return o instanceof L||!(!o||!o[i])},M=function o(n,e,u){var r;if(!n)return b;if(typeof n=="string"){var p=n.toLowerCase();h[p]&&(r=p),e&&(h[p]=e,r=p);var g=n.split("-");if(!r&&g.length>1)return o(g[0])}else{var W=n.name;h[W]=n,r=W}return!u&&r&&(b=r),r||!u&&b},d=function(o,n){if(t(o))return o.clone();var e=typeof n=="object"?n:{};return e.date=o,e.args=arguments,new L(e)},c=C;c.l=M,c.i=t,c.w=function(o,n){return d(o,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var L=(function(){function o(e){this.$L=M(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[i]=!0}var n=o.prototype;return n.parse=function(e){this.$d=(function(u){var r=u.date,p=u.utc;if(r===null)return new Date(NaN);if(c.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var g=r.match(S);if(g){var W=g[2]-1||0,I=(g[7]||"0").substring(0,3);return p?new Date(Date.UTC(g[1],W,g[3]||1,g[4]||0,g[5]||0,g[6]||0,I)):new Date(g[1],W,g[3]||1,g[4]||0,g[5]||0,g[6]||0,I)}}return new Date(r)})(e),this.init()},n.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},n.$utils=function(){return c},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(e,u){var r=d(e);return this.startOf(u)<=r&&r<=this.endOf(u)},n.isAfter=function(e,u){return d(e)<this.startOf(u)},n.isBefore=function(e,u){return this.endOf(u)<d(e)},n.$g=function(e,u,r){return c.u(e)?this[u]:this.set(r,e)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(e,u){var r=this,p=!!c.u(u)||u,g=c.p(e),W=function(G,j){var E=c.w(r.$u?Date.UTC(r.$y,j,G):new Date(r.$y,j,G),r);return p?E:E.endOf(l)},I=function(G,j){return c.w(r.toDate()[G].apply(r.toDate("s"),(p?[0,0,0,0]:[23,59,59,999]).slice(j)),r)},N=this.$W,U=this.$M,F=this.$D,P="set"+(this.$u?"UTC":"");switch(g){case w:return p?W(1,0):W(31,11);case Y:return p?W(1,U):W(0,U+1);case H:var R=this.$locale().weekStart||0,J=(N<R?N+7:N)-R;return W(p?F-J:F+(6-J),U);case l:case $:return I(P+"Hours",0);case v:return I(P+"Minutes",1);case a:return I(P+"Seconds",2);case x:return I(P+"Milliseconds",3);default:return this.clone()}},n.endOf=function(e){return this.startOf(e,!1)},n.$set=function(e,u){var r,p=c.p(e),g="set"+(this.$u?"UTC":""),W=(r={},r[l]=g+"Date",r[$]=g+"Date",r[Y]=g+"Month",r[w]=g+"FullYear",r[v]=g+"Hours",r[a]=g+"Minutes",r[x]=g+"Seconds",r[O]=g+"Milliseconds",r)[p],I=p===l?this.$D+(u-this.$W):u;if(p===Y||p===w){var N=this.clone().set($,1);N.$d[W](I),N.init(),this.$d=N.set($,Math.min(this.$D,N.daysInMonth())).$d}else W&&this.$d[W](I);return this.init(),this},n.set=function(e,u){return this.clone().$set(e,u)},n.get=function(e){return this[c.p(e)]()},n.add=function(e,u){var r,p=this;e=Number(e);var g=c.p(u),W=function(U){var F=d(p);return c.w(F.date(F.date()+Math.round(U*e)),p)};if(g===Y)return this.set(Y,this.$M+e);if(g===w)return this.set(w,this.$y+e);if(g===l)return W(1);if(g===H)return W(7);var I=(r={},r[a]=f,r[v]=T,r[x]=m,r)[g]||1,N=this.$d.getTime()+e*I;return c.w(N,this)},n.subtract=function(e,u){return this.add(-1*e,u)},n.format=function(e){var u=this,r=this.$locale();if(!this.isValid())return r.invalidDate||s;var p=e||"YYYY-MM-DDTHH:mm:ssZ",g=c.z(this),W=this.$H,I=this.$m,N=this.$M,U=r.weekdays,F=r.months,P=r.meridiem,R=function(j,E,V,Q){return j&&(j[E]||j(u,p))||V[E].slice(0,Q)},J=function(j){return c.s(W%12||12,j,"0")},G=P||function(j,E,V){var Q=j<12?"AM":"PM";return V?Q.toLowerCase():Q};return p.replace(z,(function(j,E){return E||(function(V){switch(V){case"YY":return String(u.$y).slice(-2);case"YYYY":return c.s(u.$y,4,"0");case"M":return N+1;case"MM":return c.s(N+1,2,"0");case"MMM":return R(r.monthsShort,N,F,3);case"MMMM":return R(F,N);case"D":return u.$D;case"DD":return c.s(u.$D,2,"0");case"d":return String(u.$W);case"dd":return R(r.weekdaysMin,u.$W,U,2);case"ddd":return R(r.weekdaysShort,u.$W,U,3);case"dddd":return U[u.$W];case"H":return String(W);case"HH":return c.s(W,2,"0");case"h":return J(1);case"hh":return J(2);case"a":return G(W,I,!0);case"A":return G(W,I,!1);case"m":return String(I);case"mm":return c.s(I,2,"0");case"s":return String(u.$s);case"ss":return c.s(u.$s,2,"0");case"SSS":return c.s(u.$ms,3,"0");case"Z":return g}return null})(j)||g.replace(":","")}))},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(e,u,r){var p,g=this,W=c.p(u),I=d(e),N=(I.utcOffset()-this.utcOffset())*f,U=this-I,F=function(){return c.m(g,I)};switch(W){case w:p=F()/12;break;case Y:p=F();break;case D:p=F()/3;break;case H:p=(U-N)/6048e5;break;case l:p=(U-N)/864e5;break;case v:p=U/T;break;case a:p=U/f;break;case x:p=U/m;break;default:p=U}return r?p:c.a(p)},n.daysInMonth=function(){return this.endOf(Y).$D},n.$locale=function(){return h[this.$L]},n.locale=function(e,u){if(!e)return this.$L;var r=this.clone(),p=M(e,u,!0);return p&&(r.$L=p),r},n.clone=function(){return c.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},o})(),q=L.prototype;return d.prototype=q,[["$ms",O],["$s",x],["$m",a],["$H",v],["$W",l],["$M",Y],["$y",w],["$D",$]].forEach((function(o){q[o[1]]=function(n){return this.$g(n,o[0],o[1])}})),d.extend=function(o,n){return o.$i||(o(n,L,d),o.$i=!0),d},d.locale=M,d.isDayjs=t,d.unix=function(o){return d(1e3*o)},d.en=h[b],d.Ls=h,d.p={},d}))})(K)),K.exports}var Mt=gt();const Z=B(Mt);var tt={exports:{}},xt=tt.exports,ft;function yt(){return ft||(ft=1,(function(_,y){(function(m,f){_.exports=f()})(xt,(function(){return function(m,f){var T=f.prototype,O=T.format;T.format=function(x){var a=this,v=this.$locale();if(!this.isValid())return O.bind(this)(x);var l=this.$utils(),H=(x||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(Y){switch(Y){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return v.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return v.ordinal(a.week(),"W");case"w":case"ww":return l.s(a.week(),Y==="w"?1:2,"0");case"W":case"WW":return l.s(a.isoWeek(),Y==="W"?1:2,"0");case"k":case"kk":return l.s(String(a.$H===0?24:a.$H),Y==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return Y}}));return O.bind(this)(H)}}}))})(tt)),tt.exports}var St=yt();const Dt=B(St);var et={exports:{}},Ot=et.exports,ct;function wt(){return ct||(ct=1,(function(_,y){(function(m,f){_.exports=f()})(Ot,(function(){var m,f,T=1e3,O=6e4,x=36e5,a=864e5,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=31536e6,H=2628e6,Y=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,D={years:l,months:H,days:a,hours:x,minutes:O,seconds:T,milliseconds:1,weeks:6048e5},w=function(h){return h instanceof C},$=function(h,i,t){return new C(h,t,i.$l)},s=function(h){return f.p(h)+"s"},S=function(h){return h<0},z=function(h){return S(h)?Math.ceil(h):Math.floor(h)},A=function(h){return Math.abs(h)},k=function(h,i){return h?S(h)?{negative:!0,format:""+A(h)+i}:{negative:!1,format:""+h+i}:{negative:!1,format:""}},C=(function(){function h(t,M,d){var c=this;if(this.$d={},this.$l=d,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),M)return $(t*D[s(M)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach((function(o){c.$d[s(o)]=t[o]})),this.calMilliseconds(),this;if(typeof t=="string"){var L=t.match(Y);if(L){var q=L.slice(2).map((function(o){return o!=null?Number(o):0}));return this.$d.years=q[0],this.$d.months=q[1],this.$d.weeks=q[2],this.$d.days=q[3],this.$d.hours=q[4],this.$d.minutes=q[5],this.$d.seconds=q[6],this.calMilliseconds(),this}}return this}var i=h.prototype;return i.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(M,d){return M+(t.$d[d]||0)*D[d]}),0)},i.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=z(t/l),t%=l,this.$d.months=z(t/H),t%=H,this.$d.days=z(t/a),t%=a,this.$d.hours=z(t/x),t%=x,this.$d.minutes=z(t/O),t%=O,this.$d.seconds=z(t/T),t%=T,this.$d.milliseconds=t},i.toISOString=function(){var t=k(this.$d.years,"Y"),M=k(this.$d.months,"M"),d=+this.$d.days||0;this.$d.weeks&&(d+=7*this.$d.weeks);var c=k(d,"D"),L=k(this.$d.hours,"H"),q=k(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var n=k(o,"S"),e=t.negative||M.negative||c.negative||L.negative||q.negative||n.negative,u=L.format||q.format||n.format?"T":"",r=(e?"-":"")+"P"+t.format+M.format+c.format+u+L.format+q.format+n.format;return r==="P"||r==="-P"?"P0D":r},i.toJSON=function(){return this.toISOString()},i.format=function(t){var M=t||"YYYY-MM-DDTHH:mm:ss",d={Y:this.$d.years,YY:f.s(this.$d.years,2,"0"),YYYY:f.s(this.$d.years,4,"0"),M:this.$d.months,MM:f.s(this.$d.months,2,"0"),D:this.$d.days,DD:f.s(this.$d.days,2,"0"),H:this.$d.hours,HH:f.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:f.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:f.s(this.$d.seconds,2,"0"),SSS:f.s(this.$d.milliseconds,3,"0")};return M.replace(v,(function(c,L){return L||String(d[c])}))},i.as=function(t){return this.$ms/D[s(t)]},i.get=function(t){var M=this.$ms,d=s(t);return d==="milliseconds"?M%=1e3:M=d==="weeks"?z(M/D[d]):this.$d[d],M||0},i.add=function(t,M,d){var c;return c=M?t*D[s(M)]:w(t)?t.$ms:$(t,this).$ms,$(this.$ms+c*(d?-1:1),this)},i.subtract=function(t,M){return this.add(t,M,!0)},i.locale=function(t){var M=this.clone();return M.$l=t,M},i.clone=function(){return $(this.$ms,this)},i.humanize=function(t){return m().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},i.valueOf=function(){return this.asMilliseconds()},i.milliseconds=function(){return this.get("milliseconds")},i.asMilliseconds=function(){return this.as("milliseconds")},i.seconds=function(){return this.get("seconds")},i.asSeconds=function(){return this.as("seconds")},i.minutes=function(){return this.get("minutes")},i.asMinutes=function(){return this.as("minutes")},i.hours=function(){return this.get("hours")},i.asHours=function(){return this.as("hours")},i.days=function(){return this.get("days")},i.asDays=function(){return this.as("days")},i.weeks=function(){return this.get("weeks")},i.asWeeks=function(){return this.as("weeks")},i.months=function(){return this.get("months")},i.asMonths=function(){return this.as("months")},i.years=function(){return this.get("years")},i.asYears=function(){return this.as("years")},h})(),b=function(h,i,t){return h.add(i.years()*t,"y").add(i.months()*t,"M").add(i.days()*t,"d").add(i.hours()*t,"h").add(i.minutes()*t,"m").add(i.seconds()*t,"s").add(i.milliseconds()*t,"ms")};return function(h,i,t){m=t,f=t().$utils(),t.duration=function(c,L){var q=t.locale();return $(c,{$l:q},L)},t.isDuration=w;var M=i.prototype.add,d=i.prototype.subtract;i.prototype.add=function(c,L){return w(c)?b(this,c,1):M.bind(this)(c,L)},i.prototype.subtract=function(c,L){return w(c)?b(this,c,-1):d.bind(this)(c,L)}}}))})(et)),et.exports}var bt=wt();const kt=B(bt);var rt={exports:{}},Tt=rt.exports,ht;function Yt(){return ht||(ht=1,(function(_,y){(function(m,f){_.exports=f()})(Tt,(function(){return function(m,f){f.prototype.isSameOrAfter=function(T,O){return this.isSame(T,O)||this.isAfter(T,O)}}}))})(rt)),rt.exports}var zt=Yt();const Ht=B(zt);var nt={exports:{}},_t=nt.exports,dt;function Wt(){return dt||(dt=1,(function(_,y){(function(m,f){_.exports=f()})(_t,(function(){return function(m,f){f.prototype.isSameOrBefore=function(T,O){return this.isSame(T,O)||this.isBefore(T,O)}}}))})(nt)),nt.exports}var At=Wt();const Ct=B(At);var st={exports:{}},It=st.exports,lt;function Lt(){return lt||(lt=1,(function(_,y){(function(m,f){_.exports=f()})(It,(function(){return function(m,f,T){var O=function(x,a){if(!a||!a.length||a.length===1&&!a[0]||a.length===1&&Array.isArray(a[0])&&!a[0].length)return null;var v;a.length===1&&a[0].length>0&&(a=a[0]),v=(a=a.filter((function(H){return H})))[0];for(var l=1;l<a.length;l+=1)a[l].isValid()&&!a[l][x](v)||(v=a[l]);return v};T.max=function(){var x=[].slice.call(arguments,0);return O("isAfter",x)},T.min=function(){var x=[].slice.call(arguments,0);return O("isBefore",x)}}}))})(st)),st.exports}var Nt=Lt();const qt=B(Nt);var it={exports:{}},Ut=it.exports,mt;function jt(){return mt||(mt=1,(function(_,y){(function(m,f){_.exports=f()})(Ut,(function(){return function(m,f,T){m=m||{};var O=f.prototype,x={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(l,H,Y,D){return O.fromToBase(l,H,Y,D)}T.en.relativeTime=x,O.fromToBase=function(l,H,Y,D,w){for(var $,s,S,z=Y.$locale().relativeTime||x,A=m.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=A.length,C=0;C<k;C+=1){var b=A[C];b.d&&($=D?T(l).diff(Y,b.d,!0):Y.diff(l,b.d,!0));var h=(m.rounding||Math.round)(Math.abs($));if(S=$>0,h<=b.r||!b.r){h<=1&&C>0&&(b=A[C-1]);var i=z[b.l];w&&(h=w(""+h)),s=typeof i=="string"?i.replace("%d",h):i(h,H,b.l,S);break}}if(H)return s;var t=S?z.future:z.past;return typeof t=="function"?t(s):t.replace("%s",s)},O.to=function(l,H){return a(l,H,this,!0)},O.from=function(l,H){return a(l,H,this)};var v=function(l){return l.$u?T.utc():T()};O.toNow=function(l){return this.to(v(this),l)},O.fromNow=function(l){return this.from(v(this),l)}}}))})(it)),it.exports}var Ft=jt();const Zt=B(Ft);var at={exports:{}},Bt=at.exports,$t;function Et(){return $t||($t=1,(function(_,y){(function(m,f){_.exports=f()})(Bt,(function(){var m={year:0,month:1,day:2,hour:3,minute:4,second:5},f={};return function(T,O,x){var a,v=function(D,w,$){$===void 0&&($={});var s=new Date(D),S=(function(z,A){A===void 0&&(A={});var k=A.timeZoneName||"short",C=z+"|"+k,b=f[C];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:z,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),f[C]=b),b})(w,$);return S.formatToParts(s)},l=function(D,w){for(var $=v(D,w),s=[],S=0;S<$.length;S+=1){var z=$[S],A=z.type,k=z.value,C=m[A];C>=0&&(s[C]=parseInt(k,10))}var b=s[3],h=b===24?0:b,i=s[0]+"-"+s[1]+"-"+s[2]+" "+h+":"+s[4]+":"+s[5]+":000",t=+D;return(x.utc(i).valueOf()-(t-=t%1e3))/6e4},H=O.prototype;H.tz=function(D,w){D===void 0&&(D=a);var $,s=this.utcOffset(),S=this.toDate(),z=S.toLocaleString("en-US",{timeZone:D}),A=Math.round((S-new Date(z))/1e3/60),k=15*-Math.round(S.getTimezoneOffset()/15)-A;if(!Number(k))$=this.utcOffset(0,w);else if($=x(z,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),w){var C=$.utcOffset();$=$.add(s-C,"minute")}return $.$x.$timezone=D,$},H.offsetName=function(D){var w=this.$x.$timezone||x.tz.guess(),$=v(this.valueOf(),w,{timeZoneName:D}).find((function(s){return s.type.toLowerCase()==="timezonename"}));return $&&$.value};var Y=H.startOf;H.startOf=function(D,w){if(!this.$x||!this.$x.$timezone)return Y.call(this,D,w);var $=x(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return Y.call($,D,w).tz(this.$x.$timezone,!0)},x.tz=function(D,w,$){var s=$&&w,S=$||w||a,z=l(+x(),S);if(typeof D!="string")return x(D).tz(S);var A=(function(h,i,t){var M=h-60*i*1e3,d=l(M,t);if(i===d)return[M,i];var c=l(M-=60*(d-i)*1e3,t);return d===c?[M,d]:[h-60*Math.min(d,c)*1e3,Math.max(d,c)]})(x.utc(D,s).valueOf(),z,S),k=A[0],C=A[1],b=x(k).utcOffset(C);return b.$x.$timezone=S,b},x.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},x.tz.setDefault=function(D){a=D}}}))})(at)),at.exports}var Rt=Et();const Gt=B(Rt);var ot={exports:{}},Pt=ot.exports,vt;function Jt(){return vt||(vt=1,(function(_,y){(function(m,f){_.exports=f()})(Pt,(function(){var m="minute",f=/[+-]\d\d(?::?\d\d)?/g,T=/([+-]|\d\d)/g;return function(O,x,a){var v=x.prototype;a.utc=function(s){var S={date:s,utc:!0,args:arguments};return new x(S)},v.utc=function(s){var S=a(this.toDate(),{locale:this.$L,utc:!0});return s?S.add(this.utcOffset(),m):S},v.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=v.parse;v.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),l.call(this,s)};var H=v.init;v.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else H.call(this)};var Y=v.utcOffset;v.utcOffset=function(s,S){var z=this.$utils().u;if(z(s))return this.$u?0:z(this.$offset)?Y.call(this):this.$offset;if(typeof s=="string"&&(s=(function(b){b===void 0&&(b="");var h=b.match(f);if(!h)return null;var i=(""+h[0]).match(T)||["-",0,0],t=i[0],M=60*+i[1]+ +i[2];return M===0?0:t==="+"?M:-M})(s),s===null))return this;var A=Math.abs(s)<=16?60*s:s;if(A===0)return this.utc(S);var k=this.clone();if(S)return k.$offset=A,k.$u=!1,k;var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(k=this.local().add(A+C,m)).$offset=A,k.$x.$localOffset=C,k};var D=v.format;v.format=function(s){var S=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return D.call(this,S)},v.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},v.isUTC=function(){return!!this.$u},v.toISOString=function(){return this.toDate().toISOString()},v.toString=function(){return this.toDate().toUTCString()};var w=v.toDate;v.toDate=function(s){return s==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():w.call(this)};var $=v.diff;v.diff=function(s,S,z){if(s&&this.$u===s.$u)return $.call(this,s,S,z);var A=this.local(),k=a(s).local();return $.call(A,k,S,z)}}}))})(ot)),ot.exports}var Vt=Jt();const Qt=B(Vt);Z.extend(kt);Z.extend(Qt);Z.extend(Gt);Z.extend(Dt);Z.extend(Ct);Z.extend(Ht);Z.extend(qt);Z.extend(Zt);function Kt(_=void 0){return _===void 0?Z():typeof _=="number"&&String(_).length===10?Z.unix(_):Z(_)}function te(_){const y=O=>O<10?`0${O}`:String(O),m=Math.floor(_/3600),f=Math.floor(_%3600/60),T=_%60;return[y(m),y(f),y(T)].join(":")}export{X as I,Kt as c,Z as d,te as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as r}from"./Footer-
|
|
1
|
+
import{_ as r}from"./Footer-BWV6CMUR.js";import{_}from"./NavBar-CVNz1--5.js";import{_ as a}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c,o as s,a as o,b as m,r as p,F as i}from"./index-9_oqoLcR.js";import"./Tooltip.vue_vue_type_script_setup_true_lang-D8Y2xuKM.js";import"./constant-BWnqIcmY.js";const u={},f={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function l(d,g){const e=_,t=p("RouterView"),n=r;return s(),c(i,null,[o(e),m("main",f,[o(t),o(n)])],64)}const N=a(u,[["render",l]]);export{N as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as r,a,r as c}from"./index-
|
|
1
|
+
import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as r,a,r as c}from"./index-9_oqoLcR.js";const n={},s={"text-gray-700":"","dark:text-gray-200":""};function _(m,i){const e=c("RouterView");return r(),t("main",s,[a(e)])}const p=o(n,[["render",_]]);export{p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as n}from"./Footer-
|
|
1
|
+
import{_ as n}from"./Footer-BWV6CMUR.js";import{_ as a}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as s,o as c,a as e,b as m,r as _}from"./index-9_oqoLcR.js";import"./Tooltip.vue_vue_type_script_setup_true_lang-D8Y2xuKM.js";import"./constant-BWnqIcmY.js";const p={},i={"px-4":"","py-10":"",text:"center gray-700 dark:gray-200"};function u(d,o){const t=_("RouterView"),r=n;return c(),s("main",i,[e(t),e(r),o[0]||(o[0]=m("div",{"mx-auto":"","mt-5":"","text-center":"","text-sm":"","opacity-50":""}," [Home Layout] ",-1))])}const g=a(p,[["render",u]]);export{g as default};
|