@mjsz-vbr-elements/elements 2.37.0 → 2.38.0

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.
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/elements
3
- * version: v2.37.0 - 18/12/2025, 13:01:11
3
+ * version: v2.38.0 - 20/12/2025, 12:49:16
4
4
  * (c) 2025
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 T=null;const z=[new Promise(c=>{T=e.watch(o,_=>{l(_)!==r&&(T?T():e.nextTick(()=>T?.()),c(_))},{flush:n,deep:y,immediate:!0})})];return s!=null&&z.push(G(s,h).then(()=>e.toValue(o)).finally(()=>T?.())),Promise.race(z)}function w(l,n){if(!e.isRef(l))return t(_=>_===l,n);const{flush:y="sync",deep:s=!1,timeout:h,throwOnTimeout:T}=n??{};let x=null;const c=[new Promise(_=>{x=e.watch([o,l],([V,F])=>{r!==(V===F)&&(x?x():e.nextTick(()=>x?.()),_(V))},{flush:y,deep:s,immediate:!0})})];return h!=null&&c.push(G(h,T).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,Te=M?window.document:void 0;function ze(o){var r;const t=e.toValue(o);return(r=t?.$el)!=null?r:t}function _e(...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=>ze(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,...z){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(...z):o;try{const _=await c;a.value=_,l.value=!0,f(_)}catch(_){if(y.value=_,b(_),p)throw _}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 T(){return new Promise((x,z)=>{ye(n).toBe(!1).then(()=>x(h)).catch(z)})}return{...h,then(x,z){return T().then(x,z)}}}function Ce(o={}){const{document:r=Te}=o;if(!r)return e.shallowRef("visible");const t=e.shallowRef(r.visibilityState);return _e(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-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--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)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@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 .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()),T=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,_)=>(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":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":T.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"])]))}},q=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()),T=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,_)=>(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":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":T.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"])]))}},H=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()),T=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,_)=>(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":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":T.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()),T=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,_)=>(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":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":T.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()),T=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,_)=>(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":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":T.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) .is-active{font-weight:700}}",Be="@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)}}",Ae="@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)}}",De="@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}}",je={__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)),T=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(()=>T.value?.totalItems);function z(V){s.value=V}const c=V=>i.externalGameLinkResolver(r.externalGameResolver,{gameId:V}),_=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:T.value.rows,"is-loading":e.unref(m),"offset-name":h.value,"hide-columns":r.hideColumns,"external-game-resolver-target":_.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(je,[["styles",[S,N,I,L,R,Ve,Be,Ae,De,Oe]]]),Me="@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%}}",Fe='@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 .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)}}',$e="@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)}}",Ke="@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}}",Ge={__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,T)=>(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(Ge,[["styles",[S,Me,Fe,$e,Ke]]]),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}}",Ue={__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(Ue,[["styles",[S,N,I,L,R,O]]]),Ye={__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(Ye,[["styles",[S,N,I,L,R,O]]]),We={__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,T)=>(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(We,[["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,T)=>(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]]]),He={__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(He,[["styles",[S,N,I,L,R,O]]]),le=e.defineCustomElement(Z),ne=e.defineCustomElement(X),ie=e.defineCustomElement(q),se=e.defineCustomElement(H),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 Je={install:()=>fe()};return E.FieldPlayersLeader=q,E.FieldPlayersLeaderCE=ie,E.FieldPlayersPenalties=H,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=Je,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,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);
Binary file
Binary file