@mjsz-vbr-elements/elements 2.40.3 → 2.40.5
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/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +79 -79
- package/package.json +3 -3
package/dist/index.iife.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/elements
|
|
3
|
-
* version: v2.40.
|
|
3
|
+
* version: v2.40.5 - 24/01/2026, 09:20:23
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElements=function(E,e,j,v,g,$,B,i,k){"use strict";function K(o){return e.getCurrentScope()?(e.onScopeDispose(o),!0):!1}const M=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ue=Object.prototype.toString,be=o=>ue.call(o)==="[object Object]",W=()=>{};function G(o,r=!1,t="Timeout"){return new Promise((w,u)=>{setTimeout(r?()=>u(t):w,o)})}function U(o){return Array.isArray(o)?o:[o]}function Y(o,r=!1){function t(l,{flush:n="sync",deep:y=!1,timeout:s,throwOnTimeout:h}={}){let _=null;const T=[new Promise(c=>{_=e.watch(o,z=>{l(z)!==r&&(_?_():e.nextTick(()=>_?.()),c(z))},{flush:n,deep:y,immediate:!0})})];return s!=null&&T.push(G(s,h).then(()=>e.toValue(o)).finally(()=>_?.())),Promise.race(T)}function w(l,n){if(!e.isRef(l))return t(z=>z===l,n);const{flush:y="sync",deep:s=!1,timeout:h,throwOnTimeout:_}=n??{};let x=null;const c=[new Promise(z=>{x=e.watch([o,l],([V,F])=>{r!==(V===F)&&(x?x():e.nextTick(()=>x?.()),z(V))},{flush:y,deep:s,immediate:!0})})];return h!=null&&c.push(G(h,_).then(()=>e.toValue(o)).finally(()=>(x?.(),e.toValue(o)))),Promise.race(c)}function u(l){return t(n=>!!n,l)}function b(l){return w(null,l)}function f(l){return w(void 0,l)}function m(l){return t(Number.isNaN,l)}function d(l,n){return t(y=>{const s=Array.from(y);return s.includes(l)||s.includes(e.toValue(l))},n)}function p(l){return a(1,l)}function a(l=1,n){let y=-1;return t(()=>(y+=1,y>=l),n)}return Array.isArray(e.toValue(o))?{toMatch:t,toContains:d,changed:p,changedTimes:a,get not(){return Y(o,!r)}}:{toMatch:t,toBe:w,toBeTruthy:u,toBeNull:b,toBeNaN:m,toBeUndefined:f,changed:p,changedTimes:a,get not(){return Y(o,!r)}}}function ye(o){return Y(o)}function ke(o,r,t={}){const{immediate:w=!0,immediateCallback:u=!1}=t,b=e.shallowRef(!1);let f;function m(){f&&(clearTimeout(f),f=void 0)}function d(){b.value=!1,m()}function p(...a){u&&o(),m(),b.value=!0,f=setTimeout(()=>{b.value=!1,f=void 0,o(...a)},e.toValue(r))}return w&&(b.value=!0,M&&p()),K(d),{isPending:e.shallowReadonly(b),start:p,stop:d}}function xe(o,r,t){return e.watch(o,r,{...t,immediate:!0})}const Ee=M?window:void 0,_e=M?window.document:void 0;function Te(o){var r;const t=e.toValue(o);return(r=t?.$el)!=null?r:t}function ze(...o){const r=[],t=()=>{r.forEach(m=>m()),r.length=0},w=(m,d,p,a)=>(m.addEventListener(d,p,a),()=>m.removeEventListener(d,p,a)),u=e.computed(()=>{const m=U(e.toValue(o[0])).filter(d=>d!=null);return m.every(d=>typeof d!="string")?m:void 0}),b=xe(()=>{var m,d;return[(d=(m=u.value)==null?void 0:m.map(p=>Te(p)))!=null?d:[Ee].filter(p=>p!=null),U(e.toValue(u.value?o[1]:o[0])),U(e.unref(u.value?o[2]:o[1])),e.toValue(u.value?o[3]:o[2])]},([m,d,p,a])=>{if(t(),!m?.length||!d?.length||!p?.length)return;const l=be(a)?{...a}:a;r.push(...m.flatMap(n=>d.flatMap(y=>p.map(s=>w(n,y,s,l)))))},{flush:"post"}),f=()=>{b(),t()};return K(t),f}function C(o,r,t){const{immediate:w=!0,delay:u=0,onError:b=W,onSuccess:f=W,resetOnExecute:m=!0,shallow:d=!0,throwError:p}=t??{},a=d?e.shallowRef(r):e.ref(r),l=e.shallowRef(!1),n=e.shallowRef(!1),y=e.shallowRef(void 0);async function s(x=0,...T){m&&(a.value=r),y.value=void 0,l.value=!1,n.value=!0,x>0&&await G(x);const c=typeof o=="function"?o(...T):o;try{const z=await c;a.value=z,l.value=!0,f(z)}catch(z){if(y.value=z,b(z),p)throw z}finally{n.value=!1}return a.value}w&&s(u);const h={state:a,isReady:l,isLoading:n,error:y,execute:s,executeImmediate:(...x)=>s(0,...x)};function _(){return new Promise((x,T)=>{ye(n).toBe(!1).then(()=>x(h)).catch(T)})}return{...h,then(x,T){return _().then(x,T)}}}function Ce(o={}){const{document:r=_e}=o;if(!r)return e.shallowRef("visible");const t=e.shallowRef(r.visibilityState);return ze(r,"visibilitychange",()=>{t.value=r.visibilityState},{passive:!0}),t}function Se(o,r,t={}){const{immediate:w=!0,immediateCallback:u=!1}=t,{start:b}=ke(m,r,{immediate:w}),f=e.shallowRef(!1);async function m(){f.value&&(await o(),b())}function d(){f.value||(f.value=!0,u&&o(),b())}function p(){f.value=!1}return w&&M&&d(),K(p),{isActive:f,pause:p,resume:d}}const S=`@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`,N="@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}",I="@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}",L="@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}",R='@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}',A="@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}",D="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",P=(o,r)=>{const t=o.__vccOpts||o;for(const[w,u]of r)t[w]=u;return t},Pe={__name:"FieldPlayersLeader.ce",props:{...B.baseProps,...B.playerStatsProps,...B.teamStatsProps},setup(o){const r=o,t=e.ref(null),w=j.COLUMNS_FIELD_PLAYERS,u=e.computed(()=>r.locale),{onError:b,error:f,hasError:m}=g.useErrorProvider(),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-stats",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"points",orders:[{target:"points",direction:$.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(d),i.playerName,i.teamName)),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,["teamName"]).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function T(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,z)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(w),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":T,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":t.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},H=P(Pe,[["styles",[S,N,I,L,R,A,D]]]),Ne={__name:"FieldPlayersPenalties.ce",props:{...B.baseProps,...B.playerStatsProps,...B.teamStatsProps},setup(o){const r=o,t=j.COLUMNS_FIELD_PLAYERS_PENALTY,w=e.ref(null),u=e.computed(()=>r.locale),{onError:b,error:f,hasError:m}=g.useErrorProvider(),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-penalty",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"pim",orders:[{target:"pim",direction:$.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(d),i.playerName,i.teamName)),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,[["team","longName"]],!0).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function T(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,z)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":T,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":w.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},q=P(Ne,[["styles",[S,N,I,L,R,A,D]]]),Ie={__name:"FieldPlayersToi.ce",props:{...B.baseProps,...B.playerStatsProps,...B.teamStatsProps},setup(o){const r=o,t=j.COLUMNS_FIELD_PLAYERS_TOI,w=e.ref(null),u=e.computed(()=>r.locale),{onError:b,error:f,hasError:m}=g.useErrorProvider(),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-toi",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"toi",orders:[{target:"toi",direction:$.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(d),i.playerName,i.teamName,i.convertTimesSecToMin(["toi","atoi","eqToi","pp1Toi","pp2Toi","sh1Toi","sh2Toi","eqAToi","pp1AToi","pp2AToi","sh1AToi","sh2AToi"]))),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,["teamName"]).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function T(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,z)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":T,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":w.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},Le=P(Ie,[["styles",[S,N,I,L,R,A,D]]]),Re={__name:"GoaliesLeader.ce",props:{...k.baseProps,...k.playerStatsProps,...k.teamStatsProps,aboveLimit:{type:Boolean,default:!1},underLimit:{type:Boolean,default:!1}},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=k.COLUMNS_GOALIES,m=e.computed(()=>r.locale),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-goalie",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId},...r.aboveLimit&&{more:!0},...r.underLimit&&{less:!0}}),[],{onError:c=>w(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"svsPercent",orders:[{target:"svsPercent",direction:k.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(d),i.playerName,i.convertTimesMinToMinSec(["mip"]))),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,[["team","longName"]],!0).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function T(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,z)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:m.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(f),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":T,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":t.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},J=P(Re,[["styles",[S,N,I,L,R,A,D]]]),Q=P({__name:"PlayersNational.ce",props:{apiKey:{type:String,default:""},locale:{type:String,default:"hu"},gender:{type:String,default:"male"},limit:{type:Number,default:50}},setup(o){const r=o,t=e.ref(null),w=j.COLUMNS_PLAYERS_NATIONAL,u=e.computed(()=>r.locale),{onError:b,error:f,hasError:m}=g.useErrorProvider(),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-stats-national",r.apiKey,{gender:r.gender}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"gp",orders:[{target:"gp",direction:k.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(d),i.playerName)),h=e.computed(()=>i.convert(s.value).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function T(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,z)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(w),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":T,"append-to":t.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},[["styles",[S,N,I,L,R,A,D]]]),Ve="@layer components.variables{:where(:host){--mvw-timezone-selector-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-500));--mvw-timezone-selector-font-size: var(--font-size-300)}}@layer components{:where(.timezone-selector){padding:3px 0;color:var(--mvw-timezone-selector-color);font-size:var(--mvw-timezone-selector-font-size);font-weight:500}:where(.timezone-selector) button+button{margin-inline-start:var(--size-4)}}",Be="@layer components{:where(button){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h)}:where(button)[data-variant=link]{padding:0;color:var(--mvw-link-color);cursor:pointer}:where(button)[data-variant=link]:hover{color:light-dark(var(--_darken),var(--_lighten))}:where(button)[data-variant=link].is-active{font-weight:700;color:light-dark(var(--_darken),var(--_lighten))}}",Ae="@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}",De="@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}}",Oe="@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}",je="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",Me={__name:"Schedule.ce",props:{...k.baseProps,...i.pick(["limit"],k.playerStatsProps),...k.teamStatsProps,...k.gameProps,initialPage:{type:Number,default:1,validator:o=>o>=1},autoInitialPage:{type:Boolean,default:!1},timezoneSelector:{type:Boolean,default:!1},autoRefresh:{type:Boolean,default:!1}},setup(o){const r=o,{onError:t,error:w,hasError:u}=g.useErrorProvider(),b=e.computed(()=>r.locale),{state:f,isLoading:m,execute:d}=C(()=>g.fetchVBRData("/v2/games-list",r.apiKey,{championshipId:r.championshipId,...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{resetOnExecute:!1,immediate:!r.autoRefresh,onError:V=>{t(V),a?.()}}),p=e.computed(()=>i.sortGames(f.value)),{pause:a,resume:l}=Se(d,k.REFRESH_DELAY,{immediate:!1}),{page:n,change:y}=g.usePage({initial:e.computed(()=>r.initialPage),items:p,limit:r.limit,auto:r.autoInitialPage}),s=e.ref(i.getLocalTimezone()),h=e.computed(()=>i.offsetName(new Date,e.unref(s),r.locale)),_=e.computed(()=>i.convert(e.unref(p)).filter(r.teamFilterByName,["homeTeamName","awayTeamName"]).schedule(e.unref(s),e.unref(b)).pagination(e.unref(n),r.limit).value());if(r.autoRefresh){l();const V=Ce();e.watch(V,F=>{if(F==="visible")return l();a()})}const x=e.computed(()=>_.value?.totalItems);function T(V){s.value=V}const c=V=>i.externalGameLinkResolver(r.externalGameResolver,{gameId:V}),z=e.computed(()=>r.isGameTargetExternal?"_blank":"_self");return(V,F)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:r.locale},{default:e.withCtx(()=>[e.unref(u)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(w)},null,8,["error"])):e.createCommentVNode("",!0),r.timezoneSelector?(e.openBlock(),e.createBlock(e.unref(v.TimezoneSelector),{key:r.locale,locale:r.locale,"current-zone":s.value,onChange:T},null,8,["locale","current-zone"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.ScheduleTable),{rows:_.value.rows,"is-loading":e.unref(m),"offset-name":h.value,"hide-columns":r.hideColumns,"external-game-resolver-target":z.value,"external-game-resolver":c},null,8,["rows","is-loading","offset-name","hide-columns","external-game-resolver-target"]),r.limit>0?(e.openBlock(),e.createBlock(e.unref(v.Paginator),{key:2,page:e.unref(n),"items-per-page":r.limit,"total-items":x.value,"range-length":5,onChange:e.unref(y)},null,8,["page","items-per-page","total-items","onChange"])):e.createCommentVNode("",!0)]),_:1},8,["locale"])]))}},X=P(Me,[["styles",[S,N,I,L,R,Ve,Be,Ae,De,Oe,je]]]),Fe="@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}",$e='@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}',Ke="@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}",Ge="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",Ue={__name:"Standings.ce",props:{...k.baseProps,...k.teamStatsProps,type:{type:String,default:"3",validator:o=>["2","3"].includes(o)}},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=e.computed(()=>r.locale),{state:m,isLoading:d}=C(()=>g.fetchVBRData("/v2/standings",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:h=>w(h)}),{sort:p,change:a}=g.useSort(),l=e.computed(()=>i.convert(e.unref(m)).teamName().sorted(p).addContinuousIndex().value()),n=e.computed(()=>r.type==="3"?k.COLUMNS_STANDINGS_P_3:k.COLUMNS_STANDINGS_P_2),y=h=>a(h);function s(h){return i.externalTeamLinkResolver(r.externalTeamResolver,{...h,championshipId:r.championshipId})}return(h,_)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:f.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:n.value,rows:l.value.rows,"is-loading":e.unref(d),"hide-columns":r.hideColumns,sort:e.unref(p),"external-team-resolver":s,"is-team-linked":h.isTeamLinked,"append-to":t.value,onSort:y},{caption:e.withCtx(()=>[e.createVNode(e.unref(v.AdditionalStandingsText),{rows:l.value.rows,"additional-key":"inheritedPoints"},null,8,["rows"]),e.createVNode(e.unref(v.AdditionalStandingsText),{rows:l.value.rows,"additional-key":"penaltyPoints"},null,8,["rows"])]),_:1},8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},Z=P(Ue,[["styles",[S,Fe,$e,Ke,Ge]]]),O="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",Ye={__name:"TeamAttendance.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=k.COLUMNS_TEAM_ATTENDANCE,w=e.ref(null),{onError:u,error:b,hasError:f}=g.useErrorProvider(),m=e.computed(()=>r.locale),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-attendance",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:s=>u(s)}),{sort:a,change:l}=g.useSort({sortTarget:"totalAttendanceAvg",orders:[{target:"totalAttendanceAvg",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.convert(e.unref(d)).teamName().sorted(a).addIndex(a.sortTarget).value());function y(s){return i.externalTeamLinkResolver(r.externalTeamResolver,{...s,championshipId:r.championshipId})}return(s,h)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:m.value},{default:e.withCtx(()=>[e.unref(f)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(b)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:n.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":y,"is-team-linked":s.isTeamLinked,"append-to":w.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},ee=P(Ye,[["styles",[S,N,I,L,R,O]]]),We={__name:"TeamFairplay.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=k.COLUMNS_TEAMS_FAIRPLAY,w=e.ref(null),{onError:u,error:b,hasError:f}=g.useErrorProvider(),m=e.computed(()=>r.locale),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-fairplay",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:s=>u(s)}),{sort:a,change:l}=g.useSort({sortTarget:"pim",orders:[{target:"pim",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.convert(e.unref(d)).teamName().sorted(a).addIndex(a.sortTarget).value());function y(s){return i.externalTeamLinkResolver(r.externalTeamResolver,{...s,championshipId:r.championshipId})}return(s,h)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:m.value},{default:e.withCtx(()=>[e.unref(f)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(b)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:n.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":y,"is-team-linked":s.isTeamLinked,"append-to":w.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},re=P(We,[["styles",[S,N,I,L,R,O]]]),He={__name:"TeamPenaltyKilling.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=k.COLUMNS_TEAMS_PENALTY_KILLING,m=e.computed(()=>r.locale),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-powerplay",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:h=>w(h)}),{sort:a,change:l}=g.useSort({sortTarget:"pkPercent",orders:[{target:"pkPercent",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.rawConvert(e.unref(d),i.convertTimesSecToMin(["dvgTime","dvgTimePP1","dvgTimePP2"]))),y=e.computed(()=>i.convert(e.unref(n)).teamName().sorted(a).addIndex(a.sortTarget).value());function s(h){return i.externalTeamLinkResolver(r.externalTeamResolver,{...h,championshipId:r.championshipId})}return(h,_)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:m.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(f),rows:y.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":s,"is-team-linked":h.isTeamLinked,"append-to":t.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},oe=P(He,[["styles",[S,N,I,L,R,O]]]),qe={__name:"TeamPowerplay.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=k.COLUMNS_TEAMS_POWERPLAY,m=e.computed(()=>r.locale),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-powerplay",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:h=>w(h)}),{sort:a,change:l}=g.useSort({sortTarget:"ppPercent",orders:[{target:"ppPercent",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.rawConvert(e.unref(d),i.convertTimesSecToMin(["advTime","advTimePP1","advTimePP2"]))),y=e.computed(()=>i.convert(e.unref(n)).teamName().sorted(a).addIndex(a.sortTarget).value());function s(h){return i.externalTeamLinkResolver(r.externalTeamResolver,{...h,championshipId:r.championshipId})}return(h,_)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:m.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(f),rows:y.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":s,"is-team-linked":h.isTeamLinked,"append-to":t.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},te=P(qe,[["styles",[S,N,I,L,R,O]]]),Je={__name:"TeamScoringEfficiency.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=k.COLUMNS_SCORING_EFFICIENCY,w=e.ref(null),{onError:u,error:b,hasError:f}=g.useErrorProvider(),m=e.computed(()=>r.locale),{state:d,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-scoring-efficiency",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:s=>u(s)}),{sort:a,change:l}=g.useSort({sortTarget:"sp",orders:[{target:"sp",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.convert(e.unref(d)).teamName().sorted(a).addIndex(a.sortTarget).value());function y(s){return i.externalTeamLinkResolver(r.externalTeamResolver,{...s,championshipId:r.championshipId})}return(s,h)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:m.value},{default:e.withCtx(()=>[e.unref(f)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(b)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:n.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":y,"is-team-linked":s.isTeamLinked,"append-to":w.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},ae=P(Je,[["styles",[S,N,I,L,R,O]]]),le=e.defineCustomElement(Z),ne=e.defineCustomElement(X),ie=e.defineCustomElement(H),se=e.defineCustomElement(q),ce=e.defineCustomElement(J),me=e.defineCustomElement(ee),de=e.defineCustomElement(re),pe=e.defineCustomElement(oe),he=e.defineCustomElement(te),ve=e.defineCustomElement(ae),we=e.defineCustomElement(Q),ge=e.defineCustomElement(Le);function fe(){customElements.define("mjsz-vbr-standings",le),customElements.define("mjsz-vbr-schedule",ne),customElements.define("mjsz-vbr-players-leader",ie),customElements.define("mjsz-vbr-players-penalties",se),customElements.define("mjsz-vbr-goalies",ce),customElements.define("mjsz-vbr-team-attendance",me),customElements.define("mjsz-vbr-team-fairplay",de),customElements.define("mjsz-vbr-team-penalty-killing",pe),customElements.define("mjsz-vbr-team-powerplay",he),customElements.define("mjsz-vbr-team-scoring",ve),customElements.define("mjsz-vbr-players-national",we),customElements.define("mjsz-vbr-players-toi",ge)}const Qe={install:()=>fe()};return E.FieldPlayersLeader=H,E.FieldPlayersLeaderCE=ie,E.FieldPlayersPenalties=q,E.FieldPlayersPenaltiesCE=se,E.FieldPlayersToiCE=ge,E.GoaliesLeader=J,E.GoaliesLeaderCE=ce,E.PlayersNational=Q,E.PlayersNationalCE=we,E.Schedule=X,E.ScheduleCE=ne,E.Standings=Z,E.StandingsCE=le,E.TeamAttendance=ee,E.TeamAttendanceCE=me,E.TeamFairplay=re,E.TeamFairplayCE=de,E.TeamPenaltyKilling=oe,E.TeamPenaltyKillingCE=pe,E.TeamPowerplay=te,E.TeamPowerplayCE=he,E.TeamScoringEfficiency=ae,E.TeamScoringEfficiencyCE=ve,E.default=Qe,E.register=fe,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),E}({},Vue,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore);
|
|
8
|
+
var MjszVbrElements=function(E,e,O,v,g,$,B,i,k){"use strict";function K(o){return e.getCurrentScope()?(e.onScopeDispose(o),!0):!1}const M=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ue=Object.prototype.toString,be=o=>ue.call(o)==="[object Object]",W=()=>{};function G(o,r=!1,t="Timeout"){return new Promise((w,u)=>{setTimeout(r?()=>u(t):w,o)})}function U(o){return Array.isArray(o)?o:[o]}function Y(o,r=!1){function t(l,{flush:n="sync",deep:y=!1,timeout:s,throwOnTimeout:h}={}){let _=null;const z=[new Promise(c=>{_=e.watch(o,T=>{l(T)!==r&&(_?_():e.nextTick(()=>_?.()),c(T))},{flush:n,deep:y,immediate:!0})})];return s!=null&&z.push(G(s,h).then(()=>e.toValue(o)).finally(()=>_?.())),Promise.race(z)}function w(l,n){if(!e.isRef(l))return t(T=>T===l,n);const{flush:y="sync",deep:s=!1,timeout:h,throwOnTimeout:_}=n??{};let x=null;const c=[new Promise(T=>{x=e.watch([o,l],([V,F])=>{r!==(V===F)&&(x?x():e.nextTick(()=>x?.()),T(V))},{flush:y,deep:s,immediate:!0})})];return h!=null&&c.push(G(h,_).then(()=>e.toValue(o)).finally(()=>(x?.(),e.toValue(o)))),Promise.race(c)}function u(l){return t(n=>!!n,l)}function b(l){return w(null,l)}function f(l){return w(void 0,l)}function d(l){return t(Number.isNaN,l)}function m(l,n){return t(y=>{const s=Array.from(y);return s.includes(l)||s.includes(e.toValue(l))},n)}function p(l){return a(1,l)}function a(l=1,n){let y=-1;return t(()=>(y+=1,y>=l),n)}return Array.isArray(e.toValue(o))?{toMatch:t,toContains:m,changed:p,changedTimes:a,get not(){return Y(o,!r)}}:{toMatch:t,toBe:w,toBeTruthy:u,toBeNull:b,toBeNaN:d,toBeUndefined:f,changed:p,changedTimes:a,get not(){return Y(o,!r)}}}function ye(o){return Y(o)}function ke(o,r,t={}){const{immediate:w=!0,immediateCallback:u=!1}=t,b=e.shallowRef(!1);let f;function d(){f&&(clearTimeout(f),f=void 0)}function m(){b.value=!1,d()}function p(...a){u&&o(),d(),b.value=!0,f=setTimeout(()=>{b.value=!1,f=void 0,o(...a)},e.toValue(r))}return w&&(b.value=!0,M&&p()),K(m),{isPending:e.shallowReadonly(b),start:p,stop:m}}function xe(o,r,t){return e.watch(o,r,{...t,immediate:!0})}const Ee=M?window:void 0,_e=M?window.document:void 0;function ze(o){var r;const t=e.toValue(o);return(r=t?.$el)!=null?r:t}function Te(...o){const r=[],t=()=>{r.forEach(d=>d()),r.length=0},w=(d,m,p,a)=>(d.addEventListener(m,p,a),()=>d.removeEventListener(m,p,a)),u=e.computed(()=>{const d=U(e.toValue(o[0])).filter(m=>m!=null);return d.every(m=>typeof m!="string")?d:void 0}),b=xe(()=>{var d,m;return[(m=(d=u.value)==null?void 0:d.map(p=>ze(p)))!=null?m:[Ee].filter(p=>p!=null),U(e.toValue(u.value?o[1]:o[0])),U(e.unref(u.value?o[2]:o[1])),e.toValue(u.value?o[3]:o[2])]},([d,m,p,a])=>{if(t(),!d?.length||!m?.length||!p?.length)return;const l=be(a)?{...a}:a;r.push(...d.flatMap(n=>m.flatMap(y=>p.map(s=>w(n,y,s,l)))))},{flush:"post"}),f=()=>{b(),t()};return K(t),f}function C(o,r,t){const{immediate:w=!0,delay:u=0,onError:b=W,onSuccess:f=W,resetOnExecute:d=!0,shallow:m=!0,throwError:p}=t??{},a=m?e.shallowRef(r):e.ref(r),l=e.shallowRef(!1),n=e.shallowRef(!1),y=e.shallowRef(void 0);async function s(x=0,...z){d&&(a.value=r),y.value=void 0,l.value=!1,n.value=!0,x>0&&await G(x);const c=typeof o=="function"?o(...z):o;try{const T=await c;a.value=T,l.value=!0,f(T)}catch(T){if(y.value=T,b(T),p)throw T}finally{n.value=!1}return a.value}w&&s(u);const h={state:a,isReady:l,isLoading:n,error:y,execute:s,executeImmediate:(...x)=>s(0,...x)};function _(){return new Promise((x,z)=>{ye(n).toBe(!1).then(()=>x(h)).catch(z)})}return{...h,then(x,z){return _().then(x,z)}}}function Ce(o={}){const{document:r=_e}=o;if(!r)return e.shallowRef("visible");const t=e.shallowRef(r.visibilityState);return Te(r,"visibilitychange",()=>{t.value=r.visibilityState},{passive:!0}),t}function Se(o,r,t={}){const{immediate:w=!0,immediateCallback:u=!1}=t,{start:b}=ke(d,r,{immediate:w}),f=e.shallowRef(!1);async function d(){f.value&&(await o(),b())}function m(){f.value||(f.value=!0,u&&o(),b())}function p(){f.value=!1}return w&&M&&m(),K(p),{isActive:f,pause:p,resume:m}}const S=`@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`,N="@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}",I="@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}",L="@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}",R='@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}',A="@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}",D="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",P=(o,r)=>{const t=o.__vccOpts||o;for(const[w,u]of r)t[w]=u;return t},Pe={__name:"FieldPlayersLeader.ce",props:{...B.baseProps,...B.playerStatsProps,...B.teamStatsProps},setup(o){const r=o,t=e.ref(null),w=O.COLUMNS_FIELD_PLAYERS,u=e.computed(()=>r.locale),{onError:b,error:f,hasError:d}=g.useErrorProvider(),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-stats",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"points",orders:[{target:"points",direction:$.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(m),i.playerName,i.teamName)),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,["teamName"]).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function z(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,T)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(d)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(w),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":z,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":t.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},H=P(Pe,[["styles",[S,N,I,L,R,A,D]]]),Ne={__name:"FieldPlayersPenalties.ce",props:{...B.baseProps,...B.playerStatsProps,...B.teamStatsProps},setup(o){const r=o,t=O.COLUMNS_FIELD_PLAYERS_PENALTY,w=e.ref(null),u=e.computed(()=>r.locale),{onError:b,error:f,hasError:d}=g.useErrorProvider(),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-penalty",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"pim",orders:[{target:"pim",direction:$.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(m),i.playerName,i.teamName)),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,[["team","longName"]],!0).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function z(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,T)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(d)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":z,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":w.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},q=P(Ne,[["styles",[S,N,I,L,R,A,D]]]),Ie={__name:"FieldPlayersToi.ce",props:{...B.baseProps,...B.playerStatsProps,...B.teamStatsProps},setup(o){const r=o,t=O.COLUMNS_FIELD_PLAYERS_TOI,w=e.ref(null),u=e.computed(()=>r.locale),{onError:b,error:f,hasError:d}=g.useErrorProvider(),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-toi",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"toi",orders:[{target:"toi",direction:$.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(m),i.playerName,i.teamName,i.convertTimesSecToMin(["toi","atoi","eqToi","pp1Toi","pp2Toi","sh1Toi","sh2Toi","eqAToi","pp1AToi","pp2AToi","sh1AToi","sh2AToi"]))),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,["teamName"]).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function z(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,T)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(d)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":z,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":w.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},Le=P(Ie,[["styles",[S,N,I,L,R,A,D]]]),Re={__name:"GoaliesLeader.ce",props:{...k.baseProps,...k.playerStatsProps,...k.teamStatsProps,aboveLimit:{type:Boolean,default:!1},underLimit:{type:Boolean,default:!1}},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=k.COLUMNS_GOALIES,d=e.computed(()=>r.locale),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-goalie",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId},...r.aboveLimit&&{more:!0},...r.underLimit&&{less:!0}}),[],{onError:c=>w(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"svsPercent",orders:[{target:"svsPercent",direction:k.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(m),i.playerName,i.convertTimesMinToMinSec(["mip"]))),h=e.computed(()=>i.convert(e.unref(s)).filter(r.teamFilterByName,[["team","longName"]],!0).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function z(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,T)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:d.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(f),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":z,"is-team-linked":c.isTeamLinked,"is-player-linked":c.isPlayerLinked,"append-to":t.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","is-player-linked","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},J=P(Re,[["styles",[S,N,I,L,R,A,D]]]),Q=P({__name:"PlayersNational.ce",props:{apiKey:{type:String,default:""},locale:{type:String,default:"hu"},gender:{type:String,default:"male"},limit:{type:Number,default:50}},setup(o){const r=o,t=e.ref(null),w=O.COLUMNS_PLAYERS_NATIONAL,u=e.computed(()=>r.locale),{onError:b,error:f,hasError:d}=g.useErrorProvider(),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/players-stats-national",r.apiKey,{gender:r.gender}),[],{onError:c=>b(c)}),{page:a,change:l}=g.usePage(),{sort:n,change:y}=g.useSort({sortTarget:"gp",orders:[{target:"gp",direction:k.SORT_STATE_DESCEND}]}),s=e.computed(()=>i.rawConvert(e.unref(m),i.playerName)),h=e.computed(()=>i.convert(s.value).sorted(n).addIndex(n.sortTarget).pagination(e.unref(a),r.limit).value()),_=e.computed(()=>h.value?.totalItems);function x(c){return i.externalTeamLinkResolver(r.externalTeamResolver,{...c,championshipId:r.championshipId})}function z(c){return i.externalPlayerLinkResolver(r.externalPlayerResolver,{...c,championshipId:r.championshipId})}return(c,T)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:u.value},{default:e.withCtx(()=>[e.unref(d)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(f)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(w),rows:h.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(n),"external-team-resolver":x,"external-player-resolver":z,"append-to":t.value,onSort:e.unref(y)},null,8,["columns","rows","is-loading","hide-columns","sort","append-to","onSort"]),e.createVNode(e.unref(v.Paginator),{page:e.unref(a),"items-per-page":r.limit,"total-items":_.value,"range-length":5,onChange:e.unref(l)},null,8,["page","items-per-page","total-items","onChange"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},[["styles",[S,N,I,L,R,A,D]]]),Ve="@layer components.variables{:where(:host){--mvw-timezone-selector-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-500));--mvw-timezone-selector-font-size: var(--font-size-300)}}@layer components{:where(.timezone-selector){padding:3px 0;color:var(--mvw-timezone-selector-color);font-size:var(--mvw-timezone-selector-font-size);font-weight:500}:where(.timezone-selector) button+button{margin-inline-start:var(--size-4)}}",Be="@layer components{:where(button){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h)}:where(button)[data-variant=link]{padding:0;color:var(--mvw-link-color);cursor:pointer}:where(button)[data-variant=link]:hover{color:light-dark(var(--_darken),var(--_lighten))}:where(button)[data-variant=link].is-active{font-weight:700;color:light-dark(var(--_darken),var(--_lighten))}}",Ae="@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}",De='@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}',je="@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}",Oe="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",Me={__name:"Schedule.ce",props:{...k.baseProps,...i.pick(["limit"],k.playerStatsProps),...k.teamStatsProps,...k.gameProps,initialPage:{type:Number,default:1,validator:o=>o>=1},autoInitialPage:{type:Boolean,default:!1},timezoneSelector:{type:Boolean,default:!1},autoRefresh:{type:Boolean,default:!1}},setup(o){const r=o,{onError:t,error:w,hasError:u}=g.useErrorProvider(),b=e.computed(()=>r.locale),{state:f,isLoading:d,execute:m}=C(()=>g.fetchVBRData("/v2/games-list",r.apiKey,{championshipId:r.championshipId,...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{resetOnExecute:!1,immediate:!r.autoRefresh,onError:V=>{t(V),a?.()}}),p=e.computed(()=>i.sortGames(f.value)),{pause:a,resume:l}=Se(m,k.REFRESH_DELAY,{immediate:!1}),{page:n,change:y}=g.usePage({initial:e.computed(()=>r.initialPage),items:p,limit:r.limit,auto:r.autoInitialPage}),s=e.ref(i.getLocalTimezone()),h=e.computed(()=>i.offsetName(new Date,e.unref(s),r.locale)),_=e.computed(()=>i.convert(e.unref(p)).filter(r.teamFilterByName,["homeTeamName","awayTeamName"]).schedule(e.unref(s),e.unref(b)).pagination(e.unref(n),r.limit).value());if(r.autoRefresh){l();const V=Ce();e.watch(V,F=>{if(F==="visible")return l();a()})}const x=e.computed(()=>_.value?.totalItems);function z(V){s.value=V}const c=V=>i.externalGameLinkResolver(r.externalGameResolver,{gameId:V}),T=e.computed(()=>r.isGameTargetExternal?"_blank":"_self");return(V,F)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:r.locale},{default:e.withCtx(()=>[e.unref(u)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(w)},null,8,["error"])):e.createCommentVNode("",!0),r.timezoneSelector?(e.openBlock(),e.createBlock(e.unref(v.TimezoneSelector),{key:r.locale,locale:r.locale,"current-zone":s.value,onChange:z},null,8,["locale","current-zone"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.ScheduleTable),{rows:_.value.rows,"is-loading":e.unref(d),"offset-name":h.value,"hide-columns":r.hideColumns,"external-game-resolver-target":T.value,"external-game-resolver":c},null,8,["rows","is-loading","offset-name","hide-columns","external-game-resolver-target"]),r.limit>0?(e.openBlock(),e.createBlock(e.unref(v.Paginator),{key:2,page:e.unref(n),"items-per-page":r.limit,"total-items":x.value,"range-length":5,onChange:e.unref(y)},null,8,["page","items-per-page","total-items","onChange"])):e.createCommentVNode("",!0)]),_:1},8,["locale"])]))}},X=P(Me,[["styles",[S,N,I,L,R,Ve,Be,Ae,De,je,Oe]]]),Fe="@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}",$e='@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}',Ke="@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}",Ge="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",Ue={__name:"Standings.ce",props:{...k.baseProps,...k.teamStatsProps,type:{type:String,default:"3",validator:o=>["2","3"].includes(o)}},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=e.computed(()=>r.locale),{state:d,isLoading:m}=C(()=>g.fetchVBRData("/v2/standings",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:h=>w(h)}),{sort:p,change:a}=g.useSort(),l=e.computed(()=>i.convert(e.unref(d)).teamName().sorted(p).addContinuousIndex().value()),n=e.computed(()=>r.type==="3"?k.COLUMNS_STANDINGS_P_3:k.COLUMNS_STANDINGS_P_2),y=h=>a(h);function s(h){return i.externalTeamLinkResolver(r.externalTeamResolver,{...h,championshipId:r.championshipId})}return(h,_)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:f.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:n.value,rows:l.value.rows,"is-loading":e.unref(m),"hide-columns":r.hideColumns,sort:e.unref(p),"external-team-resolver":s,"is-team-linked":h.isTeamLinked,"append-to":t.value,onSort:y},{caption:e.withCtx(()=>[e.createVNode(e.unref(v.AdditionalStandingsText),{rows:l.value.rows,"additional-key":"inheritedPoints"},null,8,["rows"]),e.createVNode(e.unref(v.AdditionalStandingsText),{rows:l.value.rows,"additional-key":"penaltyPoints"},null,8,["rows"])]),_:1},8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},Z=P(Ue,[["styles",[S,Fe,$e,Ke,Ge]]]),j="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",Ye={__name:"TeamAttendance.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=k.COLUMNS_TEAM_ATTENDANCE,w=e.ref(null),{onError:u,error:b,hasError:f}=g.useErrorProvider(),d=e.computed(()=>r.locale),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-attendance",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:s=>u(s)}),{sort:a,change:l}=g.useSort({sortTarget:"totalAttendanceAvg",orders:[{target:"totalAttendanceAvg",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.convert(e.unref(m)).teamName().sorted(a).addIndex(a.sortTarget).value());function y(s){return i.externalTeamLinkResolver(r.externalTeamResolver,{...s,championshipId:r.championshipId})}return(s,h)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:d.value},{default:e.withCtx(()=>[e.unref(f)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(b)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:n.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":y,"is-team-linked":s.isTeamLinked,"append-to":w.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},ee=P(Ye,[["styles",[S,N,I,L,R,j]]]),We={__name:"TeamFairplay.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=k.COLUMNS_TEAMS_FAIRPLAY,w=e.ref(null),{onError:u,error:b,hasError:f}=g.useErrorProvider(),d=e.computed(()=>r.locale),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-fairplay",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:s=>u(s)}),{sort:a,change:l}=g.useSort({sortTarget:"pim",orders:[{target:"pim",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.convert(e.unref(m)).teamName().sorted(a).addIndex(a.sortTarget).value());function y(s){return i.externalTeamLinkResolver(r.externalTeamResolver,{...s,championshipId:r.championshipId})}return(s,h)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:d.value},{default:e.withCtx(()=>[e.unref(f)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(b)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:n.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":y,"is-team-linked":s.isTeamLinked,"append-to":w.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},re=P(We,[["styles",[S,N,I,L,R,j]]]),He={__name:"TeamPenaltyKilling.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=k.COLUMNS_TEAMS_PENALTY_KILLING,d=e.computed(()=>r.locale),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-powerplay",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:h=>w(h)}),{sort:a,change:l}=g.useSort({sortTarget:"pkPercent",orders:[{target:"pkPercent",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.rawConvert(e.unref(m),i.convertTimesSecToMin(["dvgTime","dvgTimePP1","dvgTimePP2"]))),y=e.computed(()=>i.convert(e.unref(n)).teamName().sorted(a).addIndex(a.sortTarget).value());function s(h){return i.externalTeamLinkResolver(r.externalTeamResolver,{...h,championshipId:r.championshipId})}return(h,_)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:d.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(f),rows:y.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":s,"is-team-linked":h.isTeamLinked,"append-to":t.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},oe=P(He,[["styles",[S,N,I,L,R,j]]]),qe={__name:"TeamPowerplay.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=e.ref(null),{onError:w,error:u,hasError:b}=g.useErrorProvider(),f=k.COLUMNS_TEAMS_POWERPLAY,d=e.computed(()=>r.locale),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-powerplay",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:h=>w(h)}),{sort:a,change:l}=g.useSort({sortTarget:"ppPercent",orders:[{target:"ppPercent",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.rawConvert(e.unref(m),i.convertTimesSecToMin(["advTime","advTimePP1","advTimePP2"]))),y=e.computed(()=>i.convert(e.unref(n)).teamName().sorted(a).addIndex(a.sortTarget).value());function s(h){return i.externalTeamLinkResolver(r.externalTeamResolver,{...h,championshipId:r.championshipId})}return(h,_)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:d.value},{default:e.withCtx(()=>[e.unref(b)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(u)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(f),rows:y.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":s,"is-team-linked":h.isTeamLinked,"append-to":t.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:t},null,512)]),_:1},8,["locale"])]))}},te=P(qe,[["styles",[S,N,I,L,R,j]]]),Je={__name:"TeamScoringEfficiency.ce",props:{...k.baseProps,...k.teamStatsProps},setup(o){const r=o,t=k.COLUMNS_SCORING_EFFICIENCY,w=e.ref(null),{onError:u,error:b,hasError:f}=g.useErrorProvider(),d=e.computed(()=>r.locale),{state:m,isLoading:p}=C(()=>g.fetchVBRData("/v2/team-scoring-efficiency",r.apiKey,{championshipId:Number(r.championshipId),...r.division&&{division:r.division},...r.phaseId&&{phaseId:r.phaseId}}),[],{onError:s=>u(s)}),{sort:a,change:l}=g.useSort({sortTarget:"sp",orders:[{target:"sp",direction:k.SORT_STATE_DESCEND}]}),n=e.computed(()=>i.convert(e.unref(m)).teamName().sorted(a).addIndex(a.sortTarget).value());function y(s){return i.externalTeamLinkResolver(r.externalTeamResolver,{...s,championshipId:r.championshipId})}return(s,h)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(v.I18NProvider),{locale:d.value},{default:e.withCtx(()=>[e.unref(f)?(e.openBlock(),e.createBlock(e.unref(v.ErrorNotice),{key:0,error:e.unref(b)},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.StatisticsTable),{columns:e.unref(t),rows:n.value.rows,"is-loading":e.unref(p),"hide-columns":r.hideColumns,sort:e.unref(a),"external-team-resolver":y,"is-team-linked":s.isTeamLinked,"append-to":w.value,onSort:e.unref(l)},null,8,["columns","rows","is-loading","hide-columns","sort","is-team-linked","append-to","onSort"]),e.createElementVNode("div",{ref_key:"tooltipContainer",ref:w},null,512)]),_:1},8,["locale"])]))}},ae=P(Je,[["styles",[S,N,I,L,R,j]]]),le=e.defineCustomElement(Z),ne=e.defineCustomElement(X),ie=e.defineCustomElement(H),se=e.defineCustomElement(q),ce=e.defineCustomElement(J),de=e.defineCustomElement(ee),me=e.defineCustomElement(re),pe=e.defineCustomElement(oe),he=e.defineCustomElement(te),ve=e.defineCustomElement(ae),we=e.defineCustomElement(Q),ge=e.defineCustomElement(Le);function fe(){customElements.define("mjsz-vbr-standings",le),customElements.define("mjsz-vbr-schedule",ne),customElements.define("mjsz-vbr-players-leader",ie),customElements.define("mjsz-vbr-players-penalties",se),customElements.define("mjsz-vbr-goalies",ce),customElements.define("mjsz-vbr-team-attendance",de),customElements.define("mjsz-vbr-team-fairplay",me),customElements.define("mjsz-vbr-team-penalty-killing",pe),customElements.define("mjsz-vbr-team-powerplay",he),customElements.define("mjsz-vbr-team-scoring",ve),customElements.define("mjsz-vbr-players-national",we),customElements.define("mjsz-vbr-players-toi",ge)}const Qe={install:()=>fe()};return E.FieldPlayersLeader=H,E.FieldPlayersLeaderCE=ie,E.FieldPlayersPenalties=q,E.FieldPlayersPenaltiesCE=se,E.FieldPlayersToiCE=ge,E.GoaliesLeader=J,E.GoaliesLeaderCE=ce,E.PlayersNational=Q,E.PlayersNationalCE=we,E.Schedule=X,E.ScheduleCE=ne,E.Standings=Z,E.StandingsCE=le,E.TeamAttendance=ee,E.TeamAttendanceCE=de,E.TeamFairplay=re,E.TeamFairplayCE=me,E.TeamPenaltyKilling=oe,E.TeamPenaltyKillingCE=pe,E.TeamPowerplay=te,E.TeamPowerplayCE=he,E.TeamScoringEfficiency=ae,E.TeamScoringEfficiencyCE=ve,E.default=Qe,E.register=fe,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),E}({},Vue,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore);
|
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/elements
|
|
3
|
-
* version: v2.40.
|
|
3
|
+
* version: v2.40.5 - 24/01/2026, 09:20:23
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { shallowRef as q, shallowReadonly as
|
|
8
|
+
import { shallowRef as q, shallowReadonly as _e, getCurrentScope as Ee, onScopeDispose as Te, toValue as H, watch as se, nextTick as ye, isRef as Ie, ref as C, computed as h, unref as r, createElementBlock as S, openBlock as x, createVNode as f, withCtx as I, createBlock as E, createCommentVNode as T, createElementVNode as $, defineCustomElement as L } from "vue";
|
|
9
9
|
import { COLUMNS_FIELD_PLAYERS as Ce, COLUMNS_FIELD_PLAYERS_PENALTY as Se, COLUMNS_FIELD_PLAYERS_TOI as Le, COLUMNS_PLAYERS_NATIONAL as Pe } from "@mjsz-vbr-elements/core/columns";
|
|
10
10
|
import { I18NProvider as P, ErrorNotice as N, StatisticsTable as D, Paginator as ee, TimezoneSelector as Ne, ScheduleTable as Re, AdditionalStandingsText as ke } from "@mjsz-vbr-elements/core/components";
|
|
11
11
|
import { useErrorProvider as R, usePage as re, useSort as K, fetchVBRData as A } from "@mjsz-vbr-elements/core/composables";
|
|
12
12
|
import { SORT_STATE_DESCEND as pe } from "@mjsz-vbr-elements/core/constants";
|
|
13
13
|
import { teamStatsProps as he, playerStatsProps as we, baseProps as ue } from "@mjsz-vbr-elements/core/props";
|
|
14
|
-
import { rawConvert as X, playerName as oe, teamName as ge, convert as
|
|
15
|
-
import { teamStatsProps as J, playerStatsProps as
|
|
14
|
+
import { rawConvert as X, playerName as oe, teamName as ge, convert as j, externalPlayerLinkResolver as te, externalTeamLinkResolver as G, convertTimesSecToMin as be, convertTimesMinToMinSec as Ae, pick as je, sortGames as Oe, getLocalTimezone as Fe, offsetName as Me, externalGameLinkResolver as Be } from "@mjsz-vbr-elements/core/utils";
|
|
15
|
+
import { teamStatsProps as J, playerStatsProps as ze, baseProps as Q, SORT_STATE_DESCEND as Z, COLUMNS_GOALIES as $e, gameProps as De, REFRESH_DELAY as Ke, COLUMNS_STANDINGS_P_3 as Ge, COLUMNS_STANDINGS_P_2 as Ue, COLUMNS_TEAM_ATTENDANCE as Ye, COLUMNS_TEAMS_FAIRPLAY as Ve, COLUMNS_TEAMS_PENALTY_KILLING as We, COLUMNS_TEAMS_POWERPLAY as He, COLUMNS_SCORING_EFFICIENCY as qe } from "@mjsz-vbr-elements/core";
|
|
16
16
|
function fe(o) {
|
|
17
17
|
return Ee() ? (Te(o), !0) : !1;
|
|
18
18
|
}
|
|
@@ -31,11 +31,11 @@ function me(o) {
|
|
|
31
31
|
function de(o, e = !1) {
|
|
32
32
|
function t(l, { flush: i = "sync", deep: b = !1, timeout: n, throwOnTimeout: d } = {}) {
|
|
33
33
|
let k = null;
|
|
34
|
-
const
|
|
34
|
+
const z = [new Promise((s) => {
|
|
35
35
|
k = se(
|
|
36
36
|
o,
|
|
37
|
-
(
|
|
38
|
-
l(
|
|
37
|
+
(_) => {
|
|
38
|
+
l(_) !== e && (k ? k() : ye(() => k?.()), s(_));
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
flush: i,
|
|
@@ -44,20 +44,20 @@ function de(o, e = !1) {
|
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
46
|
})];
|
|
47
|
-
return n != null &&
|
|
47
|
+
return n != null && z.push(
|
|
48
48
|
ve(n, d).then(() => H(o)).finally(() => k?.())
|
|
49
|
-
), Promise.race(
|
|
49
|
+
), Promise.race(z);
|
|
50
50
|
}
|
|
51
51
|
function p(l, i) {
|
|
52
52
|
if (!Ie(l))
|
|
53
|
-
return t((
|
|
53
|
+
return t((_) => _ === l, i);
|
|
54
54
|
const { flush: b = "sync", deep: n = !1, timeout: d, throwOnTimeout: k } = i ?? {};
|
|
55
55
|
let y = null;
|
|
56
|
-
const s = [new Promise((
|
|
56
|
+
const s = [new Promise((_) => {
|
|
57
57
|
y = se(
|
|
58
58
|
[o, l],
|
|
59
59
|
([B, ne]) => {
|
|
60
|
-
e !== (B === ne) && (y ? y() : ye(() => y?.()),
|
|
60
|
+
e !== (B === ne) && (y ? y() : ye(() => y?.()), _(B));
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
flush: b,
|
|
@@ -138,7 +138,7 @@ function Ze(o, e, t = {}) {
|
|
|
138
138
|
}, H(e));
|
|
139
139
|
}
|
|
140
140
|
return p && (g.value = !0, ce && v()), fe(m), {
|
|
141
|
-
isPending:
|
|
141
|
+
isPending: _e(g),
|
|
142
142
|
start: v,
|
|
143
143
|
stop: m
|
|
144
144
|
};
|
|
@@ -194,7 +194,7 @@ function ar(...o) {
|
|
|
194
194
|
};
|
|
195
195
|
return fe(t), w;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function O(o, e, t) {
|
|
198
198
|
const {
|
|
199
199
|
immediate: p = !0,
|
|
200
200
|
delay: u = 0,
|
|
@@ -204,15 +204,15 @@ function j(o, e, t) {
|
|
|
204
204
|
shallow: m = !0,
|
|
205
205
|
throwError: v
|
|
206
206
|
} = t ?? {}, a = m ? q(e) : C(e), l = q(!1), i = q(!1), b = q(void 0);
|
|
207
|
-
async function n(y = 0, ...
|
|
207
|
+
async function n(y = 0, ...z) {
|
|
208
208
|
c && (a.value = e), b.value = void 0, l.value = !1, i.value = !0, y > 0 && await ve(y);
|
|
209
|
-
const s = typeof o == "function" ? o(...
|
|
209
|
+
const s = typeof o == "function" ? o(...z) : o;
|
|
210
210
|
try {
|
|
211
|
-
const
|
|
212
|
-
a.value =
|
|
213
|
-
} catch (
|
|
214
|
-
if (b.value =
|
|
215
|
-
throw
|
|
211
|
+
const _ = await s;
|
|
212
|
+
a.value = _, l.value = !0, w(_);
|
|
213
|
+
} catch (_) {
|
|
214
|
+
if (b.value = _, g(_), v)
|
|
215
|
+
throw _;
|
|
216
216
|
} finally {
|
|
217
217
|
i.value = !1;
|
|
218
218
|
}
|
|
@@ -228,14 +228,14 @@ function j(o, e, t) {
|
|
|
228
228
|
executeImmediate: (...y) => n(0, ...y)
|
|
229
229
|
};
|
|
230
230
|
function k() {
|
|
231
|
-
return new Promise((y,
|
|
232
|
-
Xe(i).toBe(!1).then(() => y(d)).catch(
|
|
231
|
+
return new Promise((y, z) => {
|
|
232
|
+
Xe(i).toBe(!1).then(() => y(d)).catch(z);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
return {
|
|
236
236
|
...d,
|
|
237
|
-
then(y,
|
|
238
|
-
return k().then(y,
|
|
237
|
+
then(y, z) {
|
|
238
|
+
return k().then(y, z);
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
}
|
|
@@ -268,7 +268,7 @@ function ir(o, e, t = {}) {
|
|
|
268
268
|
resume: m
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
const F = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, U = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Y = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", V = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", W = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', ae = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", le = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", M = (o, e) => {
|
|
271
|
+
const F = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, U = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Y = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", V = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", W = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', ae = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", le = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", M = (o, e) => {
|
|
272
272
|
const t = o.__vccOpts || o;
|
|
273
273
|
for (const [p, u] of e)
|
|
274
274
|
t[p] = u;
|
|
@@ -281,7 +281,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
281
281
|
...he
|
|
282
282
|
},
|
|
283
283
|
setup(o) {
|
|
284
|
-
const e = o, t = C(null), p = Ce, u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } =
|
|
284
|
+
const e = o, t = C(null), p = Ce, u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } = O(
|
|
285
285
|
() => A("/v2/players-stats", e.apiKey, {
|
|
286
286
|
championshipId: Number(e.championshipId),
|
|
287
287
|
...e.division && { division: e.division },
|
|
@@ -294,14 +294,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
294
294
|
), { page: a, change: l } = re(), { sort: i, change: b } = K({
|
|
295
295
|
sortTarget: "points",
|
|
296
296
|
orders: [{ target: "points", direction: pe }]
|
|
297
|
-
}), n = h(() => X(r(m), oe, ge)), d = h(() =>
|
|
297
|
+
}), n = h(() => X(r(m), oe, ge)), d = h(() => j(r(n)).filter(e.teamFilterByName, ["teamName"]).sorted(i).addIndex(i.sortTarget).pagination(r(a), e.limit).value()), k = h(() => d.value?.totalItems);
|
|
298
298
|
function y(s) {
|
|
299
299
|
return G(e.externalTeamResolver, { ...s, championshipId: e.championshipId });
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function z(s) {
|
|
302
302
|
return te(e.externalPlayerResolver, { ...s, championshipId: e.championshipId });
|
|
303
303
|
}
|
|
304
|
-
return (s,
|
|
304
|
+
return (s, _) => (x(), S("div", null, [
|
|
305
305
|
f(r(P), { locale: u.value }, {
|
|
306
306
|
default: I(() => [
|
|
307
307
|
r(c) ? (x(), E(r(N), {
|
|
@@ -315,7 +315,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
315
315
|
"hide-columns": e.hideColumns,
|
|
316
316
|
sort: r(i),
|
|
317
317
|
"external-team-resolver": y,
|
|
318
|
-
"external-player-resolver":
|
|
318
|
+
"external-player-resolver": z,
|
|
319
319
|
"is-team-linked": s.isTeamLinked,
|
|
320
320
|
"is-player-linked": s.isPlayerLinked,
|
|
321
321
|
"append-to": t.value,
|
|
@@ -345,7 +345,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
345
345
|
...he
|
|
346
346
|
},
|
|
347
347
|
setup(o) {
|
|
348
|
-
const e = o, t = Se, p = C(null), u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } =
|
|
348
|
+
const e = o, t = Se, p = C(null), u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } = O(
|
|
349
349
|
() => A("/v2/players-penalty", e.apiKey, {
|
|
350
350
|
championshipId: Number(e.championshipId),
|
|
351
351
|
...e.division && { division: e.division },
|
|
@@ -358,14 +358,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
358
358
|
), { page: a, change: l } = re(), { sort: i, change: b } = K({
|
|
359
359
|
sortTarget: "pim",
|
|
360
360
|
orders: [{ target: "pim", direction: pe }]
|
|
361
|
-
}), n = h(() => X(r(m), oe, ge)), d = h(() =>
|
|
361
|
+
}), n = h(() => X(r(m), oe, ge)), d = h(() => j(r(n)).filter(e.teamFilterByName, [["team", "longName"]], !0).sorted(i).addIndex(i.sortTarget).pagination(r(a), e.limit).value()), k = h(() => d.value?.totalItems);
|
|
362
362
|
function y(s) {
|
|
363
363
|
return G(e.externalTeamResolver, { ...s, championshipId: e.championshipId });
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function z(s) {
|
|
366
366
|
return te(e.externalPlayerResolver, { ...s, championshipId: e.championshipId });
|
|
367
367
|
}
|
|
368
|
-
return (s,
|
|
368
|
+
return (s, _) => (x(), S("div", null, [
|
|
369
369
|
f(r(P), { locale: u.value }, {
|
|
370
370
|
default: I(() => [
|
|
371
371
|
r(c) ? (x(), E(r(N), {
|
|
@@ -379,7 +379,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
379
379
|
"hide-columns": e.hideColumns,
|
|
380
380
|
sort: r(i),
|
|
381
381
|
"external-team-resolver": y,
|
|
382
|
-
"external-player-resolver":
|
|
382
|
+
"external-player-resolver": z,
|
|
383
383
|
"is-team-linked": s.isTeamLinked,
|
|
384
384
|
"is-player-linked": s.isPlayerLinked,
|
|
385
385
|
"append-to": p.value,
|
|
@@ -409,7 +409,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
409
409
|
...he
|
|
410
410
|
},
|
|
411
411
|
setup(o) {
|
|
412
|
-
const e = o, t = Le, p = C(null), u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } =
|
|
412
|
+
const e = o, t = Le, p = C(null), u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } = O(
|
|
413
413
|
() => A("/v2/players-toi", e.apiKey, {
|
|
414
414
|
championshipId: Number(e.championshipId),
|
|
415
415
|
...e.division && { division: e.division },
|
|
@@ -442,14 +442,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
442
442
|
"sh2AToi"
|
|
443
443
|
])
|
|
444
444
|
)
|
|
445
|
-
), d = h(() =>
|
|
445
|
+
), d = h(() => j(r(n)).filter(e.teamFilterByName, ["teamName"]).sorted(i).addIndex(i.sortTarget).pagination(r(a), e.limit).value()), k = h(() => d.value?.totalItems);
|
|
446
446
|
function y(s) {
|
|
447
447
|
return G(e.externalTeamResolver, { ...s, championshipId: e.championshipId });
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function z(s) {
|
|
450
450
|
return te(e.externalPlayerResolver, { ...s, championshipId: e.championshipId });
|
|
451
451
|
}
|
|
452
|
-
return (s,
|
|
452
|
+
return (s, _) => (x(), S("div", null, [
|
|
453
453
|
f(r(P), { locale: u.value }, {
|
|
454
454
|
default: I(() => [
|
|
455
455
|
r(c) ? (x(), E(r(N), {
|
|
@@ -463,7 +463,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
463
463
|
"hide-columns": e.hideColumns,
|
|
464
464
|
sort: r(i),
|
|
465
465
|
"external-team-resolver": y,
|
|
466
|
-
"external-player-resolver":
|
|
466
|
+
"external-player-resolver": z,
|
|
467
467
|
"is-team-linked": s.isTeamLinked,
|
|
468
468
|
"is-player-linked": s.isPlayerLinked,
|
|
469
469
|
"append-to": p.value,
|
|
@@ -489,7 +489,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
489
489
|
__name: "GoaliesLeader.ce",
|
|
490
490
|
props: {
|
|
491
491
|
...Q,
|
|
492
|
-
...
|
|
492
|
+
...ze,
|
|
493
493
|
...J,
|
|
494
494
|
aboveLimit: {
|
|
495
495
|
type: Boolean,
|
|
@@ -501,7 +501,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
setup(o) {
|
|
504
|
-
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = $e, c = h(() => e.locale), { state: m, isLoading: v } =
|
|
504
|
+
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = $e, c = h(() => e.locale), { state: m, isLoading: v } = O(
|
|
505
505
|
() => A("/v2/players-goalie", e.apiKey, {
|
|
506
506
|
championshipId: Number(e.championshipId),
|
|
507
507
|
...e.division && { division: e.division },
|
|
@@ -516,14 +516,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
516
516
|
), { page: a, change: l } = re(), { sort: i, change: b } = K({
|
|
517
517
|
sortTarget: "svsPercent",
|
|
518
518
|
orders: [{ target: "svsPercent", direction: Z }]
|
|
519
|
-
}), n = h(() => X(r(m), oe, Ae(["mip"]))), d = h(() =>
|
|
519
|
+
}), n = h(() => X(r(m), oe, Ae(["mip"]))), d = h(() => j(r(n)).filter(e.teamFilterByName, [["team", "longName"]], !0).sorted(i).addIndex(i.sortTarget).pagination(r(a), e.limit).value()), k = h(() => d.value?.totalItems);
|
|
520
520
|
function y(s) {
|
|
521
521
|
return G(e.externalTeamResolver, { ...s, championshipId: e.championshipId });
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function z(s) {
|
|
524
524
|
return te(e.externalPlayerResolver, { ...s, championshipId: e.championshipId });
|
|
525
525
|
}
|
|
526
|
-
return (s,
|
|
526
|
+
return (s, _) => (x(), S("div", null, [
|
|
527
527
|
f(r(P), { locale: c.value }, {
|
|
528
528
|
default: I(() => [
|
|
529
529
|
r(g) ? (x(), E(r(N), {
|
|
@@ -537,7 +537,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
537
537
|
"hide-columns": e.hideColumns,
|
|
538
538
|
sort: r(i),
|
|
539
539
|
"external-team-resolver": y,
|
|
540
|
-
"external-player-resolver":
|
|
540
|
+
"external-player-resolver": z,
|
|
541
541
|
"is-team-linked": s.isTeamLinked,
|
|
542
542
|
"is-player-linked": s.isPlayerLinked,
|
|
543
543
|
"append-to": t.value,
|
|
@@ -580,7 +580,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
580
580
|
}
|
|
581
581
|
},
|
|
582
582
|
setup(o) {
|
|
583
|
-
const e = o, t = C(null), p = Pe, u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } =
|
|
583
|
+
const e = o, t = C(null), p = Pe, u = h(() => e.locale), { onError: g, error: w, hasError: c } = R(), { state: m, isLoading: v } = O(
|
|
584
584
|
() => A("/v2/players-stats-national", e.apiKey, {
|
|
585
585
|
gender: e.gender
|
|
586
586
|
}),
|
|
@@ -591,14 +591,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
591
591
|
), { page: a, change: l } = re(), { sort: i, change: b } = K({
|
|
592
592
|
sortTarget: "gp",
|
|
593
593
|
orders: [{ target: "gp", direction: Z }]
|
|
594
|
-
}), n = h(() => X(r(m), oe)), d = h(() =>
|
|
594
|
+
}), n = h(() => X(r(m), oe)), d = h(() => j(n.value).sorted(i).addIndex(i.sortTarget).pagination(r(a), e.limit).value()), k = h(() => d.value?.totalItems);
|
|
595
595
|
function y(s) {
|
|
596
596
|
return G(e.externalTeamResolver, { ...s, championshipId: e.championshipId });
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function z(s) {
|
|
599
599
|
return te(e.externalPlayerResolver, { ...s, championshipId: e.championshipId });
|
|
600
600
|
}
|
|
601
|
-
return (s,
|
|
601
|
+
return (s, _) => (x(), S("div", null, [
|
|
602
602
|
f(r(P), { locale: u.value }, {
|
|
603
603
|
default: I(() => [
|
|
604
604
|
r(c) ? (x(), E(r(N), {
|
|
@@ -612,7 +612,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
612
612
|
"hide-columns": e.hideColumns,
|
|
613
613
|
sort: r(i),
|
|
614
614
|
"external-team-resolver": y,
|
|
615
|
-
"external-player-resolver":
|
|
615
|
+
"external-player-resolver": z,
|
|
616
616
|
"append-to": t.value,
|
|
617
617
|
onSort: r(b)
|
|
618
618
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "append-to", "onSort"]),
|
|
@@ -632,11 +632,11 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
632
632
|
}, 8, ["locale"])
|
|
633
633
|
]));
|
|
634
634
|
}
|
|
635
|
-
}, ur = /* @__PURE__ */ M(wr, [["styles", [F, U, Y, V, W, ae, le]]]), gr = "@layer components.variables{:where(:host){--mvw-timezone-selector-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-500));--mvw-timezone-selector-font-size: var(--font-size-300)}}@layer components{:where(.timezone-selector){padding:3px 0;color:var(--mvw-timezone-selector-color);font-size:var(--mvw-timezone-selector-font-size);font-weight:500}:where(.timezone-selector) button+button{margin-inline-start:var(--size-4)}}", br = "@layer components{:where(button){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h)}:where(button)[data-variant=link]{padding:0;color:var(--mvw-link-color);cursor:pointer}:where(button)[data-variant=link]:hover{color:light-dark(var(--_darken),var(--_lighten))}:where(button)[data-variant=link].is-active{font-weight:700;color:light-dark(var(--_darken),var(--_lighten))}}", fr = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", yr =
|
|
635
|
+
}, ur = /* @__PURE__ */ M(wr, [["styles", [F, U, Y, V, W, ae, le]]]), gr = "@layer components.variables{:where(:host){--mvw-timezone-selector-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-500));--mvw-timezone-selector-font-size: var(--font-size-300)}}@layer components{:where(.timezone-selector){padding:3px 0;color:var(--mvw-timezone-selector-color);font-size:var(--mvw-timezone-selector-font-size);font-weight:500}:where(.timezone-selector) button+button{margin-inline-start:var(--size-4)}}", br = "@layer components{:where(button){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h)}:where(button)[data-variant=link]{padding:0;color:var(--mvw-link-color);cursor:pointer}:where(button)[data-variant=link]:hover{color:light-dark(var(--_darken),var(--_lighten))}:where(button)[data-variant=link].is-active{font-weight:700;color:light-dark(var(--_darken),var(--_lighten))}}", fr = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", yr = '@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', kr = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", xr = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", zr = {
|
|
636
636
|
__name: "Schedule.ce",
|
|
637
637
|
props: {
|
|
638
638
|
...Q,
|
|
639
|
-
...
|
|
639
|
+
...je(["limit"], ze),
|
|
640
640
|
...J,
|
|
641
641
|
...De,
|
|
642
642
|
initialPage: {
|
|
@@ -662,7 +662,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
662
662
|
state: w,
|
|
663
663
|
isLoading: c,
|
|
664
664
|
execute: m
|
|
665
|
-
} =
|
|
665
|
+
} = O(
|
|
666
666
|
() => A("/v2/games-list", e.apiKey, {
|
|
667
667
|
championshipId: e.championshipId,
|
|
668
668
|
...e.division && { division: e.division },
|
|
@@ -676,12 +676,12 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
676
676
|
t(B), a?.();
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
|
-
), v = h(() =>
|
|
679
|
+
), v = h(() => Oe(w.value)), { pause: a, resume: l } = ir(m, Ke, { immediate: !1 }), { page: i, change: b } = re({
|
|
680
680
|
initial: h(() => e.initialPage),
|
|
681
681
|
items: v,
|
|
682
682
|
limit: e.limit,
|
|
683
683
|
auto: e.autoInitialPage
|
|
684
|
-
}), n = C(Fe()), d = h(() => Me(/* @__PURE__ */ new Date(), r(n), e.locale)), k = h(() =>
|
|
684
|
+
}), n = C(Fe()), d = h(() => Me(/* @__PURE__ */ new Date(), r(n), e.locale)), k = h(() => j(r(v)).filter(e.teamFilterByName, ["homeTeamName", "awayTeamName"]).schedule(r(n), r(g)).pagination(r(i), e.limit).value());
|
|
685
685
|
if (e.autoRefresh) {
|
|
686
686
|
l();
|
|
687
687
|
const B = lr();
|
|
@@ -692,10 +692,10 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
694
|
const y = h(() => k.value?.totalItems);
|
|
695
|
-
function
|
|
695
|
+
function z(B) {
|
|
696
696
|
n.value = B;
|
|
697
697
|
}
|
|
698
|
-
const s = (B) => Be(e.externalGameResolver, { gameId: B }),
|
|
698
|
+
const s = (B) => Be(e.externalGameResolver, { gameId: B }), _ = h(() => e.isGameTargetExternal ? "_blank" : "_self");
|
|
699
699
|
return (B, ne) => (x(), S("div", null, [
|
|
700
700
|
f(r(P), {
|
|
701
701
|
locale: e.locale
|
|
@@ -709,14 +709,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
709
709
|
key: e.locale,
|
|
710
710
|
locale: e.locale,
|
|
711
711
|
"current-zone": n.value,
|
|
712
|
-
onChange:
|
|
712
|
+
onChange: z
|
|
713
713
|
}, null, 8, ["locale", "current-zone"])) : T("", !0),
|
|
714
714
|
f(r(Re), {
|
|
715
715
|
rows: k.value.rows,
|
|
716
716
|
"is-loading": r(c),
|
|
717
717
|
"offset-name": d.value,
|
|
718
718
|
"hide-columns": e.hideColumns,
|
|
719
|
-
"external-game-resolver-target":
|
|
719
|
+
"external-game-resolver-target": _.value,
|
|
720
720
|
"external-game-resolver": s
|
|
721
721
|
}, null, 8, ["rows", "is-loading", "offset-name", "hide-columns", "external-game-resolver-target"]),
|
|
722
722
|
e.limit > 0 ? (x(), E(r(ee), {
|
|
@@ -732,7 +732,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
732
732
|
}, 8, ["locale"])
|
|
733
733
|
]));
|
|
734
734
|
}
|
|
735
|
-
},
|
|
735
|
+
}, _r = /* @__PURE__ */ M(zr, [["styles", [F, U, Y, V, W, gr, br, fr, yr, kr, xr]]]), Er = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", Tr = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', Ir = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Cr = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Sr = {
|
|
736
736
|
__name: "Standings.ce",
|
|
737
737
|
props: {
|
|
738
738
|
...Q,
|
|
@@ -744,7 +744,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
744
744
|
}
|
|
745
745
|
},
|
|
746
746
|
setup(o) {
|
|
747
|
-
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = h(() => e.locale), { state: c, isLoading: m } =
|
|
747
|
+
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = h(() => e.locale), { state: c, isLoading: m } = O(
|
|
748
748
|
() => A("/v2/standings", e.apiKey, {
|
|
749
749
|
championshipId: Number(e.championshipId),
|
|
750
750
|
...e.division && { division: e.division },
|
|
@@ -754,7 +754,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
754
754
|
{
|
|
755
755
|
onError: (d) => p(d)
|
|
756
756
|
}
|
|
757
|
-
), { sort: v, change: a } = K(), l = h(() =>
|
|
757
|
+
), { sort: v, change: a } = K(), l = h(() => j(r(c)).teamName().sorted(v).addContinuousIndex().value()), i = h(() => e.type === "3" ? Ge : Ue), b = (d) => a(d);
|
|
758
758
|
function n(d) {
|
|
759
759
|
return G(e.externalTeamResolver, { ...d, championshipId: e.championshipId });
|
|
760
760
|
}
|
|
@@ -804,7 +804,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
804
804
|
...J
|
|
805
805
|
},
|
|
806
806
|
setup(o) {
|
|
807
|
-
const e = o, t = Ye, p = C(null), { onError: u, error: g, hasError: w } = R(), c = h(() => e.locale), { state: m, isLoading: v } =
|
|
807
|
+
const e = o, t = Ye, p = C(null), { onError: u, error: g, hasError: w } = R(), c = h(() => e.locale), { state: m, isLoading: v } = O(
|
|
808
808
|
() => A("/v2/team-attendance", e.apiKey, {
|
|
809
809
|
championshipId: Number(e.championshipId),
|
|
810
810
|
...e.division && { division: e.division },
|
|
@@ -817,7 +817,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
817
817
|
), { sort: a, change: l } = K({
|
|
818
818
|
sortTarget: "totalAttendanceAvg",
|
|
819
819
|
orders: [{ target: "totalAttendanceAvg", direction: Z }]
|
|
820
|
-
}), i = h(() =>
|
|
820
|
+
}), i = h(() => j(r(m)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
821
821
|
function b(n) {
|
|
822
822
|
return G(e.externalTeamResolver, { ...n, championshipId: e.championshipId });
|
|
823
823
|
}
|
|
@@ -855,7 +855,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
855
855
|
...J
|
|
856
856
|
},
|
|
857
857
|
setup(o) {
|
|
858
|
-
const e = o, t = Ve, p = C(null), { onError: u, error: g, hasError: w } = R(), c = h(() => e.locale), { state: m, isLoading: v } =
|
|
858
|
+
const e = o, t = Ve, p = C(null), { onError: u, error: g, hasError: w } = R(), c = h(() => e.locale), { state: m, isLoading: v } = O(
|
|
859
859
|
() => A("/v2/team-fairplay", e.apiKey, {
|
|
860
860
|
championshipId: Number(e.championshipId),
|
|
861
861
|
...e.division && { division: e.division },
|
|
@@ -868,7 +868,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
868
868
|
), { sort: a, change: l } = K({
|
|
869
869
|
sortTarget: "pim",
|
|
870
870
|
orders: [{ target: "pim", direction: Z }]
|
|
871
|
-
}), i = h(() =>
|
|
871
|
+
}), i = h(() => j(r(m)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
872
872
|
function b(n) {
|
|
873
873
|
return G(e.externalTeamResolver, { ...n, championshipId: e.championshipId });
|
|
874
874
|
}
|
|
@@ -899,14 +899,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
899
899
|
}, 8, ["locale"])
|
|
900
900
|
]));
|
|
901
901
|
}
|
|
902
|
-
}, Ar = /* @__PURE__ */ M(Rr, [["styles", [F, U, Y, V, W, ie]]]),
|
|
902
|
+
}, Ar = /* @__PURE__ */ M(Rr, [["styles", [F, U, Y, V, W, ie]]]), jr = {
|
|
903
903
|
__name: "TeamPenaltyKilling.ce",
|
|
904
904
|
props: {
|
|
905
905
|
...Q,
|
|
906
906
|
...J
|
|
907
907
|
},
|
|
908
908
|
setup(o) {
|
|
909
|
-
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = We, c = h(() => e.locale), { state: m, isLoading: v } =
|
|
909
|
+
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = We, c = h(() => e.locale), { state: m, isLoading: v } = O(
|
|
910
910
|
() => A("/v2/team-powerplay", e.apiKey, {
|
|
911
911
|
championshipId: Number(e.championshipId),
|
|
912
912
|
...e.division && { division: e.division },
|
|
@@ -919,7 +919,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
919
919
|
), { sort: a, change: l } = K({
|
|
920
920
|
sortTarget: "pkPercent",
|
|
921
921
|
orders: [{ target: "pkPercent", direction: Z }]
|
|
922
|
-
}), i = h(() => X(r(m), be(["dvgTime", "dvgTimePP1", "dvgTimePP2"]))), b = h(() =>
|
|
922
|
+
}), i = h(() => X(r(m), be(["dvgTime", "dvgTimePP1", "dvgTimePP2"]))), b = h(() => j(r(i)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
923
923
|
function n(d) {
|
|
924
924
|
return G(e.externalTeamResolver, { ...d, championshipId: e.championshipId });
|
|
925
925
|
}
|
|
@@ -950,14 +950,14 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
950
950
|
}, 8, ["locale"])
|
|
951
951
|
]));
|
|
952
952
|
}
|
|
953
|
-
},
|
|
953
|
+
}, Or = /* @__PURE__ */ M(jr, [["styles", [F, U, Y, V, W, ie]]]), Fr = {
|
|
954
954
|
__name: "TeamPowerplay.ce",
|
|
955
955
|
props: {
|
|
956
956
|
...Q,
|
|
957
957
|
...J
|
|
958
958
|
},
|
|
959
959
|
setup(o) {
|
|
960
|
-
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = He, c = h(() => e.locale), { state: m, isLoading: v } =
|
|
960
|
+
const e = o, t = C(null), { onError: p, error: u, hasError: g } = R(), w = He, c = h(() => e.locale), { state: m, isLoading: v } = O(
|
|
961
961
|
() => A("/v2/team-powerplay", e.apiKey, {
|
|
962
962
|
championshipId: Number(e.championshipId),
|
|
963
963
|
...e.division && { division: e.division },
|
|
@@ -970,7 +970,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
970
970
|
), { sort: a, change: l } = K({
|
|
971
971
|
sortTarget: "ppPercent",
|
|
972
972
|
orders: [{ target: "ppPercent", direction: Z }]
|
|
973
|
-
}), i = h(() => X(r(m), be(["advTime", "advTimePP1", "advTimePP2"]))), b = h(() =>
|
|
973
|
+
}), i = h(() => X(r(m), be(["advTime", "advTimePP1", "advTimePP2"]))), b = h(() => j(r(i)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
974
974
|
function n(d) {
|
|
975
975
|
return G(e.externalTeamResolver, { ...d, championshipId: e.championshipId });
|
|
976
976
|
}
|
|
@@ -1008,7 +1008,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
1008
1008
|
...J
|
|
1009
1009
|
},
|
|
1010
1010
|
setup(o) {
|
|
1011
|
-
const e = o, t = qe, p = C(null), { onError: u, error: g, hasError: w } = R(), c = h(() => e.locale), { state: m, isLoading: v } =
|
|
1011
|
+
const e = o, t = qe, p = C(null), { onError: u, error: g, hasError: w } = R(), c = h(() => e.locale), { state: m, isLoading: v } = O(
|
|
1012
1012
|
() => A("/v2/team-scoring-efficiency", e.apiKey, {
|
|
1013
1013
|
championshipId: Number(e.championshipId),
|
|
1014
1014
|
...e.division && { division: e.division },
|
|
@@ -1021,7 +1021,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
1021
1021
|
), { sort: a, change: l } = K({
|
|
1022
1022
|
sortTarget: "sp",
|
|
1023
1023
|
orders: [{ target: "sp", direction: Z }]
|
|
1024
|
-
}), i = h(() =>
|
|
1024
|
+
}), i = h(() => j(r(m)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
1025
1025
|
function b(n) {
|
|
1026
1026
|
return G(e.externalTeamResolver, { ...n, championshipId: e.championshipId });
|
|
1027
1027
|
}
|
|
@@ -1052,7 +1052,7 @@ const F = `@layer normalize,theme,components.variables,components,utils;:where(:
|
|
|
1052
1052
|
}, 8, ["locale"])
|
|
1053
1053
|
]));
|
|
1054
1054
|
}
|
|
1055
|
-
}, $r = /* @__PURE__ */ M(Br, [["styles", [F, U, Y, V, W, ie]]]), Dr = L(Lr), Kr = L(
|
|
1055
|
+
}, $r = /* @__PURE__ */ M(Br, [["styles", [F, U, Y, V, W, ie]]]), Dr = L(Lr), Kr = L(_r), Gr = L(sr), Ur = L(mr), Yr = L(hr), Vr = L(Nr), Wr = L(Ar), Hr = L(Or), qr = L(Mr), Jr = L($r), Qr = L(ur), Xr = L(dr);
|
|
1056
1056
|
function Zr() {
|
|
1057
1057
|
customElements.define("mjsz-vbr-standings", Dr), customElements.define("mjsz-vbr-schedule", Kr), customElements.define("mjsz-vbr-players-leader", Gr), customElements.define("mjsz-vbr-players-penalties", Ur), customElements.define("mjsz-vbr-goalies", Yr), customElements.define("mjsz-vbr-team-attendance", Vr), customElements.define("mjsz-vbr-team-fairplay", Wr), customElements.define("mjsz-vbr-team-penalty-killing", Hr), customElements.define("mjsz-vbr-team-powerplay", qr), customElements.define("mjsz-vbr-team-scoring", Jr), customElements.define("mjsz-vbr-players-national", Qr), customElements.define("mjsz-vbr-players-toi", Xr);
|
|
1058
1058
|
}
|
|
@@ -1069,7 +1069,7 @@ export {
|
|
|
1069
1069
|
Yr as GoaliesLeaderCE,
|
|
1070
1070
|
ur as PlayersNational,
|
|
1071
1071
|
Qr as PlayersNationalCE,
|
|
1072
|
-
|
|
1072
|
+
_r as Schedule,
|
|
1073
1073
|
Kr as ScheduleCE,
|
|
1074
1074
|
Lr as Standings,
|
|
1075
1075
|
Dr as StandingsCE,
|
|
@@ -1077,7 +1077,7 @@ export {
|
|
|
1077
1077
|
Vr as TeamAttendanceCE,
|
|
1078
1078
|
Ar as TeamFairplay,
|
|
1079
1079
|
Wr as TeamFairplayCE,
|
|
1080
|
-
|
|
1080
|
+
Or as TeamPenaltyKilling,
|
|
1081
1081
|
Hr as TeamPenaltyKillingCE,
|
|
1082
1082
|
Mr as TeamPowerplay,
|
|
1083
1083
|
qr as TeamPowerplayCE,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjsz-vbr-elements/elements",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.40.
|
|
4
|
+
"version": "2.40.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Data visualization for MJSZ VBR",
|
|
7
7
|
"author": "Ákos Stegner <akos.stegner@gmail.com>",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@vueuse/core": "^13.4.0",
|
|
27
27
|
"vue": "^3.5.22",
|
|
28
|
-
"@mjsz-vbr-elements/core": "^2.40.
|
|
29
|
-
"@mjsz-vbr-elements/shared": "^2.40.
|
|
28
|
+
"@mjsz-vbr-elements/core": "^2.40.5",
|
|
29
|
+
"@mjsz-vbr-elements/shared": "^2.40.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@vitejs/plugin-vue": "^6.0.0",
|