@golstats/gsc-game-data 1.0.28 → 1.0.30

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.
@@ -6,11 +6,11 @@
6
6
  * Vue 3 Carousel 0.3.1
7
7
  * (c) 2023
8
8
  * @license MIT
9
- */const rt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},au={itemsToShow:{default:rt.itemsToShow,type:Number},itemsToScroll:{default:rt.itemsToScroll,type:Number},wrapAround:{default:rt.wrapAround,type:Boolean},throttle:{default:rt.throttle,type:Number},snapAlign:{default:rt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:rt.transition,type:Number},breakpoints:{default:rt.breakpoints,type:Object},autoplay:{default:rt.autoplay,type:Number},pauseAutoplayOnHover:{default:rt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:rt.mouseDrag,type:Boolean},touchDrag:{default:rt.touchDrag,type:Boolean},dir:{default:rt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:rt.i18n,type:Object},settings:{default(){return{}},type:Object}};function WS({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function qS({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function pd({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function JS({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:pd({val:r,max:o-i,min:0})}function ou(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...ou(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function hd({val:e,max:a,min:o=0}){return e>a?hd({val:e-(a+1),max:a,min:o}):e<o?hd({val:e+(a+1),max:a,min:o}):e}function XS(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function ZS(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function YS(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var KS=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},rt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},YS(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),QS=t.defineComponent({name:"Carousel",props:au,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},rt));let l=Object.assign({},rt),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=ZS(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=WS({config:d,slidesCount:h.value}),f.value=qS({config:d,slidesCount:h.value}),d.wrapAround||(p.value=pd({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=XS(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:pd({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=hd({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>JS({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(au).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=ou(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(KS)])}}}),nu;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(nu||(nu={}));var eE=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},rt))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const tE=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},aE=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),oE={class:"gsc-carousel"},nE={key:0},sE=aE(()=>t.createElementVNode("div",null,"no hay",-1)),iE=[sE],rE={class:"gsc-carousel__2d__slides"},lE={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cE=["fill"],dE={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mE=["fill"],pE={class:"gsc-carousel__2d__navigation"},hE={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yE=["stroke"],gE={key:1,class:"gsc-carousel__2d__navigation__pagination"},uE=["onClick"],fE={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_E=["stroke"],bE={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(s,u=>{u&&c.value?(c.value=!1,h(n.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>n.items,u=>{s.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&s.value){if(n.defaultItemByProp){const f=n.items.findIndex(b=>b[n.defaultItemByProp.propName]===n.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=n.defaultItemByIndex,i.value=u[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){s.value&&s.value.next()}function l(){s.value&&s.value.prev()}function m(){s.value&&s.value.updateSlideWidth()}function p(u){s.value&&s.value.slideTo(u)}function g(u){s.value.slideTo(u)}function y(u){const f=u.slidingToIndex<0?n.items.length-1:u.slidingToIndex===n.items.length?0:u.slidingToIndex;r.value=f,i.value=n.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",oE,[n.is3d?(t.openBlock(),t.createElementBlock("div",nE,iE)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",rE,[t.createVNode(t.unref(QS),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createBlock(t.unref(eE),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:b},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=b=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",lE,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,cE)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=b=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",dE,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,mE)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",pE,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=b=>l())},[(t.openBlock(),t.createElementBlock("svg",hE,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,yE)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",gE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===k?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===k?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:B=>g(k)},null,12,uE))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=b=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",fE,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,_E)]))])):t.createCommentVNode("",!0)])],2))]))}},su=tE(bE,[["__scopeId","data-v-dd3cbf69"]]),wE={PO1:"CFI",PO2:"CFV",PO3:"SFI",PO4:"SFV",PO5:"FI",PO6:"FV"},CE={DF:"Dieciseisavos",OF:"Octavos",CF:"Cuartos",SF:"Semifinales","3ER":"Tercer lugar",FINAL:"Final"},kE={4:"Octavos",5:"Cuartos",6:"Semifinales",7:"Final"};/**
9
+ */const rt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},au={itemsToShow:{default:rt.itemsToShow,type:Number},itemsToScroll:{default:rt.itemsToScroll,type:Number},wrapAround:{default:rt.wrapAround,type:Boolean},throttle:{default:rt.throttle,type:Number},snapAlign:{default:rt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:rt.transition,type:Number},breakpoints:{default:rt.breakpoints,type:Object},autoplay:{default:rt.autoplay,type:Number},pauseAutoplayOnHover:{default:rt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:rt.mouseDrag,type:Boolean},touchDrag:{default:rt.touchDrag,type:Boolean},dir:{default:rt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:rt.i18n,type:Object},settings:{default(){return{}},type:Object}};function WS({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function qS({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function pd({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function JS({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:pd({val:r,max:o-i,min:0})}function ou(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...ou(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function hd({val:e,max:a,min:o=0}){return e>a?hd({val:e-(a+1),max:a,min:o}):e<o?hd({val:e+(a+1),max:a,min:o}):e}function XS(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function ZS(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function YS(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var KS=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},rt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},YS(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),QS=t.defineComponent({name:"Carousel",props:au,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},rt));let l=Object.assign({},rt),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=ZS(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=WS({config:d,slidesCount:h.value}),f.value=qS({config:d,slidesCount:h.value}),d.wrapAround||(p.value=pd({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=XS(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:pd({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=hd({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>JS({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(au).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=ou(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(KS)])}}}),nu;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(nu||(nu={}));var e9=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},rt))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const t9=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},a9=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),o9={class:"gsc-carousel"},n9={key:0},s9=a9(()=>t.createElementVNode("div",null,"no hay",-1)),i9=[s9],r9={class:"gsc-carousel__2d__slides"},l9={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c9=["fill"],d9={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m9=["fill"],p9={class:"gsc-carousel__2d__navigation"},h9={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y9=["stroke"],g9={key:1,class:"gsc-carousel__2d__navigation__pagination"},u9=["onClick"],f9={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_9=["stroke"],b9={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(s,u=>{u&&c.value?(c.value=!1,h(n.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>n.items,u=>{s.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&s.value){if(n.defaultItemByProp){const f=n.items.findIndex(b=>b[n.defaultItemByProp.propName]===n.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=n.defaultItemByIndex,i.value=u[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){s.value&&s.value.next()}function l(){s.value&&s.value.prev()}function m(){s.value&&s.value.updateSlideWidth()}function p(u){s.value&&s.value.slideTo(u)}function g(u){s.value.slideTo(u)}function y(u){const f=u.slidingToIndex<0?n.items.length-1:u.slidingToIndex===n.items.length?0:u.slidingToIndex;r.value=f,i.value=n.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",o9,[n.is3d?(t.openBlock(),t.createElementBlock("div",n9,i9)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",r9,[t.createVNode(t.unref(QS),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createBlock(t.unref(e9),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:b},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=b=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",l9,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,c9)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=b=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",d9,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,m9)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",p9,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=b=>l())},[(t.openBlock(),t.createElementBlock("svg",h9,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,y9)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",g9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===k?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===k?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:B=>g(k)},null,12,u9))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=b=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",f9,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,_9)]))])):t.createCommentVNode("",!0)])],2))]))}},su=t9(b9,[["__scopeId","data-v-dd3cbf69"]]),w9={PO1:"CFI",PO2:"CFV",PO3:"SFI",PO4:"SFV",PO5:"FI",PO6:"FV"},C9={DF:"Dieciseisavos",OF:"Octavos",CF:"Cuartos",SF:"Semifinales","3ER":"Tercer lugar",FINAL:"Final"},k9={4:"Octavos",5:"Cuartos",6:"Semifinales",7:"Final"};/**
10
10
  * Vue 3 Carousel 0.3.1
11
11
  * (c) 2023
12
12
  * @license MIT
13
- */const ot={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},iu={itemsToShow:{default:ot.itemsToShow,type:Number},itemsToScroll:{default:ot.itemsToScroll,type:Number},wrapAround:{default:ot.wrapAround,type:Boolean},throttle:{default:ot.throttle,type:Number},snapAlign:{default:ot.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ot.transition,type:Number},breakpoints:{default:ot.breakpoints,type:Object},autoplay:{default:ot.autoplay,type:Number},pauseAutoplayOnHover:{default:ot.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ot.mouseDrag,type:Boolean},touchDrag:{default:ot.touchDrag,type:Boolean},dir:{default:ot.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ot.i18n,type:Object},settings:{default(){return{}},type:Object}};function SE({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function EE({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function yd({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function NE({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:yd({val:r,max:o-i,min:0})}function ru(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...ru(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function gd({val:e,max:a,min:o=0}){return e>a?gd({val:e-(a+1),max:a,min:o}):e<o?gd({val:e+(a+1),max:a,min:o}):e}function $E(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function BE(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function xE(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var VE=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},ot))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},xE(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),IE=t.defineComponent({name:"Carousel",props:iu,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},ot));let l=Object.assign({},ot),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=BE(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=SE({config:d,slidesCount:h.value}),f.value=EE({config:d,slidesCount:h.value}),d.wrapAround||(p.value=yd({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=$E(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:yd({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=gd({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>NE({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(iu).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=ru(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(VE)])}}}),ud;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(ud||(ud={}));const AE={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"};function OE(e){return e in ud}const fd=e=>{const a=t.inject("config",t.reactive(Object.assign({},ot))),o=String(e.name),n=`icon${o.charAt(0).toUpperCase()+o.slice(1)}`;if(!o||typeof o!="string"||!OE(o))return;const s=AE[o],i=t.h("path",{d:s}),r=a.i18n[n]||e.title||o,c=t.h("title",r);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":r},[c,i])};fd.props={name:String,title:String};const TE=(e,{slots:a,attrs:o})=>{const{next:n,prev:s}=a||{},i=t.inject("config",t.reactive(Object.assign({},ot))),r=t.inject("maxSlide",t.ref(1)),c=t.inject("minSlide",t.ref(1)),h=t.inject("currentSlide",t.ref(1)),d=t.inject("nav",{}),{dir:l,wrapAround:m,i18n:p}=i,g=l==="rtl",y=t.h("button",{type:"button",class:["carousel__prev",!m&&h.value<=c.value&&"carousel__prev--disabled",o==null?void 0:o.class],"aria-label":p.ariaPreviousSlide,onClick:d.prev},(s==null?void 0:s())||t.h(fd,{name:g?"arrowRight":"arrowLeft"})),u=t.h("button",{type:"button",class:["carousel__next",!m&&h.value>=r.value&&"carousel__next--disabled",o==null?void 0:o.class],"aria-label":p.ariaNextSlide,onClick:d.next},(n==null?void 0:n())||t.h(fd,{name:g?"arrowLeft":"arrowRight"}));return[y,u]};var zE=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},ot))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const Ht=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},FE={__name:"MatchDay",props:{isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"'Poppins-Regular', sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},matchDay:{type:Object,default:()=>{}},matchDaySelected:{type:Object,default:()=>{}},componentWidth:{type:Number,default:0}},emits:["change-match-day"],setup(e,{emit:a}){const o=e,n=t.computed(()=>{const c={"background-color":o.backgroundColor,height:o.height};return o.matchDay.key===o.matchDaySelected.key&&(c["border-bottom"]=`solid 1px ${o.bottomLineColor}`,c["background-color"]=o.selectedMatchDayBackgroundColor),o.isLandingMode||(c["border-right"]="solid 1px rgba(255, 255, 255, 0.1)"),c}),s=t.computed(()=>({color:o.numberColor,"font-family":o.numberFontFamily,"font-size":o.numberFontSize})),i=t.computed(()=>({color:o.textColor,"font-family":o.textFontFamily,"font-size":o.textFontSize}));function r(c){a("click-match-day",c)}return(c,h)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day",style:t.normalizeStyle({...n.value}),onClick:h[0]||(h[0]=d=>r(e.matchDay))},[t.createElementVNode("div",{class:"match-day__value",style:t.normalizeStyle(s.value)},t.toDisplayString(e.matchDay.valueText),5),Number.isNaN(e.matchDay.value)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"match-day__text",style:t.normalizeStyle([e.isLandingMode?"margin-top:3px":"margin-top:4px",i.value])},t.toDisplayString(e.isLandingMode||e.componentWidth<=425?"JOR":"JORNADA"),5))],4))}},RE=Ht(FE,[["__scopeId","data-v-687d929a"]]),PE={__name:"MatchDayPicker",props:{matchDays:{type:Array,default:()=>[]},isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},defaultMatchDayKey:{type:[String,null],default:""},componentWidth:{type:Number,default:0}},emits:["change-match-day"],setup(e,{emit:a}){const o=e;t.useCssVars(d=>({"2c74e7d9":i.value,"2c73d099":r.value}));const n=t.ref(null),s=t.computed(()=>({itemsToShow:o.itemsToShow,itemsToScroll:o.itemsToScroll,snapAlign:"start"})),i=t.computed(()=>n.value.data.currentSlide.value==0?"none":"inline"),r=t.computed(()=>n.value.data.currentSlide.value==n.value.data.maxSlide.value?"none":"inline"),c=t.ref({});t.watch(()=>o.matchDays,d=>{if(d&&d.length){const l=d.find(m=>m.key===o.defaultMatchDayKey);c.value=l||d[0],a("change-match-day",c.value)}},{immediate:!0});function h(d){c.value=d,a("change-match-day",c.value)}return(d,l)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day-picker",style:t.normalizeStyle(e.isLandingMode?"border-top-left-radius: 9px; border-top-right-radius: 9px;":"margin-bottom:12px")},[t.createVNode(t.unref(IE),t.mergeProps(s.value,{ref_key:"matchDayPickerCarousel",ref:n}),{addons:t.withCtx(()=>[t.createVNode(t.unref(TE))]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.matchDays,m=>(t.openBlock(),t.createBlock(t.unref(zE),{key:m.key},{default:t.withCtx(()=>[t.createVNode(RE,t.mergeProps(o,{"match-day":m,"match-day-selected":c.value,"is-landing-mode":e.isLandingMode,"component-width":e.componentWidth,onClickMatchDay:h}),null,16,["match-day","match-day-selected","is-landing-mode","component-width"])]),_:2},1024))),128))]),_:1},16)],4))}},DE=Ht(PE,[["__scopeId","data-v-523ebbb9"]]);function So(e,a=80){return`${{}.TEAM_LOGOS_URL||"https://az755631.vo.msecnd.net/teams-"}${a}/${e}.png`}function lu(e){if(typeof e=="string"){let a=e.replace("M","J ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a}}function jE(e){let a="";return e.game_status!=4&&(a+="Finalizado"),(e.penalties_score_home_team!=0||e.penalties_score_visiting_team!=0)&&(a+=" - Penales "+e.penalties_score_home_team+" - "+e.penalties_score_visiting_team),a}const LE={class:"game-info__teams"},vE={class:"game-info__teams__team__logo"},ME=["src"],HE={class:"game-info__teams__detail"},UE={key:0,class:"game-info__teams__detail__pre-game"},GE={class:"game-info__teams__team__logo away"},WE=["src"],qE={key:0},JE={key:0},XE={key:1},ZE={__name:"GameInfo",props:{isLandingMode:{type:Boolean,default:!1},isAcronymVisible:{type:Boolean,default:!1},isTelevisionVisible:{type:Boolean,default:!0},game:{type:Object,required:!0},colorPrimary:{type:String,default:"white"},colorSecondary:{type:String,default:"grey"},namesFontSize:{type:String,default:"12px"},timeFontSize:{type:String,default:"12px"},timeZoneFontSize:{type:String,default:"8px"},scoreFontSize:{type:String,default:"13px"},namesFontFamily:{type:String,default:"sans-serif"},scoreFontFamily:{type:String,default:"sans-serif"},additionalInfoFontFamily:{type:String,default:"sans-serif"},additionalInfoFontSize:{type:String,default:"9px"}},setup(e){const a=e,o=t.computed(()=>{const d=new Date(a.game.dateTimeMillis),l=d.getHours(),m=d.getMinutes();return`${l<10?`0${l}`:l}:${m<10?`0${m}`:m}`}),n=t.computed(()=>{let d="120px";return(a.isLandingMode||a.isAcronymVisible)&&(d="70px"),{"min-width":d}}),s=t.computed(()=>({"font-size":a.namesFontSize,"font-family":a.namesFontFamily,color:a.colorPrimary})),i=t.computed(()=>({"font-size":a.additionalInfoFontSize,"font-family":a.additionalInfoFontFamily,color:a.colorSecondary})),r=t.computed(()=>({"font-size":a.scoreFontSize,"font-family":a.scoreFontFamily,color:a.colorPrimary})),c=t.computed(()=>({"font-size":a.timeZoneFontSize,"font-family":a.namesFontFamily,color:a.colorPrimary})),h=t.computed(()=>({"font-size":a.timeFontSize,"font-family":a.namesFontFamily,color:a.colorPrimary}));return(d,l)=>(t.openBlock(),t.createElementBlock("div",{class:"game-info",style:t.normalizeStyle(e.isLandingMode?"gap:5px":"")},[t.createElementVNode("div",LE,[t.createElementVNode("div",{class:"game-info__teams__team",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(s.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.home_team.acronym:e.game.home_team.colloquial_name),5),t.createElementVNode("div",vE,[t.createElementVNode("img",{src:t.unref(So)(e.game.home_team.team_id),alt:""},null,8,ME)])],4),t.createElementVNode("div",HE,[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("div",UE,[t.createElementVNode("div",null,[t.createElementVNode("span",{style:t.normalizeStyle(h.value)},t.toDisplayString(o.value),5),t.createTextVNode(),t.createElementVNode("span",{style:t.normalizeStyle(c.value)},"CST",4)])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"game-info__teams__detail__score",style:t.normalizeStyle(r.value)},[t.createElementVNode("span",null,t.toDisplayString(e.game.score[0])+" - "+t.toDisplayString(e.game.score[1]),1)],4))]),t.createElementVNode("div",{class:"game-info__teams__team away",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",GE,[t.createElementVNode("img",{src:t.unref(So)(e.game.visiting_team.team_id),alt:""},null,8,WE)]),t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(s.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.visiting_team.acronym:e.game.visiting_team.colloquial_name),5)],4)]),t.createElementVNode("div",{class:"game-info__status",style:t.normalizeStyle([i.value,e.isLandingMode?"line-height: normal":""])},[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("span",qE,[e.isTelevisionVisible?(t.openBlock(),t.createElementBlock("span",JE,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",XE,t.toDisplayString(t.unref(jE)(e.game)),1))],4)],4))}},cu=Ht(ZE,[["__scopeId","data-v-2b206f6a"]]),du=e=>(t.pushScopeId("data-v-e2fc9ed0"),e=e(),t.popScopeId(),e),YE={class:"game-status"},KE={key:0,class:"game-status__day__live"},QE=du(()=>t.createElementVNode("span",null,"LIVE",-1)),e9=du(()=>t.createElementVNode("span",{class:"dot"},null,-1)),t9=[QE,e9],a9={key:0,class:"game-status__round"},o9={__name:"GameStatus",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},status:{type:Number,default:4},isLive:{type:Boolean,default:!1},dateTimeMillis:{type:Number,default:0},roundAbbreviation:{type:String,default:""},fontSize:{type:String,default:"10px"}},setup(e){const a=e,o=["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],n=t.computed(()=>{let r="";if(a.dateTimeMillis){const c=new Date(a.dateTimeMillis);r=`${c.getDate()} ${o[c.getMonth()]}`}return r}),s=t.computed(()=>({"font-size":a.fontSize})),i=t.computed(()=>{let r=[];return a.isLive?r.push("live"):a.status!==1&&r.push("pre-match"),r});return(r,c)=>(t.openBlock(),t.createElementBlock("div",YE,[t.createElementVNode("div",{class:t.normalizeClass(["game-status__day",i.value]),style:t.normalizeStyle(s.value)},[e.isLive?(t.openBlock(),t.createElementBlock("div",KE,t9)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n.value),1)],64))],6),e.isRoundMode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",a9,t.toDisplayString(e.roundAbbreviation),1))]))}},mu=Ht(o9,[["__scopeId","data-v-e2fc9ed0"]]),Ut={SHOW_GAME_EVENTS:"SHOW_GAME_EVENTS",PLAY_GOALS:"PLAY_GOALS",PLAY_RESUME:"PLAY_RESUME",NOTIFICATION:"NOTIFICATION",STATISTICS:"STATISTICS"},n9=e=>(t.pushScopeId("data-v-5711c5a6"),e=e(),t.popScopeId(),e),s9={class:"actions"},i9={class:"actions__row"},r9=n9(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),l9=[r9],c9={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d9=["fill"],m9={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p9=["fill"],h9={__name:"GameActionsLanding",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1}},emits:["action"],setup(e,{emit:a}){const o=e,n=t.computed(()=>({backgroundColor:o.iconBackgroundColor,borderColor:o.iconBorderColor}));function s(i){a("action",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",s9,[t.createElementVNode("div",i9,[t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:r[0]||(r[0]=c=>s(t.unref(Ut).STATISTICS))},l9,4),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:r[1]||(r[1]=c=>s(t.unref(Ut).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",c9,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:o.iconColor},null,8,d9)]))],4)):t.createCommentVNode("",!0),e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button",onClick:r[2]||(r[2]=c=>s(t.unref(Ut).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",m9,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:o.iconColor},null,8,p9)]))])):t.createCommentVNode("",!0)])]))}},y9=Ht(h9,[["__scopeId","data-v-5711c5a6"]]),_d=e=>(t.pushScopeId("data-v-9350c7c8"),e=e(),t.popScopeId(),e),g9={class:"actions"},u9={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f9=["fill"],_9={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b9=["fill"],w9=_d(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),C9=[w9],k9={key:0,class:"actions__videos"},S9={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E9=["fill"],N9={key:1,class:"actions__videos__thumbnails"},$9=_d(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__goals"},null,-1)),B9=_d(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__summary"},null,-1)),x9={height:24,width:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V9=["stroke"],I9={__name:"GameActionsFull",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},areEventsVisible:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1},arrowColor:{type:String,default:"white"},thumbnailFontFamily:{type:String,default:"sans-serif"},thumbnailFontSize:{type:String,default:"8px"},thumbnailColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:a}){const o=e,n=t.computed(()=>({backgroundColor:o.iconBackgroundColor,borderColor:o.iconBorderColor})),s=t.computed(()=>{const h=[];return o.componentWidth<540&&h.push("mobile"),h}),i=t.computed(()=>o.componentWidth>730),r=t.computed(()=>({color:o.thumbnailColor,fontFamily:o.thumbnailFontFamily,fontSize:o.thumbnailFontSize}));function c(h){a("action",h)}return(h,d)=>(t.openBlock(),t.createElementBlock("div",g9,[t.createElementVNode("div",{class:t.normalizeClass(["actions__buttons",s.value])},[e.gameStatus===4444&&!e.isLive&&!i.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:d[0]||(d[0]=l=>c(t.unref(Ut).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",u9,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:o.iconColor},null,8,f9)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo&&!i.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:d[1]||(d[1]=l=>c(t.unref(Ut).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",_9,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:o.iconColor},null,8,b9)]))],4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:d[2]||(d[2]=l=>c(t.unref(Ut).STATISTICS))},C9,4)],2),i.value?(t.openBlock(),t.createElementBlock("div",k9,[e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:d[3]||(d[3]=l=>c(t.unref(Ut).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",S9,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:o.iconColor},null,8,E9)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",N9,[t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail",onClick:d[4]||(d[4]=l=>c(t.unref(Ut).PLAY_GOALS))},[$9,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(r.value)}," Goles ",4)]),t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail",onClick:d[5]||(d[5]=l=>c(t.unref(Ut).PLAY_RESUME))},[B9,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(r.value)}," Resumen ",4)])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.gameStatus!==4||e.isLive?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["actions__button expand",{"rotated-180":e.areEventsVisible,mobile:e.componentWidth<540}]),onClick:d[6]||(d[6]=l=>c(t.unref(Ut).SHOW_GAME_EVENTS))},[(t.openBlock(),t.createElementBlock("svg",x9,[t.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:e.arrowColor},null,8,V9)]))],2)):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["actions__button expand",{"rotated-180":!1,mobile:e.componentWidth<540}])},null,2))]))}},A9=Ht(I9,[["__scopeId","data-v-9350c7c8"]]),Ci=e=>(t.pushScopeId("data-v-1b5d4b19"),e=e(),t.popScopeId(),e),O9={class:"row-landing__game-status"},T9={class:"row-landing__game-actions"},z9={class:"row-full__game-status"},F9={class:"row-full__game-info"},R9={key:0},P9={class:"row-full__game-actions"},D9={class:"game-events-container"},j9=Ci(()=>t.createElementVNode("div",{class:"separator"},null,-1)),L9=Ci(()=>t.createElementVNode("div",null,null,-1)),v9={class:"game-events__data"},M9={class:"game-events__data__team"},H9=["src"],U9={class:"game-events__data__team__event__text"},G9={class:"game-events__data__team away"},W9={class:"game-events__data__team__event__text"},q9=["src"],J9=Ci(()=>t.createElementVNode("div",null,null,-1)),X9=Ci(()=>t.createElementVNode("div",null,null,-1)),Z9={__name:"CalendarRow",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},game:{type:Object,required:!0},height:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#172531"},showPlayButton:{type:Boolean,default:!1},componentWidth:{type:Number,default:400,validator(e){return e>0}},televisionFontSize:{type:String,default:"12px"},televisionFontFamily:{type:String,default:"sans-serif"},televisionColor:{type:String,default:"rgba(255, 255, 255, 0.5)"}},emits:["action"],setup(e,{emit:a}){const o=e,n={GOAL:{}.GAME_EVENTS_ICONS_GOAL||"/icn-gol.svg",RED_CARD:{}.GAME_EVENTS_ICONS_RED_CARD||"/icn-expulsion.svg",YELLOW_CARD:{}.GAME_EVENTS_ICONS_YELLOW_CARD||"/icn-amarilla.svg"},s=t.ref(!1),i=t.ref(!1),r=t.computed(()=>{const y={homeTeam:[],awayTeam:[]};return o.game&&o.game.game_status!==4&&!o.game.is_live&&o.game.minutes&&(y.homeTeam.push(...p(o.game.minutes.home_goals_minutes,n.GOAL)),y.homeTeam.push(...p(o.game.minutes.home_red_cards_minutes,n.RED_CARD)),y.homeTeam.push(...p(o.game.minutes.home_yellow_cards_minutes,n.YELLOW_CARD)),y.awayTeam.push(...p(o.game.minutes.visiting_goals_minutes,n.GOAL)),y.awayTeam.push(...p(o.game.minutes.away_red_cards_minutes,n.RED_CARD)),y.awayTeam.push(...p(o.game.minutes.away_yellow_cards_minutes,n.YELLOW_CARD))),y}),c=t.computed(()=>({"background-color":o.backgroundColor})),h=t.computed(()=>({height:o.height})),d=t.computed(()=>{const y={game:[],events:[]};return o.componentWidth<500?(y.events.push("break-point-3"),y.game.push("break-point-2")):o.componentWidth<730?(y.game.push("break-point-2"),y.events.push("break-point-2")):o.componentWidth<910&&(y.game.push("break-point-1"),y.events.push("break-point-1")),y}),l=t.computed(()=>({isLandingMode:o.isLandingMode,game:o.game,colorPrimary:"#fff",colorSecondary:"#fff",namesFontSize:"12px",timeFontSize:"12px",timeZoneFontSize:"8px",scoreFontSize:"13px",namesFontFamily:"sans-serif",scoreFontFamily:"sans-serif",additionalInfoFontFamily:"sans-serif",additionalInfoFontSize:"9px"})),m=t.computed(()=>({"font-size":o.televisionFontSize,"font-family":o.televisionFontFamily,color:o.televisionColor}));t.watch(()=>o.componentWidth,y=>{i.value=y<910});function p(y,u){return y.map(f=>({iconUrl:u,text:f}))}function g(y){y===Ut.SHOW_GAME_EVENTS?s.value=!s.value:a("action",{action:y,game:o.game})}return(y,u)=>e.isLandingMode?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-landing",style:t.normalizeStyle(c.value)},[t.createVNode(cu,{game:e.game,"is-landing-mode":e.isLandingMode},null,8,["game","is-landing-mode"]),t.createElementVNode("div",O9,[t.createVNode(mu,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(lu)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",T9,[t.createVNode(y9,{"is-live":!!e.game.is_live,"has-video":!!e.game.has_video,"game-status":e.game.game_status,"show-play-button":!0,onAction:g},null,8,["is-live","has-video","game-status"])])],4)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"row-full-container",style:t.normalizeStyle(c.value)},[t.createElementVNode("div",{class:t.normalizeClass(["row-full",d.value.game]),style:t.normalizeStyle(h.value)},[t.createElementVNode("div",z9,[t.createVNode(mu,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(lu)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",F9,[t.createVNode(cu,t.mergeProps(l.value,{"is-television-visible":i.value,game:e.game,"is-landing-mode":e.isLandingMode,"is-acronym-visible":e.componentWidth<540}),null,16,["is-television-visible","game","is-landing-mode","is-acronym-visible"])]),e.componentWidth>=910?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-full__television",style:t.normalizeStyle(m.value)},[!i.value&&(e.game.game_status===4||e.game.is_live)?(t.openBlock(),t.createElementBlock("span",R9,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",P9,[t.createVNode(A9,{"is-live":!!e.game.is_live,"has-video":!!e.game.has_video,"game-status":e.game.game_status,"show-play-button":!0,"are-events-visible":s.value,"component-width":e.componentWidth,onAction:g},null,8,["is-live","has-video","game-status","are-events-visible","component-width"])])],6),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",D9,[j9,t.createElementVNode("div",{class:t.normalizeClass(["game-events",d.value.events])},[L9,t.createElementVNode("div",v9,[t.createElementVNode("div",M9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value.homeTeam,(f,b)=>(t.openBlock(),t.createElementBlock("div",{key:`h${b}`,class:"game-events__data__team__event"},[t.createElementVNode("img",{src:f.iconUrl},null,8,H9),t.createElementVNode("div",U9,t.toDisplayString(f.text),1)]))),128))]),t.createElementVNode("div",G9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value.awayTeam,(f,b)=>(t.openBlock(),t.createElementBlock("div",{key:`a${b}`,class:"game-events__data__team__event"},[t.createElementVNode("div",W9,t.toDisplayString(f.text),1),t.createElementVNode("img",{src:f.iconUrl},null,8,q9)]))),128))])]),J9,X9],2)],512),[[t.vShow,s.value]])]),_:1})],4))}},pu=Ht(Z9,[["__scopeId","data-v-1b5d4b19"]]),Y9={class:"calendar-table"},K9={__name:"CalendarTable",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},gamesPerPage:{type:Array,default:()=>[]},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:a}){const o=e;function n(i){return i%2===0?o.evenRowColor:o.oddRowColor}function s(i){a("action",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",Y9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.gamesPerPage,(c,h)=>(t.openBlock(),t.createBlock(pu,{key:c.game_id,game:c,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":n(h),"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:s},null,8,["game","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))}},Q9=Ht(K9,[["__scopeId","data-v-c8583c72"]]),eN={class:"calendar-by-team"},tN={class:"playing-as-picker"},aN={class:"calendar-by-team__page"},oN={__name:"CalendarTableByTeam",props:{teamId:{type:Number,default:0},isPaginationVisible:{type:Boolean,default:!0},gamesPages:{type:Map,default:()=>new Map},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},rowHeight:{type:String,default:"fit-content"},nameRowColor:{type:String,default:"#172531"},gameRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:a}){const o=e,n=t.ref(0),s=t.computed(()=>{let h=[];if(o.gamesPages.size>0){const d=Array.from(o.gamesPages.entries()).reduce((l,[m,p])=>{const g=Number(m),y=Number.isNaN(g)?m:`Jornada ${g<10?"0":""}${g}`,u=p.reduce((f,b)=>(f.push(...b),f),[]).filter(f=>n.value===0||n.value===1&&f.visiting_team.team_id===o.teamId?!0:n.value===2&&f.home_team.team_id===o.teamId);return u.length>0&&l.push({roundName:y,games:u}),l},[]);h.push(d)}return h});function i(h){a("action",h)}function r(h){document.querySelector("#opc0").classList.remove("selected"),document.querySelector("#opc1").classList.remove("selected"),document.querySelector("#opc2").classList.remove("selected"),n.value=h,document.querySelector("#opc"+h).classList.add("selected")}function c(h){let d=h;switch(h){case"PI1":d="Play In 1";break;case"PI2":d="Play In 2";break;case"R1":d="Repechaje";break;case"CFI":d="Cuartos de final - Ida";break;case"CFV":d="Cuartos de final - Vuelta";break;case"SFI":d="Semifinal - Ida";break;case"SFV":d="Semifinal - Vuelta";break;case"FI":d="Final - Ida";break;case"FV":d="Final - Vuelta";break}return d}return(h,d)=>(t.openBlock(),t.createElementBlock("div",eN,[t.createElementVNode("div",tN,[t.createElementVNode("div",{class:"playing-as-picker__type selected",id:"opc0",onClick:d[0]||(d[0]=l=>r(0))},"Todas"),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc1",onClick:d[1]||(d[1]=l=>r(1))},"Visitante"),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc2",onClick:d[2]||(d[2]=l=>r(2))},"Local")]),t.createVNode(t.unref(su),{"is-pagination-visible":e.isPaginationVisible,items:s.value},{default:t.withCtx(({item:l})=>[t.createElementVNode("div",aN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l,(m,p)=>(t.openBlock(),t.createElementBlock("div",{key:p,class:"calendar-by-team__page__round"},[t.createElementVNode("div",{class:"calendar-by-team__page__round__round-name",style:t.normalizeStyle([{color:"white"},e.componentWidth<=425?"padding: 5px 10px":""])},t.toDisplayString(c(m.roundName)),5),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.games,g=>(t.openBlock(),t.createBlock(pu,{key:g.game_id,game:g,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":e.gameRowColor,"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:i},null,8,["game","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))),128))])]),_:1},8,["is-pagination-visible","items"])]))}},nN=Ht(oN,[["__scopeId","data-v-875ef70b"]]),sN="_image62Icon_1ybd3_2",iN="_imgChivasIcon_1ybd3_11",rN="_nameDesktop_1ybd3_18",lN="_nameMobile_1ybd3_31",cN="_homeTeam_1ybd3_43",dN="_sbado16De_1ybd3_54",mN="_gameDate_1ybd3_63",pN="_sab16092023_1ybd3_67",hN="_div_1ybd3_80",yN="_divscore_1ybd3_89",gN="_cst_1ybd3_99",uN="_hour_1ybd3_108",fN="_score_1ybd3_109",_N="_chivasTvCanal_1ybd3_120",bN="_gameStatus_1ybd3_132",wN="_matchInfo_1ybd3_143",CN="_image62Icon1_1ybd3_156",kN="_name_1ybd3_18",SN="_imgAtlasIcon_1ybd3_178",EN="_name1_1ybd3_185",NN="_awayTeam_1ybd3_197",$N="_matchCard_1ybd3_208",BN={image62Icon:sN,imgChivasIcon:iN,nameDesktop:rN,nameMobile:lN,homeTeam:cN,sbado16De:dN,gameDate:mN,sab16092023:pN,div:hN,divscore:yN,cst:gN,hour:uN,score:fN,chivasTvCanal:_N,gameStatus:bN,matchInfo:wN,image62Icon1:CN,name:kN,imgAtlasIcon:SN,name1:EN,awayTeam:NN,matchCard:$N},xN=["src"],VN=["src"],IN={key:0},AN=["src"],ON=["src"],TN={__name:"CardPreMatch",props:{game:{type:Object,default:()=>{}}},setup(e){const a=e,o=t.computed(()=>{const s={...a.game};return s.gameSchedule=a.game.schedule.split(":"),s.gameSchedule.pop(),s.gameSchedule=s.gameSchedule.join(":"),s});function n(s,i){const r=new Date(s);if(i==1){const c=["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],h=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"];return`${c[r.getDay()]} ${r.getDate()} de ${h[r.getMonth()]}`}else return`${r.getDate()}-${r.getMonth()}-${r.getFullYear()}`}return(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(s.$style.matchCard)},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.homeTeam),id:"container-home-team"},[t.createElementVNode("img",{class:t.normalizeClass(s.$style.image62Icon),alt:"",src:t.unref(So)(o.value.home_team.team_id,150)},null,10,xN),t.createElementVNode("img",{class:t.normalizeClass(s.$style.imgChivasIcon),alt:"",src:t.unref(So)(o.value.home_team.team_id)},null,10,VN),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.nameDesktop),id:"team-name"},t.toDisplayString(o.value.home_team.colloquial_name),3),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.nameMobile),id:"team-name"},t.toDisplayString(o.value.home_team.acronym),3)],2),o.value.game_status==4?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(s.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.sbado16De)},t.toDisplayString(n(o.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.sab16092023)},t.toDisplayString(n(o.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.hour)},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.div)},t.toDisplayString(o.value.gameSchedule),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.cst)},"CST",2)],2),t.createElementVNode("div",{class:t.normalizeClass(s.$style.chivasTvCanal)},t.toDisplayString(o.value.tv_stations.join(", ")),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(s.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass([s.$style.sbado16De,s.$style.gameDate])},t.toDisplayString(n(o.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass([s.$style.sab16092023,s.$style.gameDate])},t.toDisplayString(n(o.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.divscore)},t.toDisplayString(o.value.score.join(" - ")),3)],2),t.createElementVNode("div",{class:t.normalizeClass(s.$style.gameStatus)},[t.createTextVNode(" Finalizado "),o.value.penalties_score_home_team!=0||o.value.penalties_score_visiting_team!=0?(t.openBlock(),t.createElementBlock("span",IN," - Penales "+t.toDisplayString(o.value.penalties_score_home_team)+" - "+t.toDisplayString(o.value.penalties_score_visiting_team),1)):t.createCommentVNode("",!0)],2)],2)),t.createElementVNode("div",{class:t.normalizeClass(s.$style.awayTeam),id:"container-away-team"},[t.createElementVNode("img",{class:t.normalizeClass(s.$style.image62Icon1),alt:"",src:t.unref(So)(o.value.visiting_team.team_id,150)},null,10,AN),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.name),id:"team-name"},t.toDisplayString(o.value.visiting_team.colloquial_name),3),t.createElementVNode("img",{class:t.normalizeClass(s.$style.imgAtlasIcon),alt:"",src:t.unref(So)(o.value.visiting_team.team_id)},null,10,ON),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.name1),id:"team-name"},t.toDisplayString(o.value.visiting_team.acronym),3)],2)],2))}},zN={$style:BN},FN=Ht(TN,[["__cssModules",zN]]),RN={class:"calendar-by-game__carousel"},PN={__name:"GSC-CalendarByGame",props:{height:{type:String,default:"fit-content"},width:{type:String,default:"100%"},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},isRoundPickerVisible:{type:Boolean,default:!0},isPaginationVisible:{type:Boolean,default:!0},awaitForSeasons:{type:Boolean,default:!1},seasons:{type:Array,default:()=>[]},isCup:{type:Boolean,default:!1},isCupLegacy:{type:Boolean,default:!1},token:{type:String,default:""},pagesWithGames:{type:Array,default:()=>[]},maxGamesToShow:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},areRoundsVisible:{type:Boolean,default:!0},gamesPerMatchDay:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},games:{type:Array,default:()=>null},teamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},avoidTeamIdFilter:{type:Boolean,default:!1},areGamesCarouselType:{type:Boolean,default:!1},defaultGameId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}}},emits:["tournament-selected","change-teams","change-round","change-game-carousel","action"],setup(e,{emit:a}){const o=e;let n=null;const s=t.ref([]),i=t.ref({}),r=t.ref([]),c=t.ref(0),h=t.ref(null),d=t.ref({}),l=t.ref(new Map),m=t.ref(!1),p=t.ref(null),g=t.ref(null),y=t.ref(null),u=t.computed(()=>o.isCup),f=t.computed(()=>o.isCupLegacy),b=t.computed(()=>({height:o.height,width:o.width})),k=t.computed(()=>o.games?V(o.games):l.value.get(d.value.key)||[]);t.watch(()=>o.seasons,K=>{K&&K.length&&(m.value=!0,s.value=K.map(R=>R.id),C(K,!0))},{immediate:!0,deep:!0}),t.watch(()=>o.teamId,()=>{N()});async function B(K,R,w=""){let E=w;try{const O={};o.token&&(O.Authorization=o.token),E||(E="https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?",K.forEach((ee,ae)=>{E+=`${ae===0?"":"&"}seasons=${ee}`}));const{data:{data:oe,teams:ne}}=await tu.get(E,{headers:O});return{seasonsAndGames:oe,seasonsAndTeams:ne}}catch(O){if(R>0)return B(K,R-1,E);throw new Error(O)}}function _(K){for(const R of K)if(!s.value.includes(R.season_id))return!0;return!1}async function C(K,R){try{i.value={};let w=0;const{seasonsAndGames:E,seasonsAndTeams:O}=await B(K.map(ne=>ne.id),3);if(R&&_(E))return;E.forEach(ne=>{const{type:ee}=K.find(ae=>ae.id===ne.season_id);ne.type=ee,ne.games.forEach(ae=>{ae.season_id=ne.season_id}),ee===0&&(w=ne.season_id)}),p.value={seasonsGames:E};const{teams:oe}=O.find(ne=>ne.season_id===w);g.value=oe,a("change-teams",oe),N()}catch(w){throw new Error(w)}}function N(){if(!g.value)return;const K=p.value&&p.value.seasonsGames?p.value.seasonsGames.map(R=>{const w=R.games.reduce((E,O)=>{const oe={...O};return oe.dateTimeMillis=new Date(oe.date_time_utc).valueOf(),oe.home_team=g.value.find(ne=>ne.team_id===O.home_team),oe.visiting_team=g.value.find(ne=>ne.team_id===O.visiting_team),o.teamId&&oe.home_team.team_id!==o.teamId&&oe.visiting_team.team_id!==o.teamId||(E[O.matchday_abbreviation]?E[O.matchday_abbreviation][O.game_status===3?"canceled":O.date]?E[O.matchday_abbreviation][O.game_status===3?"canceled":O.date].push(oe):E[O.matchday_abbreviation][O.game_status===3?"canceled":O.date]=[oe]:E[O.matchday_abbreviation]={[O.game_status===3?"canceled":O.date]:[oe]}),E},{});for(let[E,O]of Object.entries(w))w[E]=Object.entries(O).map(([oe,ne])=>({date:oe,games:ne.sort((ee,ae)=>ee.dateTimeMillis-ae.dateTimeMillis)})),w[E].sort((oe,ne)=>oe.date<ne.date?-1:oe.date>ne.date?1:0);return{type:R.type,weight:R.type===0?0:R.type===2?1:2,schedule:w}}):[];K.sort((R,w)=>R.weight-w.weight),i.value=K.reduce((R,w)=>{for(const[E,O]of Object.entries(w.schedule))if(w.type===0)if(u.value){const oe=E.replace("M",""),ne=oe;f.value?R[kE[oe]||ne]=O:R[CE[E]||ne]=O}else R[Number(E.replace("M","")).toString()]=O;else w.type===2?E.charAt(1)=="I"?R[`PI${Number(E.replace("PI",""))}`]=O:R[`R${Number(E.replace("PO",""))}`]=O:w.type===1&&(R[wE[E]]=O);return R},{}),l.value=new Map,r.value=Array.from(Object.entries(i.value).reduce((R,[w,E])=>{const O=Number(w);let oe="";Number.isNaN(O)?oe=w:oe=O<10?`0${O}`:w,R.set(w,{key:w,value:O,valueText:oe});const ne=E.reduce((ae,ie)=>(ie.games.forEach(Ee=>{Ee.game_id===o.defaultGameId&&(y.value=w),Ee.roundAbbreviation=Number.isNaN(O)?O:`J ${O}`}),ae=ae.concat(ie.games),ae),[]),ee=V(ne);return l.value.set(w,ee),R},new Map).values())}function V(K){const R=[];if(o.gamesPerMatchDay>0){let w=[];K.forEach((E,O)=>{w.push(E),(O+1)%o.gamesPerMatchDay===0&&(R.push([...w]),w=[])}),w.length&&R.push([...w])}else R.push(K);return R}async function $(K){try{const{data:R}=await tu.get("https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/tournaments");return R}catch(R){if(K>0)return $(K-1);throw new Error(R)}}function x(){if(window.ResizeObserver)n=new ResizeObserver(()=>{c.value=h.value.clientWidth}),n.observe(h.value);else throw new Error("Resize observer not supported!")}function F(K){d.value=K,a("change-round",K)}function A(K){o.areGamesCarouselType&&a("change-game-carousel",K.selectedItem)}function I(K){a("action",K),P(K)}function P(K){const R="PLAY_RESUME",w="PLAY_GOALS",E=[607,608,12,55,54,35,14,52,15,53,466,477],O=[12,55,"35_r","54_r"],{game_id:oe,season_id:ne}=K.game;let ee={seasonId:ne,tournaments:[],isFeaturedPlayers:!1,mainSectionType:1,playListType:1,gameIds:[oe],playerIds:[],goalkeeperIds:[],categoryIds:[],teamId:0,matchResult:[],categorySingleName:"",avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:""},objectPlaySync:null};K.action===R?(ee.categoryIds=E,ee.advancedFilter.playListTitle="Resumen",a("openmedia",ee)):K.action===w&&(ee.categoryIds=O,ee.advancedFilter.playListTitle="Goles",a("openmedia",ee))}async function Q(){try{if(!o.awaitForSeasons&&!o.games){const K=(await $(3)).find(E=>E._id===1),R=K.seasons[0],w=[{id:R.id,type:R.type}];K&&K.tournament&&a("tournament-selected",K.tournament),R.related_seasons&&R.related_seasons.length&&w.push(...R.related_seasons.map(E=>({id:E.id,type:E.type}))),await C(w,!1)}}catch(K){throw new Error(K)}}return t.onMounted(()=>{x()}),Q(),(K,R)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"calendarByGame",ref:h,class:"calendar-by-game",style:t.normalizeStyle(b.value)},[e.teamId&&!e.avoidTeamIdFilter?(t.openBlock(),t.createBlock(nN,{key:0,"full-tournament-schedule":i.value,"team-id":e.teamId,"is-landing-mode":!1,"row-height":e.rowHeight,"component-width":c.value,"games-pages":l.value,"is-pagination-visible":e.isPaginationVisible,"is-round-mode":e.isRoundMode,onAction:I},null,8,["full-tournament-schedule","team-id","row-height","component-width","games-pages","is-pagination-visible","is-round-mode"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.areRoundsVisible&&r.value?(t.openBlock(),t.createBlock(DE,{key:0,"match-days":r.value,"is-landing-mode":e.isLandingMode,height:"48px","items-to-show":e.itemsToShow,"items-to-scroll":e.itemsToScroll,"component-width":c.value,"default-match-day-key":y.value,onChangeMatchDay:F},null,8,["match-days","is-landing-mode","items-to-show","items-to-scroll","component-width","default-match-day-key"])):t.createCommentVNode("",!0),t.createElementVNode("div",RN,[k.value?(t.openBlock(),t.createBlock(t.unref(su),{key:0,"is-pagination-visible":e.isPaginationVisible&&!e.areGamesCarouselType,items:e.areGamesCarouselType?k.value[0]:k.value,"are-navigation-arrows-visible":e.areGamesCarouselType?!e.areGamesCarouselType:e.isPaginationVisible,"wrap-around":e.areGamesCarouselType,"items-to-show":e.areGamesCarouselType?1.2:1,"is-main-slide-priority":e.areGamesCarouselType,"are-slides-arrows-visible":e.areGamesCarouselType,"slides-arrows-left-and-right":e.areGamesCarouselType?"30px":"0px","default-item-by-prop":e.areGamesCarouselType?{propName:"game_id",value:e.defaultGameId}:{},onInput:A},{default:t.withCtx(({item:w})=>[e.areGamesCarouselType?(t.openBlock(),t.createBlock(FN,{key:0,game:w},null,8,["game"])):(t.openBlock(),t.createBlock(Q9,{key:1,"games-per-page":w,"is-landing-mode":e.isLandingMode,"row-height":e.rowHeight,"component-width":c.value,"is-round-mode":e.isRoundMode,onAction:I},null,8,["games-per-page","is-landing-mode","row-height","component-width","is-round-mode"]))]),_:1},8,["is-pagination-visible","items","are-navigation-arrows-visible","wrap-around","items-to-show","is-main-slide-priority","are-slides-arrows-visible","slides-arrows-left-and-right","default-item-by-prop"])):t.createCommentVNode("",!0)])],64))],4))}},DN=Ht(PN,[["__scopeId","data-v-7f065e14"]]),Dve="",Ae=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},hu=Ae({__name:"ButtonCustom",props:{text:{type:String,default:""},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},padding:{type:String,default:"0px"},borderRadius:{type:String,default:"0px"},borderWidth:{type:String,default:"1px"},borderColor:{type:String,default:"#d9d9d9"},backgroundColor:{type:String,default:"#FFFFFF"},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},activeBorderWidth:{type:String,default:"1px"},activeFontColor:{type:String,default:""},fontColor:{type:String,default:"#000000"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular, sans-serif"},whiteSpace:{type:String,default:"nowrap"},isActive:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:a}){const o=e,n=t.computed(()=>({"--height":o.height,"--width":o.width,"--padding":o.padding,"--border-radius":o.borderRadius,"--border":`solid ${o.borderWidth} ${o.borderColor}`,"--background-color":o.backgroundColor,"--white-space":o.whiteSpace,"--font-color":o.fontColor,"--font-size":o.fontSize,"--font-family":o.fontFamily,"--active-background-color":o.activeBackgroundColor||o.backgroundColor,"--active-border-color":o.activeBorderColor||o.borderColor,"--active-font-color":o.activeFontColor||o.fontColor}));function s(){a("click")}return(i,r)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["button",{active:e.isActive}]),style:t.normalizeStyle(n.value),onClick:s},t.toDisplayString(e.text),7))}},[["__scopeId","data-v-bb7f8e4d"]]),jN=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},LN={class:"menu-container"},vN={__name:"GSC-Menu",props:{menuMarginTop:{type:Number,default:0,validator(e){return!Number.isNaN(e)}},modelValue:{type:Boolean,default:!1},width:{type:String,default:"fit-content"},menuWidth:{type:String,default:"fit-content"}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e;t.useCssVars(d=>({"1c0de360":e.width,"5088a52e":r.value,"8225919e":e.menuWidth}));const n=t.ref(null),s=t.ref(!1),i=t.computed(()=>n.value?{top:`${n.value.getBoundingClientRect().height+o.menuMarginTop}px`}:{top:"0px"}),r=t.computed(()=>s.value?3:1);t.watch(()=>o.modelValue,d=>{d!==s.value&&(s.value=d)},{immediate:!0});function c(){s.value=!s.value,a("update:modelValue",s.value)}function h(){s.value=!1,a("update:modelValue",s.value)}return(d,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[s.value?(t.openBlock(),t.createElementBlock("div",{key:0,id:"menu-overlay",onClick:h})):t.createCommentVNode("",!0),t.createElementVNode("div",LN,[t.createElementVNode("div",{ref_key:"trigger",ref:n,class:"menu-container__trigger",onClick:c},[t.renderSlot(d.$slots,"trigger",{},void 0,!0)],512),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{class:"menu-container__menu",style:t.normalizeStyle(i.value)},[t.renderSlot(d.$slots,"menu",{},void 0,!0)],4),[[t.vShow,s.value]])]),_:3})])],64))}},MN=jN(vN,[["__scopeId","data-v-ea0b7b18"]]),Lve="",HN=(e=>(t.pushScopeId("data-v-2a796a00"),e=e(),t.popScopeId(),e))(()=>t.createElementVNode("div",{class:"button__icon"},null,-1)),UN={class:"button__text"},GN={key:0},WN={width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qN=["fill"],JN=Ae({__name:"ButtonFilter",props:{isActive:{type:Boolean,default:!1},text:{type:String,default:""},infoValue:{type:[String,Number],default:""},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"14px"},fontColor:{type:String,default:"white"},infoBackgroundColor:{type:String,default:"#424D58"},infoFontColor:{type:String,default:"#CBEE6B"},infoFontFamily:{type:String,default:"sans-serif"},infoFontSize:{type:String,default:"10px"},infoBorderColor:{type:String,default:"#0D1D29"},infoBorderRadius:{type:String,default:"4px"},infoHeight:{type:String,default:"20px"},infoWidth:{type:String,default:"20px"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#0D1D29"},borderRadius:{type:String,default:"8px"},borderColor:{type:String,default:"#172531"},borderColorActive:{type:String,default:"white"},borderWidth:{type:String,default:"1px"},padding:{type:String,default:"12px"},arrowColor:{type:String,default:"#92929D"},iconColor:{type:String,default:"#92929D"},iconType:{type:String,default:"productivity"}},setup(e){const a=e,o=t.computed(()=>({"--height":a.height,"--width":a.width,"--text-font-family":a.textFontFamily,"--text-font-size":a.textFontSize,"--background-color":a.backgroundColor,"--border-radius":a.borderRadius,"--border-color":a.isActive?a.borderColorActive:a.borderColor,"--border-width":a.borderWidth,"--padding":a.padding,"--font-color":a.fontColor})),n=t.computed(()=>({"--info-background-color":a.infoBackgroundColor,"--info-border-color":a.infoBorderColor,"--info-border-radius":a.infoBorderRadius,"--info-font-family":a.infoFontFamily,"--info-font-size":a.infoFontSize,"--info-font-color":a.infoFontColor,"--info-height":a.infoHeight,"--info-width":a.infoWidth}));return(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"button",style:t.normalizeStyle(o.value)},[HN,t.createElementVNode("div",UN,t.toDisplayString(e.text),1),t.createElementVNode("div",{class:"button__info",style:t.normalizeStyle(n.value)},[e.infoValue?(t.openBlock(),t.createElementBlock("span",GN,t.toDisplayString(e.infoValue),1)):t.createCommentVNode("",!0)],4),t.createElementVNode("div",{class:t.normalizeClass(["button__arrow",{"rotated-180":e.isActive}])},[(t.openBlock(),t.createElementBlock("svg",WN,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:e.arrowColor},null,8,qN)]))],2)],4))}},[["__scopeId","data-v-2a796a00"]]),XN=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},ZN={key:1},YN={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KN=["fill"],QN={key:0,class:"checkbox__teams"},e$={class:"checkbox__teams__logo"},t$=["src"],a$={class:"checkbox__teams__logo"},o$=["src"],n$={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelWhiteSpace:{type:String,default:"normal"},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(e){return["left","right","top","bottom"].includes(e)}},boxMarginTop:{type:String,default:"0.2em"},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1},avoidToCheck:{type:Boolean,default:!1},isBoxOnly:{type:Boolean,default:!1},teamsIds:{type:Array,default:()=>null}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e;t.useCssVars(d=>({"6582e90e":e.width,"310b3edf":e.height}));const n=t.ref(!1),s=t.computed(()=>{const d={color:o.boxValueColor,"font-family":o.fontFamily,height:o.boxWidthAndHeight,width:o.boxWidthAndHeight,minWidth:o.boxWidthAndHeight,"border-radius":o.boxBorderRadius,"margin-top":o.boxMarginTop};return n.value?(d["background-color"]=o.boxBackgroundColor,d.border=`solid ${o.boxBorderWidth} ${o.boxBackgroundColor}`):d.border=`solid ${o.boxBorderWidth} ${o.boxBorderColor}`,d}),i=t.computed(()=>({"font-family":o.boxValueFontFamily,"font-size":o.boxValueFontSize,color:o.boxValueColor,"line-height":1})),r=t.computed(()=>{const d={color:o.labelColor,"font-family":o.fontFamily,"font-size":o.labelFontSize,"white-space":o.labelWhiteSpace,"text-align":o.boxPosition==="top"||o.boxPosition==="bottom"?"center":o.boxPosition};return(o.boxPosition==="left"||o.boxPosition==="right")&&(d[`margin-${o.boxPosition}`]=o.isBoxOnly?"0":o.teamsIds?"8px":"10px"),d});t.watch(()=>o.modelValue,d=>{d!==n.value&&(n.value=d)},{immediate:!0});function c(){o.avoidInteraction||!n.value&&o.avoidToCheck||(n.value=!n.value,a("update:modelValue",n.value))}function h(d){return`${{}.TEAM_LOGOS_URL||"https://az755631.vo.msecnd.net/teams-80/"}${d}.png`}return(d,l)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(s.value)},[n.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(i.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",ZN,[(t.openBlock(),t.createElementBlock("svg",YN,[t.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:e.boxValueColor},null,8,KN)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",QN,[t.createElementVNode("div",e$,[t.createElementVNode("img",{src:h(e.teamsIds[0]),alt:""},null,8,t$)]),t.createElementVNode("div",a$,[t.createElementVNode("img",{src:h(e.teamsIds[1]),alt:""},null,8,o$)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},yu=XN(n$,[["__scopeId","data-v-bcf3bcc6"]]),Hve="",ki=e=>(t.pushScopeId("data-v-ce334c17"),e=e(),t.popScopeId(),e),s$={class:"details__header"},i$=ki(()=>t.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),r$={class:"details__header__checkbox"},l$={class:"details__body"},c$={class:"details__body__playing-as"},d$=["onClick"],m$={class:"details__header"},p$=ki(()=>t.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),h$={class:"details__header__checkbox"},y$={class:"details__body"},g$=ki(()=>t.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),u$={class:"details__body__game-section"},f$=["onClick"],_$={class:"details__body"},b$=ki(()=>t.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),w$={class:"details__body__game-section"},C$=["onClick"],k$=Ae({__name:"StatisticsFilterTemplate",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},results:{type:Array,default:()=>[1,2,3]},gameSections:{type:Array,default:()=>[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},buttonsBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0)"},buttonsBackgroundColorActive:{type:String,default:"rgba(203, 238, 107, 0.05)"},buttonsTextColor:{type:String,default:"rgba(255, 255, 255, 0.8)"},buttonsTextColorActive:{type:String,default:"rgba(255, 255, 255, 1)"},buttonsBorderColor:{type:String,default:"#8ea2ab"},buttonsBorderColorActive:{type:String,default:"#cbee6b"},buttonsBorderWidth:{type:String,default:"0.8px"},buttonsBorderWidthActive:{type:String,default:"1px"},buttonsBorderRadius:{type:String,default:"4px"}},setup(e){const a=e;t.useCssVars(l=>({"2321d9a1":e.buttonsBackgroundColor,ccabcbfc:e.buttonsTextColor,"05a0a474":e.buttonsBorderWidth,"07cea13a":e.buttonsBorderColor,"67fac807":e.buttonsBackgroundColorActive,"728f7ba8":e.buttonsTextColorActive,"12a02c6c":e.buttonsBorderWidthActive,"5392776e":e.buttonsBorderColorActive}));const o=t.computed(()=>a.playingAs.every(l=>l.isSelected)),n=t.computed(()=>a.gameSections.every(l=>l.isSelected)),s=t.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),i=t.computed(()=>({"--border-radius-first-button":`${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,"--border-radius-last-button":`0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 0`}));function r(l){l?a.playingAs.forEach(m=>{m.isSelected=!0}):a.playingAs.forEach((m,p)=>{m.isSelected=p===0})}function c(l){a.playingAs.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function h(l){a.gameSections.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function d(l){l?a.gameSections.forEach(m=>{m.isSelected=!0}):a.gameSections.forEach((m,p)=>{m.isSelected=p===0})}return(l,m)=>(t.openBlock(),t.createElementBlock("div",{class:"details",style:t.normalizeStyle(i.value)},[t.createElementVNode("div",s$,[i$,t.createElementVNode("div",r$,[t.createVNode(t.unref(yu),{label:"Todos","model-value":o.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),t.createElementVNode("div",l$,[t.createElementVNode("div",c$,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.playingAs,(p,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:p.isSelected}]),onClick:y=>c(p)},t.toDisplayString(p.name),11,d$))),128))])]),t.createElementVNode("div",m$,[p$,t.createElementVNode("div",h$,[t.createVNode(t.unref(yu),{label:"Todos","model-value":n.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),t.createElementVNode("div",y$,[g$,t.createElementVNode("div",u$,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.firstHalf,(p,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:p.isSelected}]),onClick:y=>h(p)},t.toDisplayString(p.text),11,f$))),128))])]),t.createElementVNode("div",_$,[b$,t.createElementVNode("div",w$,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.secondHalf,(p,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:p.isSelected}]),onClick:y=>h(p)},t.toDisplayString(p.text),11,C$))),128))])])],4))}},[["__scopeId","data-v-ce334c17"]]),S$={class:"statistics-filter-button"},E$={__name:"StatisticsFilterButton",setup(e){const a=t.ref(!1);return(o,n)=>(t.openBlock(),t.createElementBlock("div",S$,[t.createVNode(t.unref(MN),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=s=>a.value=s),"menu-margin-top":18},{trigger:t.withCtx(()=>[t.createVNode(JN,{text:"Filtros","is-active":a.value,"background-color":"rgba(255, 255, 255, 0.05)","border-color":"rgba(255, 255, 255, 0.20)","info-width":"0",padding:"6px 12px"},null,8,["is-active"])]),menu:t.withCtx(()=>[t.createVNode(k$)]),_:1},8,["modelValue"])]))}};function N$(){return gu().__VUE_DEVTOOLS_GLOBAL_HOOK__}function gu(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const $$=typeof Proxy=="function",B$="devtools-plugin:setup",x$="plugin:settings:set";let Eo,bd;function V$(){var e;return Eo!==void 0||(typeof window<"u"&&window.performance?(Eo=!0,bd=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Eo=!0,bd=global.perf_hooks.performance):Eo=!1),Eo}function I$(){return V$()?bd.now():Date.now()}class A${constructor(a,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=a,this.hook=o;const n={};if(a.settings)for(const r in a.settings){const c=a.settings[r];n[r]=c.defaultValue}const s=`__vue-devtools-plugin-settings__${a.id}`;let i=Object.assign({},n);try{const r=localStorage.getItem(s),c=JSON.parse(r);Object.assign(i,c)}catch{}this.fallbacks={getSettings(){return i},setSettings(r){try{localStorage.setItem(s,JSON.stringify(r))}catch{}i=r},now(){return I$()}},o&&o.on(x$,(r,c)=>{r===this.plugin.id&&this.fallbacks.setSettings(c)}),this.proxiedOn=new Proxy({},{get:(r,c)=>this.target?this.target.on[c]:(...h)=>{this.onQueue.push({method:c,args:h})}}),this.proxiedTarget=new Proxy({},{get:(r,c)=>this.target?this.target[c]:c==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(c)?(...h)=>(this.targetQueue.push({method:c,args:h,resolve:()=>{}}),this.fallbacks[c](...h)):(...h)=>new Promise(d=>{this.targetQueue.push({method:c,args:h,resolve:d})})})}async setRealTarget(a){this.target=a;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function O$(e,a){const o=e,n=gu(),s=N$(),i=$$&&o.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))s.emit(B$,e,a);else{const r=i?new A$(o,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:a,proxy:r}),r&&a(r.proxiedTarget)}}/*!
13
+ */const ot={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},iu={itemsToShow:{default:ot.itemsToShow,type:Number},itemsToScroll:{default:ot.itemsToScroll,type:Number},wrapAround:{default:ot.wrapAround,type:Boolean},throttle:{default:ot.throttle,type:Number},snapAlign:{default:ot.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ot.transition,type:Number},breakpoints:{default:ot.breakpoints,type:Object},autoplay:{default:ot.autoplay,type:Number},pauseAutoplayOnHover:{default:ot.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ot.mouseDrag,type:Boolean},touchDrag:{default:ot.touchDrag,type:Boolean},dir:{default:ot.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ot.i18n,type:Object},settings:{default(){return{}},type:Object}};function S9({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function E9({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function yd({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function N9({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:yd({val:r,max:o-i,min:0})}function ru(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...ru(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function gd({val:e,max:a,min:o=0}){return e>a?gd({val:e-(a+1),max:a,min:o}):e<o?gd({val:e+(a+1),max:a,min:o}):e}function $9(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function B9(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function x9(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var V9=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},ot))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},x9(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),I9=t.defineComponent({name:"Carousel",props:iu,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},ot));let l=Object.assign({},ot),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=B9(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=S9({config:d,slidesCount:h.value}),f.value=E9({config:d,slidesCount:h.value}),d.wrapAround||(p.value=yd({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=$9(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:yd({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=gd({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>N9({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(iu).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=ru(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(V9)])}}}),ud;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(ud||(ud={}));const A9={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"};function O9(e){return e in ud}const fd=e=>{const a=t.inject("config",t.reactive(Object.assign({},ot))),o=String(e.name),n=`icon${o.charAt(0).toUpperCase()+o.slice(1)}`;if(!o||typeof o!="string"||!O9(o))return;const s=A9[o],i=t.h("path",{d:s}),r=a.i18n[n]||e.title||o,c=t.h("title",r);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":r},[c,i])};fd.props={name:String,title:String};const T9=(e,{slots:a,attrs:o})=>{const{next:n,prev:s}=a||{},i=t.inject("config",t.reactive(Object.assign({},ot))),r=t.inject("maxSlide",t.ref(1)),c=t.inject("minSlide",t.ref(1)),h=t.inject("currentSlide",t.ref(1)),d=t.inject("nav",{}),{dir:l,wrapAround:m,i18n:p}=i,g=l==="rtl",y=t.h("button",{type:"button",class:["carousel__prev",!m&&h.value<=c.value&&"carousel__prev--disabled",o==null?void 0:o.class],"aria-label":p.ariaPreviousSlide,onClick:d.prev},(s==null?void 0:s())||t.h(fd,{name:g?"arrowRight":"arrowLeft"})),u=t.h("button",{type:"button",class:["carousel__next",!m&&h.value>=r.value&&"carousel__next--disabled",o==null?void 0:o.class],"aria-label":p.ariaNextSlide,onClick:d.next},(n==null?void 0:n())||t.h(fd,{name:g?"arrowLeft":"arrowRight"}));return[y,u]};var z9=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},ot))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const Ht=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},F9={__name:"MatchDay",props:{isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"'Poppins-Regular', sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},matchDay:{type:Object,default:()=>{}},matchDaySelected:{type:Object,default:()=>{}},componentWidth:{type:Number,default:0}},emits:["change-match-day"],setup(e,{emit:a}){const o=e,n=t.computed(()=>{const c={"background-color":o.backgroundColor,height:o.height};return o.matchDay.key===o.matchDaySelected.key&&(c["border-bottom"]=`solid 1px ${o.bottomLineColor}`,c["background-color"]=o.selectedMatchDayBackgroundColor),o.isLandingMode||(c["border-right"]="solid 1px rgba(255, 255, 255, 0.1)"),c}),s=t.computed(()=>({color:o.numberColor,"font-family":o.numberFontFamily,"font-size":o.numberFontSize})),i=t.computed(()=>({color:o.textColor,"font-family":o.textFontFamily,"font-size":o.textFontSize}));function r(c){a("click-match-day",c)}return(c,h)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day",style:t.normalizeStyle({...n.value}),onClick:h[0]||(h[0]=d=>r(e.matchDay))},[t.createElementVNode("div",{class:"match-day__value",style:t.normalizeStyle(s.value)},t.toDisplayString(e.matchDay.valueText),5),Number.isNaN(e.matchDay.value)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"match-day__text",style:t.normalizeStyle([e.isLandingMode?"margin-top:3px":"margin-top:4px",i.value])},t.toDisplayString(e.isLandingMode||e.componentWidth<=425?"JOR":"JORNADA"),5))],4))}},R9=Ht(F9,[["__scopeId","data-v-687d929a"]]),P9={__name:"MatchDayPicker",props:{matchDays:{type:Array,default:()=>[]},isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},defaultMatchDayKey:{type:[String,null],default:""},componentWidth:{type:Number,default:0}},emits:["change-match-day"],setup(e,{emit:a}){const o=e;t.useCssVars(d=>({"2c74e7d9":i.value,"2c73d099":r.value}));const n=t.ref(null),s=t.computed(()=>({itemsToShow:o.itemsToShow,itemsToScroll:o.itemsToScroll,snapAlign:"start"})),i=t.computed(()=>n.value.data.currentSlide.value==0?"none":"inline"),r=t.computed(()=>n.value.data.currentSlide.value==n.value.data.maxSlide.value?"none":"inline"),c=t.ref({});t.watch(()=>o.matchDays,d=>{if(d&&d.length){const l=d.find(m=>m.key===o.defaultMatchDayKey);c.value=l||d[0],a("change-match-day",c.value)}},{immediate:!0});function h(d){c.value=d,a("change-match-day",c.value)}return(d,l)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day-picker",style:t.normalizeStyle(e.isLandingMode?"border-top-left-radius: 9px; border-top-right-radius: 9px;":"margin-bottom:12px")},[t.createVNode(t.unref(I9),t.mergeProps(s.value,{ref_key:"matchDayPickerCarousel",ref:n}),{addons:t.withCtx(()=>[t.createVNode(t.unref(T9))]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.matchDays,m=>(t.openBlock(),t.createBlock(t.unref(z9),{key:m.key},{default:t.withCtx(()=>[t.createVNode(R9,t.mergeProps(o,{"match-day":m,"match-day-selected":c.value,"is-landing-mode":e.isLandingMode,"component-width":e.componentWidth,onClickMatchDay:h}),null,16,["match-day","match-day-selected","is-landing-mode","component-width"])]),_:2},1024))),128))]),_:1},16)],4))}},D9=Ht(P9,[["__scopeId","data-v-523ebbb9"]]);function So(e,a=80){return`${{}.TEAM_LOGOS_URL||"https://az755631.vo.msecnd.net/teams-"}${a}/${e}.png`}function lu(e){if(typeof e=="string"){let a=e.replace("M","J ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a}}function j9(e){let a="";return e.game_status!=4&&(a+="Finalizado"),(e.penalties_score_home_team!=0||e.penalties_score_visiting_team!=0)&&(a+=" - Penales "+e.penalties_score_home_team+" - "+e.penalties_score_visiting_team),a}const L9={class:"game-info__teams"},v9={class:"game-info__teams__team__logo"},M9=["src"],H9={class:"game-info__teams__detail"},U9={key:0,class:"game-info__teams__detail__pre-game"},G9={class:"game-info__teams__team__logo away"},W9=["src"],q9={key:0},J9={key:0},X9={key:1},Z9={__name:"GameInfo",props:{isLandingMode:{type:Boolean,default:!1},isAcronymVisible:{type:Boolean,default:!1},isTelevisionVisible:{type:Boolean,default:!0},game:{type:Object,required:!0},colorPrimary:{type:String,default:"white"},colorSecondary:{type:String,default:"grey"},namesFontSize:{type:String,default:"12px"},timeFontSize:{type:String,default:"12px"},timeZoneFontSize:{type:String,default:"8px"},scoreFontSize:{type:String,default:"13px"},namesFontFamily:{type:String,default:"sans-serif"},scoreFontFamily:{type:String,default:"sans-serif"},additionalInfoFontFamily:{type:String,default:"sans-serif"},additionalInfoFontSize:{type:String,default:"9px"}},setup(e){const a=e,o=t.computed(()=>{const d=new Date(a.game.dateTimeMillis),l=d.getHours(),m=d.getMinutes();return`${l<10?`0${l}`:l}:${m<10?`0${m}`:m}`}),n=t.computed(()=>{let d="120px";return(a.isLandingMode||a.isAcronymVisible)&&(d="70px"),{"min-width":d}}),s=t.computed(()=>({"font-size":a.namesFontSize,"font-family":a.namesFontFamily,color:a.colorPrimary})),i=t.computed(()=>({"font-size":a.additionalInfoFontSize,"font-family":a.additionalInfoFontFamily,color:a.colorSecondary})),r=t.computed(()=>({"font-size":a.scoreFontSize,"font-family":a.scoreFontFamily,color:a.colorPrimary})),c=t.computed(()=>({"font-size":a.timeZoneFontSize,"font-family":a.namesFontFamily,color:a.colorPrimary})),h=t.computed(()=>({"font-size":a.timeFontSize,"font-family":a.namesFontFamily,color:a.colorPrimary}));return(d,l)=>(t.openBlock(),t.createElementBlock("div",{class:"game-info",style:t.normalizeStyle(e.isLandingMode?"gap:5px":"")},[t.createElementVNode("div",L9,[t.createElementVNode("div",{class:"game-info__teams__team",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(s.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.home_team.acronym:e.game.home_team.colloquial_name),5),t.createElementVNode("div",v9,[t.createElementVNode("img",{src:t.unref(So)(e.game.home_team.team_id),alt:""},null,8,M9)])],4),t.createElementVNode("div",H9,[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("div",U9,[t.createElementVNode("div",null,[t.createElementVNode("span",{style:t.normalizeStyle(h.value)},t.toDisplayString(o.value),5),t.createTextVNode(),t.createElementVNode("span",{style:t.normalizeStyle(c.value)},"CST",4)])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"game-info__teams__detail__score",style:t.normalizeStyle(r.value)},[t.createElementVNode("span",null,t.toDisplayString(e.game.score[0])+" - "+t.toDisplayString(e.game.score[1]),1)],4))]),t.createElementVNode("div",{class:"game-info__teams__team away",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",G9,[t.createElementVNode("img",{src:t.unref(So)(e.game.visiting_team.team_id),alt:""},null,8,W9)]),t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(s.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.visiting_team.acronym:e.game.visiting_team.colloquial_name),5)],4)]),t.createElementVNode("div",{class:"game-info__status",style:t.normalizeStyle([i.value,e.isLandingMode?"line-height: normal":""])},[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("span",q9,[e.isTelevisionVisible?(t.openBlock(),t.createElementBlock("span",J9,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",X9,t.toDisplayString(t.unref(j9)(e.game)),1))],4)],4))}},cu=Ht(Z9,[["__scopeId","data-v-2b206f6a"]]),du=e=>(t.pushScopeId("data-v-e2fc9ed0"),e=e(),t.popScopeId(),e),Y9={class:"game-status"},K9={key:0,class:"game-status__day__live"},Q9=du(()=>t.createElementVNode("span",null,"LIVE",-1)),eE=du(()=>t.createElementVNode("span",{class:"dot"},null,-1)),tE=[Q9,eE],aE={key:0,class:"game-status__round"},oE={__name:"GameStatus",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},status:{type:Number,default:4},isLive:{type:Boolean,default:!1},dateTimeMillis:{type:Number,default:0},roundAbbreviation:{type:String,default:""},fontSize:{type:String,default:"10px"}},setup(e){const a=e,o=["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],n=t.computed(()=>{let r="";if(a.dateTimeMillis){const c=new Date(a.dateTimeMillis);r=`${c.getDate()} ${o[c.getMonth()]}`}return r}),s=t.computed(()=>({"font-size":a.fontSize})),i=t.computed(()=>{let r=[];return a.isLive?r.push("live"):a.status!==1&&r.push("pre-match"),r});return(r,c)=>(t.openBlock(),t.createElementBlock("div",Y9,[t.createElementVNode("div",{class:t.normalizeClass(["game-status__day",i.value]),style:t.normalizeStyle(s.value)},[e.isLive?(t.openBlock(),t.createElementBlock("div",K9,tE)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n.value),1)],64))],6),e.isRoundMode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",aE,t.toDisplayString(e.roundAbbreviation),1))]))}},mu=Ht(oE,[["__scopeId","data-v-e2fc9ed0"]]),Ut={SHOW_GAME_EVENTS:"SHOW_GAME_EVENTS",PLAY_GOALS:"PLAY_GOALS",PLAY_RESUME:"PLAY_RESUME",NOTIFICATION:"NOTIFICATION",STATISTICS:"STATISTICS"},nE=e=>(t.pushScopeId("data-v-5711c5a6"),e=e(),t.popScopeId(),e),sE={class:"actions"},iE={class:"actions__row"},rE=nE(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),lE=[rE],cE={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dE=["fill"],mE={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pE=["fill"],hE={__name:"GameActionsLanding",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1}},emits:["action"],setup(e,{emit:a}){const o=e,n=t.computed(()=>({backgroundColor:o.iconBackgroundColor,borderColor:o.iconBorderColor}));function s(i){a("action",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",sE,[t.createElementVNode("div",iE,[t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:r[0]||(r[0]=c=>s(t.unref(Ut).STATISTICS))},lE,4),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:r[1]||(r[1]=c=>s(t.unref(Ut).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",cE,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:o.iconColor},null,8,dE)]))],4)):t.createCommentVNode("",!0),e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button",onClick:r[2]||(r[2]=c=>s(t.unref(Ut).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",mE,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:o.iconColor},null,8,pE)]))])):t.createCommentVNode("",!0)])]))}},yE=Ht(hE,[["__scopeId","data-v-5711c5a6"]]),_d=e=>(t.pushScopeId("data-v-9350c7c8"),e=e(),t.popScopeId(),e),gE={class:"actions"},uE={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fE=["fill"],_E={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bE=["fill"],wE=_d(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),CE=[wE],kE={key:0,class:"actions__videos"},SE={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EE=["fill"],NE={key:1,class:"actions__videos__thumbnails"},$E=_d(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__goals"},null,-1)),BE=_d(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__summary"},null,-1)),xE={height:24,width:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VE=["stroke"],IE={__name:"GameActionsFull",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},areEventsVisible:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1},arrowColor:{type:String,default:"white"},thumbnailFontFamily:{type:String,default:"sans-serif"},thumbnailFontSize:{type:String,default:"8px"},thumbnailColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:a}){const o=e,n=t.computed(()=>({backgroundColor:o.iconBackgroundColor,borderColor:o.iconBorderColor})),s=t.computed(()=>{const h=[];return o.componentWidth<540&&h.push("mobile"),h}),i=t.computed(()=>o.componentWidth>730),r=t.computed(()=>({color:o.thumbnailColor,fontFamily:o.thumbnailFontFamily,fontSize:o.thumbnailFontSize}));function c(h){a("action",h)}return(h,d)=>(t.openBlock(),t.createElementBlock("div",gE,[t.createElementVNode("div",{class:t.normalizeClass(["actions__buttons",s.value])},[e.gameStatus===4444&&!e.isLive&&!i.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:d[0]||(d[0]=l=>c(t.unref(Ut).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",uE,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:o.iconColor},null,8,fE)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo&&!i.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:d[1]||(d[1]=l=>c(t.unref(Ut).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",_E,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:o.iconColor},null,8,bE)]))],4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(n.value),onClick:d[2]||(d[2]=l=>c(t.unref(Ut).STATISTICS))},CE,4)],2),i.value?(t.openBlock(),t.createElementBlock("div",kE,[e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:d[3]||(d[3]=l=>c(t.unref(Ut).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",SE,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:o.iconColor},null,8,EE)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",NE,[t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail",onClick:d[4]||(d[4]=l=>c(t.unref(Ut).PLAY_GOALS))},[$E,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(r.value)}," Goles ",4)]),t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail",onClick:d[5]||(d[5]=l=>c(t.unref(Ut).PLAY_RESUME))},[BE,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(r.value)}," Resumen ",4)])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.gameStatus!==4||e.isLive?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["actions__button expand",{"rotated-180":e.areEventsVisible,mobile:e.componentWidth<540}]),onClick:d[6]||(d[6]=l=>c(t.unref(Ut).SHOW_GAME_EVENTS))},[(t.openBlock(),t.createElementBlock("svg",xE,[t.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:e.arrowColor},null,8,VE)]))],2)):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["actions__button expand",{"rotated-180":!1,mobile:e.componentWidth<540}])},null,2))]))}},AE=Ht(IE,[["__scopeId","data-v-9350c7c8"]]),Ci=e=>(t.pushScopeId("data-v-1b5d4b19"),e=e(),t.popScopeId(),e),OE={class:"row-landing__game-status"},TE={class:"row-landing__game-actions"},zE={class:"row-full__game-status"},FE={class:"row-full__game-info"},RE={key:0},PE={class:"row-full__game-actions"},DE={class:"game-events-container"},jE=Ci(()=>t.createElementVNode("div",{class:"separator"},null,-1)),LE=Ci(()=>t.createElementVNode("div",null,null,-1)),vE={class:"game-events__data"},ME={class:"game-events__data__team"},HE=["src"],UE={class:"game-events__data__team__event__text"},GE={class:"game-events__data__team away"},WE={class:"game-events__data__team__event__text"},qE=["src"],JE=Ci(()=>t.createElementVNode("div",null,null,-1)),XE=Ci(()=>t.createElementVNode("div",null,null,-1)),ZE={__name:"CalendarRow",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},game:{type:Object,required:!0},height:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#172531"},showPlayButton:{type:Boolean,default:!1},componentWidth:{type:Number,default:400,validator(e){return e>0}},televisionFontSize:{type:String,default:"12px"},televisionFontFamily:{type:String,default:"sans-serif"},televisionColor:{type:String,default:"rgba(255, 255, 255, 0.5)"}},emits:["action"],setup(e,{emit:a}){const o=e,n={GOAL:{}.GAME_EVENTS_ICONS_GOAL||"/icn-gol.svg",RED_CARD:{}.GAME_EVENTS_ICONS_RED_CARD||"/icn-expulsion.svg",YELLOW_CARD:{}.GAME_EVENTS_ICONS_YELLOW_CARD||"/icn-amarilla.svg"},s=t.ref(!1),i=t.ref(!1),r=t.computed(()=>{const y={homeTeam:[],awayTeam:[]};return o.game&&o.game.game_status!==4&&!o.game.is_live&&o.game.minutes&&(y.homeTeam.push(...p(o.game.minutes.home_goals_minutes,n.GOAL)),y.homeTeam.push(...p(o.game.minutes.home_red_cards_minutes,n.RED_CARD)),y.homeTeam.push(...p(o.game.minutes.home_yellow_cards_minutes,n.YELLOW_CARD)),y.awayTeam.push(...p(o.game.minutes.visiting_goals_minutes,n.GOAL)),y.awayTeam.push(...p(o.game.minutes.away_red_cards_minutes,n.RED_CARD)),y.awayTeam.push(...p(o.game.minutes.away_yellow_cards_minutes,n.YELLOW_CARD))),y}),c=t.computed(()=>({"background-color":o.backgroundColor})),h=t.computed(()=>({height:o.height})),d=t.computed(()=>{const y={game:[],events:[]};return o.componentWidth<500?(y.events.push("break-point-3"),y.game.push("break-point-2")):o.componentWidth<730?(y.game.push("break-point-2"),y.events.push("break-point-2")):o.componentWidth<910&&(y.game.push("break-point-1"),y.events.push("break-point-1")),y}),l=t.computed(()=>({isLandingMode:o.isLandingMode,game:o.game,colorPrimary:"#fff",colorSecondary:"#fff",namesFontSize:"12px",timeFontSize:"12px",timeZoneFontSize:"8px",scoreFontSize:"13px",namesFontFamily:"sans-serif",scoreFontFamily:"sans-serif",additionalInfoFontFamily:"sans-serif",additionalInfoFontSize:"9px"})),m=t.computed(()=>({"font-size":o.televisionFontSize,"font-family":o.televisionFontFamily,color:o.televisionColor}));t.watch(()=>o.componentWidth,y=>{i.value=y<910});function p(y,u){return y.map(f=>({iconUrl:u,text:f}))}function g(y){y===Ut.SHOW_GAME_EVENTS?s.value=!s.value:a("action",{action:y,game:o.game})}return(y,u)=>e.isLandingMode?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-landing",style:t.normalizeStyle(c.value)},[t.createVNode(cu,{game:e.game,"is-landing-mode":e.isLandingMode},null,8,["game","is-landing-mode"]),t.createElementVNode("div",OE,[t.createVNode(mu,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(lu)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",TE,[t.createVNode(yE,{"is-live":!!e.game.is_live,"has-video":!!e.game.has_video,"game-status":e.game.game_status,"show-play-button":!0,onAction:g},null,8,["is-live","has-video","game-status"])])],4)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"row-full-container",style:t.normalizeStyle(c.value)},[t.createElementVNode("div",{class:t.normalizeClass(["row-full",d.value.game]),style:t.normalizeStyle(h.value)},[t.createElementVNode("div",zE,[t.createVNode(mu,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(lu)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",FE,[t.createVNode(cu,t.mergeProps(l.value,{"is-television-visible":i.value,game:e.game,"is-landing-mode":e.isLandingMode,"is-acronym-visible":e.componentWidth<540}),null,16,["is-television-visible","game","is-landing-mode","is-acronym-visible"])]),e.componentWidth>=910?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-full__television",style:t.normalizeStyle(m.value)},[!i.value&&(e.game.game_status===4||e.game.is_live)?(t.openBlock(),t.createElementBlock("span",RE,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",PE,[t.createVNode(AE,{"is-live":!!e.game.is_live,"has-video":!!e.game.has_video,"game-status":e.game.game_status,"show-play-button":!0,"are-events-visible":s.value,"component-width":e.componentWidth,onAction:g},null,8,["is-live","has-video","game-status","are-events-visible","component-width"])])],6),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",DE,[jE,t.createElementVNode("div",{class:t.normalizeClass(["game-events",d.value.events])},[LE,t.createElementVNode("div",vE,[t.createElementVNode("div",ME,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value.homeTeam,(f,b)=>(t.openBlock(),t.createElementBlock("div",{key:`h${b}`,class:"game-events__data__team__event"},[t.createElementVNode("img",{src:f.iconUrl},null,8,HE),t.createElementVNode("div",UE,t.toDisplayString(f.text),1)]))),128))]),t.createElementVNode("div",GE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value.awayTeam,(f,b)=>(t.openBlock(),t.createElementBlock("div",{key:`a${b}`,class:"game-events__data__team__event"},[t.createElementVNode("div",WE,t.toDisplayString(f.text),1),t.createElementVNode("img",{src:f.iconUrl},null,8,qE)]))),128))])]),JE,XE],2)],512),[[t.vShow,s.value]])]),_:1})],4))}},pu=Ht(ZE,[["__scopeId","data-v-1b5d4b19"]]),YE={class:"calendar-table"},KE={__name:"CalendarTable",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},gamesPerPage:{type:Array,default:()=>[]},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:a}){const o=e;function n(i){return i%2===0?o.evenRowColor:o.oddRowColor}function s(i){a("action",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",YE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.gamesPerPage,(c,h)=>(t.openBlock(),t.createBlock(pu,{key:c.game_id,game:c,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":n(h),"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:s},null,8,["game","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))}},QE=Ht(KE,[["__scopeId","data-v-c8583c72"]]),eN={class:"calendar-by-team"},tN={class:"playing-as-picker"},aN={class:"calendar-by-team__page"},oN={__name:"CalendarTableByTeam",props:{teamId:{type:Number,default:0},isPaginationVisible:{type:Boolean,default:!0},gamesPages:{type:Map,default:()=>new Map},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},rowHeight:{type:String,default:"fit-content"},nameRowColor:{type:String,default:"#172531"},gameRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:a}){const o=e,n=t.ref(0),s=t.computed(()=>{let h=[];if(o.gamesPages.size>0){const d=Array.from(o.gamesPages.entries()).reduce((l,[m,p])=>{const g=Number(m),y=Number.isNaN(g)?m:`Jornada ${g<10?"0":""}${g}`,u=p.reduce((f,b)=>(f.push(...b),f),[]).filter(f=>n.value===0||n.value===1&&f.visiting_team.team_id===o.teamId?!0:n.value===2&&f.home_team.team_id===o.teamId);return u.length>0&&l.push({roundName:y,games:u}),l},[]);h.push(d)}return h});function i(h){a("action",h)}function r(h){document.querySelector("#opc0").classList.remove("selected"),document.querySelector("#opc1").classList.remove("selected"),document.querySelector("#opc2").classList.remove("selected"),n.value=h,document.querySelector("#opc"+h).classList.add("selected")}function c(h){let d=h;switch(h){case"PI1":d="Play In 1";break;case"PI2":d="Play In 2";break;case"R1":d="Repechaje";break;case"CFI":d="Cuartos de final - Ida";break;case"CFV":d="Cuartos de final - Vuelta";break;case"SFI":d="Semifinal - Ida";break;case"SFV":d="Semifinal - Vuelta";break;case"FI":d="Final - Ida";break;case"FV":d="Final - Vuelta";break}return d}return(h,d)=>(t.openBlock(),t.createElementBlock("div",eN,[t.createElementVNode("div",tN,[t.createElementVNode("div",{class:"playing-as-picker__type selected",id:"opc0",onClick:d[0]||(d[0]=l=>r(0))},"Todas"),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc1",onClick:d[1]||(d[1]=l=>r(1))},"Visitante"),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc2",onClick:d[2]||(d[2]=l=>r(2))},"Local")]),t.createVNode(t.unref(su),{"is-pagination-visible":e.isPaginationVisible,items:s.value},{default:t.withCtx(({item:l})=>[t.createElementVNode("div",aN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l,(m,p)=>(t.openBlock(),t.createElementBlock("div",{key:p,class:"calendar-by-team__page__round"},[t.createElementVNode("div",{class:"calendar-by-team__page__round__round-name",style:t.normalizeStyle([{color:"white"},e.componentWidth<=425?"padding: 5px 10px":""])},t.toDisplayString(c(m.roundName)),5),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.games,g=>(t.openBlock(),t.createBlock(pu,{key:g.game_id,game:g,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":e.gameRowColor,"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:i},null,8,["game","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))),128))])]),_:1},8,["is-pagination-visible","items"])]))}},nN=Ht(oN,[["__scopeId","data-v-875ef70b"]]),sN="_image62Icon_1ybd3_2",iN="_imgChivasIcon_1ybd3_11",rN="_nameDesktop_1ybd3_18",lN="_nameMobile_1ybd3_31",cN="_homeTeam_1ybd3_43",dN="_sbado16De_1ybd3_54",mN="_gameDate_1ybd3_63",pN="_sab16092023_1ybd3_67",hN="_div_1ybd3_80",yN="_divscore_1ybd3_89",gN="_cst_1ybd3_99",uN="_hour_1ybd3_108",fN="_score_1ybd3_109",_N="_chivasTvCanal_1ybd3_120",bN="_gameStatus_1ybd3_132",wN="_matchInfo_1ybd3_143",CN="_image62Icon1_1ybd3_156",kN="_name_1ybd3_18",SN="_imgAtlasIcon_1ybd3_178",EN="_name1_1ybd3_185",NN="_awayTeam_1ybd3_197",$N="_matchCard_1ybd3_208",BN={image62Icon:sN,imgChivasIcon:iN,nameDesktop:rN,nameMobile:lN,homeTeam:cN,sbado16De:dN,gameDate:mN,sab16092023:pN,div:hN,divscore:yN,cst:gN,hour:uN,score:fN,chivasTvCanal:_N,gameStatus:bN,matchInfo:wN,image62Icon1:CN,name:kN,imgAtlasIcon:SN,name1:EN,awayTeam:NN,matchCard:$N},xN=["src"],VN=["src"],IN={key:0},AN=["src"],ON=["src"],TN={__name:"CardPreMatch",props:{game:{type:Object,default:()=>{}}},setup(e){const a=e,o=t.computed(()=>{const s={...a.game};return s.gameSchedule=a.game.schedule.split(":"),s.gameSchedule.pop(),s.gameSchedule=s.gameSchedule.join(":"),s});function n(s,i){const r=new Date(s);if(i==1){const c=["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],h=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"];return`${c[r.getDay()]} ${r.getDate()} de ${h[r.getMonth()]}`}else return`${r.getDate()}-${r.getMonth()}-${r.getFullYear()}`}return(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(s.$style.matchCard)},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.homeTeam),id:"container-home-team"},[t.createElementVNode("img",{class:t.normalizeClass(s.$style.image62Icon),alt:"",src:t.unref(So)(o.value.home_team.team_id,150)},null,10,xN),t.createElementVNode("img",{class:t.normalizeClass(s.$style.imgChivasIcon),alt:"",src:t.unref(So)(o.value.home_team.team_id)},null,10,VN),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.nameDesktop),id:"team-name"},t.toDisplayString(o.value.home_team.colloquial_name),3),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.nameMobile),id:"team-name"},t.toDisplayString(o.value.home_team.acronym),3)],2),o.value.game_status==4?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(s.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.sbado16De)},t.toDisplayString(n(o.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.sab16092023)},t.toDisplayString(n(o.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.hour)},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.div)},t.toDisplayString(o.value.gameSchedule),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.cst)},"CST",2)],2),t.createElementVNode("div",{class:t.normalizeClass(s.$style.chivasTvCanal)},t.toDisplayString(o.value.tv_stations.join(", ")),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(s.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass([s.$style.sbado16De,s.$style.gameDate])},t.toDisplayString(n(o.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass([s.$style.sab16092023,s.$style.gameDate])},t.toDisplayString(n(o.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(s.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(s.$style.divscore)},t.toDisplayString(o.value.score.join(" - ")),3)],2),t.createElementVNode("div",{class:t.normalizeClass(s.$style.gameStatus)},[t.createTextVNode(" Finalizado "),o.value.penalties_score_home_team!=0||o.value.penalties_score_visiting_team!=0?(t.openBlock(),t.createElementBlock("span",IN," - Penales "+t.toDisplayString(o.value.penalties_score_home_team)+" - "+t.toDisplayString(o.value.penalties_score_visiting_team),1)):t.createCommentVNode("",!0)],2)],2)),t.createElementVNode("div",{class:t.normalizeClass(s.$style.awayTeam),id:"container-away-team"},[t.createElementVNode("img",{class:t.normalizeClass(s.$style.image62Icon1),alt:"",src:t.unref(So)(o.value.visiting_team.team_id,150)},null,10,AN),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.name),id:"team-name"},t.toDisplayString(o.value.visiting_team.colloquial_name),3),t.createElementVNode("img",{class:t.normalizeClass(s.$style.imgAtlasIcon),alt:"",src:t.unref(So)(o.value.visiting_team.team_id)},null,10,ON),t.createElementVNode("h3",{class:t.normalizeClass(s.$style.name1),id:"team-name"},t.toDisplayString(o.value.visiting_team.acronym),3)],2)],2))}},zN={$style:BN},FN=Ht(TN,[["__cssModules",zN]]),RN={class:"calendar-by-game__carousel"},PN={__name:"GSC-CalendarByGame",props:{height:{type:String,default:"fit-content"},width:{type:String,default:"100%"},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},isRoundPickerVisible:{type:Boolean,default:!0},isPaginationVisible:{type:Boolean,default:!0},awaitForSeasons:{type:Boolean,default:!1},seasons:{type:Array,default:()=>[]},isCup:{type:Boolean,default:!1},isCupLegacy:{type:Boolean,default:!1},token:{type:String,default:""},pagesWithGames:{type:Array,default:()=>[]},maxGamesToShow:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},areRoundsVisible:{type:Boolean,default:!0},gamesPerMatchDay:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},games:{type:Array,default:()=>null},teamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},avoidTeamIdFilter:{type:Boolean,default:!1},areGamesCarouselType:{type:Boolean,default:!1},defaultGameId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}}},emits:["tournament-selected","change-teams","change-round","change-game-carousel","action"],setup(e,{emit:a}){const o=e;let n=null;const s=t.ref([]),i=t.ref({}),r=t.ref([]),c=t.ref(0),h=t.ref(null),d=t.ref({}),l=t.ref(new Map),m=t.ref(!1),p=t.ref(null),g=t.ref(null),y=t.ref(null),u=t.computed(()=>o.isCup),f=t.computed(()=>o.isCupLegacy),b=t.computed(()=>({height:o.height,width:o.width})),k=t.computed(()=>o.games?V(o.games):l.value.get(d.value.key)||[]);t.watch(()=>o.seasons,K=>{K&&K.length&&(m.value=!0,s.value=K.map(R=>R.id),C(K,!0))},{immediate:!0,deep:!0}),t.watch(()=>o.teamId,()=>{N()});async function B(K,R,w=""){let E=w;try{const O={};o.token&&(O.Authorization=o.token),E||(E="https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?",K.forEach((ee,ae)=>{E+=`${ae===0?"":"&"}seasons=${ee}`}));const{data:{data:oe,teams:ne}}=await tu.get(E,{headers:O});return{seasonsAndGames:oe,seasonsAndTeams:ne}}catch(O){if(R>0)return B(K,R-1,E);throw new Error(O)}}function _(K){for(const R of K)if(!s.value.includes(R.season_id))return!0;return!1}async function C(K,R){try{i.value={};let w=0;const{seasonsAndGames:E,seasonsAndTeams:O}=await B(K.map(ne=>ne.id),3);if(R&&_(E))return;E.forEach(ne=>{const{type:ee}=K.find(ae=>ae.id===ne.season_id);ne.type=ee,ne.games.forEach(ae=>{ae.season_id=ne.season_id}),ee===0&&(w=ne.season_id)}),p.value={seasonsGames:E};const{teams:oe}=O.find(ne=>ne.season_id===w);g.value=oe,a("change-teams",oe),N()}catch(w){throw new Error(w)}}function N(){if(!g.value)return;const K=p.value&&p.value.seasonsGames?p.value.seasonsGames.map(R=>{const w=R.games.reduce((E,O)=>{const oe={...O};return oe.dateTimeMillis=new Date(oe.date_time_utc).valueOf(),oe.home_team=g.value.find(ne=>ne.team_id===O.home_team),oe.visiting_team=g.value.find(ne=>ne.team_id===O.visiting_team),o.teamId&&oe.home_team.team_id!==o.teamId&&oe.visiting_team.team_id!==o.teamId||(E[O.matchday_abbreviation]?E[O.matchday_abbreviation][O.game_status===3?"canceled":O.date]?E[O.matchday_abbreviation][O.game_status===3?"canceled":O.date].push(oe):E[O.matchday_abbreviation][O.game_status===3?"canceled":O.date]=[oe]:E[O.matchday_abbreviation]={[O.game_status===3?"canceled":O.date]:[oe]}),E},{});for(let[E,O]of Object.entries(w))w[E]=Object.entries(O).map(([oe,ne])=>({date:oe,games:ne.sort((ee,ae)=>ee.dateTimeMillis-ae.dateTimeMillis)})),w[E].sort((oe,ne)=>oe.date<ne.date?-1:oe.date>ne.date?1:0);return{type:R.type,weight:R.type===0?0:R.type===2?1:2,schedule:w}}):[];K.sort((R,w)=>R.weight-w.weight),i.value=K.reduce((R,w)=>{for(const[E,O]of Object.entries(w.schedule))if(w.type===0)if(u.value){const oe=E.replace("M",""),ne=oe;f.value?R[k9[oe]||ne]=O:R[C9[E]||ne]=O}else R[Number(E.replace("M","")).toString()]=O;else w.type===2?E.charAt(1)=="I"?R[`PI${Number(E.replace("PI",""))}`]=O:R[`R${Number(E.replace("PO",""))}`]=O:w.type===1&&(R[w9[E]]=O);return R},{}),l.value=new Map,r.value=Array.from(Object.entries(i.value).reduce((R,[w,E])=>{const O=Number(w);let oe="";Number.isNaN(O)?oe=w:oe=O<10?`0${O}`:w,R.set(w,{key:w,value:O,valueText:oe});const ne=E.reduce((ae,ie)=>(ie.games.forEach(Ee=>{Ee.game_id===o.defaultGameId&&(y.value=w),Ee.roundAbbreviation=Number.isNaN(O)?O:`J ${O}`}),ae=ae.concat(ie.games),ae),[]),ee=V(ne);return l.value.set(w,ee),R},new Map).values())}function V(K){const R=[];if(o.gamesPerMatchDay>0){let w=[];K.forEach((E,O)=>{w.push(E),(O+1)%o.gamesPerMatchDay===0&&(R.push([...w]),w=[])}),w.length&&R.push([...w])}else R.push(K);return R}async function $(K){try{const{data:R}=await tu.get("https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/tournaments");return R}catch(R){if(K>0)return $(K-1);throw new Error(R)}}function x(){if(window.ResizeObserver)n=new ResizeObserver(()=>{c.value=h.value.clientWidth}),n.observe(h.value);else throw new Error("Resize observer not supported!")}function F(K){d.value=K,a("change-round",K)}function A(K){o.areGamesCarouselType&&a("change-game-carousel",K.selectedItem)}function I(K){a("action",K),P(K)}function P(K){const R="PLAY_RESUME",w="PLAY_GOALS",E=[607,608,12,55,54,35,14,52,15,53,466,477],O=[12,55,"35_r","54_r"],{game_id:oe,season_id:ne}=K.game;let ee={seasonId:ne,tournaments:[],isFeaturedPlayers:!1,mainSectionType:1,playListType:1,gameIds:[oe],playerIds:[],goalkeeperIds:[],categoryIds:[],teamId:0,matchResult:[],categorySingleName:"",avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:""},objectPlaySync:null};K.action===R?(ee.categoryIds=E,ee.advancedFilter.playListTitle="Resumen",a("openmedia",ee)):K.action===w&&(ee.categoryIds=O,ee.advancedFilter.playListTitle="Goles",a("openmedia",ee))}async function Q(){try{if(!o.awaitForSeasons&&!o.games){const K=(await $(3)).find(E=>E._id===1),R=K.seasons[0],w=[{id:R.id,type:R.type}];K&&K.tournament&&a("tournament-selected",K.tournament),R.related_seasons&&R.related_seasons.length&&w.push(...R.related_seasons.map(E=>({id:E.id,type:E.type}))),await C(w,!1)}}catch(K){throw new Error(K)}}return t.onMounted(()=>{x()}),Q(),(K,R)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"calendarByGame",ref:h,class:"calendar-by-game",style:t.normalizeStyle(b.value)},[e.teamId&&!e.avoidTeamIdFilter?(t.openBlock(),t.createBlock(nN,{key:0,"full-tournament-schedule":i.value,"team-id":e.teamId,"is-landing-mode":!1,"row-height":e.rowHeight,"component-width":c.value,"games-pages":l.value,"is-pagination-visible":e.isPaginationVisible,"is-round-mode":e.isRoundMode,onAction:I},null,8,["full-tournament-schedule","team-id","row-height","component-width","games-pages","is-pagination-visible","is-round-mode"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.areRoundsVisible&&r.value?(t.openBlock(),t.createBlock(D9,{key:0,"match-days":r.value,"is-landing-mode":e.isLandingMode,height:"48px","items-to-show":e.itemsToShow,"items-to-scroll":e.itemsToScroll,"component-width":c.value,"default-match-day-key":y.value,onChangeMatchDay:F},null,8,["match-days","is-landing-mode","items-to-show","items-to-scroll","component-width","default-match-day-key"])):t.createCommentVNode("",!0),t.createElementVNode("div",RN,[k.value?(t.openBlock(),t.createBlock(t.unref(su),{key:0,"is-pagination-visible":e.isPaginationVisible&&!e.areGamesCarouselType,items:e.areGamesCarouselType?k.value[0]:k.value,"are-navigation-arrows-visible":e.areGamesCarouselType?!e.areGamesCarouselType:e.isPaginationVisible,"wrap-around":e.areGamesCarouselType,"items-to-show":e.areGamesCarouselType?1.2:1,"is-main-slide-priority":e.areGamesCarouselType,"are-slides-arrows-visible":e.areGamesCarouselType,"slides-arrows-left-and-right":e.areGamesCarouselType?"30px":"0px","default-item-by-prop":e.areGamesCarouselType?{propName:"game_id",value:e.defaultGameId}:{},onInput:A},{default:t.withCtx(({item:w})=>[e.areGamesCarouselType?(t.openBlock(),t.createBlock(FN,{key:0,game:w},null,8,["game"])):(t.openBlock(),t.createBlock(QE,{key:1,"games-per-page":w,"is-landing-mode":e.isLandingMode,"row-height":e.rowHeight,"component-width":c.value,"is-round-mode":e.isRoundMode,onAction:I},null,8,["games-per-page","is-landing-mode","row-height","component-width","is-round-mode"]))]),_:1},8,["is-pagination-visible","items","are-navigation-arrows-visible","wrap-around","items-to-show","is-main-slide-priority","are-slides-arrows-visible","slides-arrows-left-and-right","default-item-by-prop"])):t.createCommentVNode("",!0)])],64))],4))}},DN=Ht(PN,[["__scopeId","data-v-7f065e14"]]),Dve="",Ae=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},hu=Ae({__name:"ButtonCustom",props:{text:{type:String,default:""},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},padding:{type:String,default:"0px"},borderRadius:{type:String,default:"0px"},borderWidth:{type:String,default:"1px"},borderColor:{type:String,default:"#d9d9d9"},backgroundColor:{type:String,default:"#FFFFFF"},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},activeBorderWidth:{type:String,default:"1px"},activeFontColor:{type:String,default:""},fontColor:{type:String,default:"#000000"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular, sans-serif"},whiteSpace:{type:String,default:"nowrap"},isActive:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:a}){const o=e,n=t.computed(()=>({"--height":o.height,"--width":o.width,"--padding":o.padding,"--border-radius":o.borderRadius,"--border":`solid ${o.borderWidth} ${o.borderColor}`,"--background-color":o.backgroundColor,"--white-space":o.whiteSpace,"--font-color":o.fontColor,"--font-size":o.fontSize,"--font-family":o.fontFamily,"--active-background-color":o.activeBackgroundColor||o.backgroundColor,"--active-border-color":o.activeBorderColor||o.borderColor,"--active-font-color":o.activeFontColor||o.fontColor}));function s(){a("click")}return(i,r)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["button",{active:e.isActive}]),style:t.normalizeStyle(n.value),onClick:s},t.toDisplayString(e.text),7))}},[["__scopeId","data-v-bb7f8e4d"]]),jN=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},LN={class:"menu-container"},vN={__name:"GSC-Menu",props:{menuMarginTop:{type:Number,default:0,validator(e){return!Number.isNaN(e)}},modelValue:{type:Boolean,default:!1},width:{type:String,default:"fit-content"},menuWidth:{type:String,default:"fit-content"}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e;t.useCssVars(d=>({"1c0de360":e.width,"5088a52e":r.value,"8225919e":e.menuWidth}));const n=t.ref(null),s=t.ref(!1),i=t.computed(()=>n.value?{top:`${n.value.getBoundingClientRect().height+o.menuMarginTop}px`}:{top:"0px"}),r=t.computed(()=>s.value?3:1);t.watch(()=>o.modelValue,d=>{d!==s.value&&(s.value=d)},{immediate:!0});function c(){s.value=!s.value,a("update:modelValue",s.value)}function h(){s.value=!1,a("update:modelValue",s.value)}return(d,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[s.value?(t.openBlock(),t.createElementBlock("div",{key:0,id:"menu-overlay",onClick:h})):t.createCommentVNode("",!0),t.createElementVNode("div",LN,[t.createElementVNode("div",{ref_key:"trigger",ref:n,class:"menu-container__trigger",onClick:c},[t.renderSlot(d.$slots,"trigger",{},void 0,!0)],512),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{class:"menu-container__menu",style:t.normalizeStyle(i.value)},[t.renderSlot(d.$slots,"menu",{},void 0,!0)],4),[[t.vShow,s.value]])]),_:3})])],64))}},MN=jN(vN,[["__scopeId","data-v-ea0b7b18"]]),Lve="",HN=(e=>(t.pushScopeId("data-v-2a796a00"),e=e(),t.popScopeId(),e))(()=>t.createElementVNode("div",{class:"button__icon"},null,-1)),UN={class:"button__text"},GN={key:0},WN={width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qN=["fill"],JN=Ae({__name:"ButtonFilter",props:{isActive:{type:Boolean,default:!1},text:{type:String,default:""},infoValue:{type:[String,Number],default:""},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"14px"},fontColor:{type:String,default:"white"},infoBackgroundColor:{type:String,default:"#424D58"},infoFontColor:{type:String,default:"#CBEE6B"},infoFontFamily:{type:String,default:"sans-serif"},infoFontSize:{type:String,default:"10px"},infoBorderColor:{type:String,default:"#0D1D29"},infoBorderRadius:{type:String,default:"4px"},infoHeight:{type:String,default:"20px"},infoWidth:{type:String,default:"20px"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#0D1D29"},borderRadius:{type:String,default:"8px"},borderColor:{type:String,default:"#172531"},borderColorActive:{type:String,default:"white"},borderWidth:{type:String,default:"1px"},padding:{type:String,default:"12px"},arrowColor:{type:String,default:"#92929D"},iconColor:{type:String,default:"#92929D"},iconType:{type:String,default:"productivity"}},setup(e){const a=e,o=t.computed(()=>({"--height":a.height,"--width":a.width,"--text-font-family":a.textFontFamily,"--text-font-size":a.textFontSize,"--background-color":a.backgroundColor,"--border-radius":a.borderRadius,"--border-color":a.isActive?a.borderColorActive:a.borderColor,"--border-width":a.borderWidth,"--padding":a.padding,"--font-color":a.fontColor})),n=t.computed(()=>({"--info-background-color":a.infoBackgroundColor,"--info-border-color":a.infoBorderColor,"--info-border-radius":a.infoBorderRadius,"--info-font-family":a.infoFontFamily,"--info-font-size":a.infoFontSize,"--info-font-color":a.infoFontColor,"--info-height":a.infoHeight,"--info-width":a.infoWidth}));return(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"button",style:t.normalizeStyle(o.value)},[HN,t.createElementVNode("div",UN,t.toDisplayString(e.text),1),t.createElementVNode("div",{class:"button__info",style:t.normalizeStyle(n.value)},[e.infoValue?(t.openBlock(),t.createElementBlock("span",GN,t.toDisplayString(e.infoValue),1)):t.createCommentVNode("",!0)],4),t.createElementVNode("div",{class:t.normalizeClass(["button__arrow",{"rotated-180":e.isActive}])},[(t.openBlock(),t.createElementBlock("svg",WN,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:e.arrowColor},null,8,qN)]))],2)],4))}},[["__scopeId","data-v-2a796a00"]]),XN=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},ZN={key:1},YN={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KN=["fill"],QN={key:0,class:"checkbox__teams"},e$={class:"checkbox__teams__logo"},t$=["src"],a$={class:"checkbox__teams__logo"},o$=["src"],n$={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelWhiteSpace:{type:String,default:"normal"},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(e){return["left","right","top","bottom"].includes(e)}},boxMarginTop:{type:String,default:"0.2em"},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1},avoidToCheck:{type:Boolean,default:!1},isBoxOnly:{type:Boolean,default:!1},teamsIds:{type:Array,default:()=>null}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e;t.useCssVars(d=>({"6582e90e":e.width,"310b3edf":e.height}));const n=t.ref(!1),s=t.computed(()=>{const d={color:o.boxValueColor,"font-family":o.fontFamily,height:o.boxWidthAndHeight,width:o.boxWidthAndHeight,minWidth:o.boxWidthAndHeight,"border-radius":o.boxBorderRadius,"margin-top":o.boxMarginTop};return n.value?(d["background-color"]=o.boxBackgroundColor,d.border=`solid ${o.boxBorderWidth} ${o.boxBackgroundColor}`):d.border=`solid ${o.boxBorderWidth} ${o.boxBorderColor}`,d}),i=t.computed(()=>({"font-family":o.boxValueFontFamily,"font-size":o.boxValueFontSize,color:o.boxValueColor,"line-height":1})),r=t.computed(()=>{const d={color:o.labelColor,"font-family":o.fontFamily,"font-size":o.labelFontSize,"white-space":o.labelWhiteSpace,"text-align":o.boxPosition==="top"||o.boxPosition==="bottom"?"center":o.boxPosition};return(o.boxPosition==="left"||o.boxPosition==="right")&&(d[`margin-${o.boxPosition}`]=o.isBoxOnly?"0":o.teamsIds?"8px":"10px"),d});t.watch(()=>o.modelValue,d=>{d!==n.value&&(n.value=d)},{immediate:!0});function c(){o.avoidInteraction||!n.value&&o.avoidToCheck||(n.value=!n.value,a("update:modelValue",n.value))}function h(d){return`${{}.TEAM_LOGOS_URL||"https://az755631.vo.msecnd.net/teams-80/"}${d}.png`}return(d,l)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(s.value)},[n.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(i.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",ZN,[(t.openBlock(),t.createElementBlock("svg",YN,[t.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:e.boxValueColor},null,8,KN)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",QN,[t.createElementVNode("div",e$,[t.createElementVNode("img",{src:h(e.teamsIds[0]),alt:""},null,8,t$)]),t.createElementVNode("div",a$,[t.createElementVNode("img",{src:h(e.teamsIds[1]),alt:""},null,8,o$)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},yu=XN(n$,[["__scopeId","data-v-bcf3bcc6"]]),Hve="",ki=e=>(t.pushScopeId("data-v-ce334c17"),e=e(),t.popScopeId(),e),s$={class:"details__header"},i$=ki(()=>t.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),r$={class:"details__header__checkbox"},l$={class:"details__body"},c$={class:"details__body__playing-as"},d$=["onClick"],m$={class:"details__header"},p$=ki(()=>t.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),h$={class:"details__header__checkbox"},y$={class:"details__body"},g$=ki(()=>t.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),u$={class:"details__body__game-section"},f$=["onClick"],_$={class:"details__body"},b$=ki(()=>t.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),w$={class:"details__body__game-section"},C$=["onClick"],k$=Ae({__name:"StatisticsFilterTemplate",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},results:{type:Array,default:()=>[1,2,3]},gameSections:{type:Array,default:()=>[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},buttonsBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0)"},buttonsBackgroundColorActive:{type:String,default:"rgba(203, 238, 107, 0.05)"},buttonsTextColor:{type:String,default:"rgba(255, 255, 255, 0.8)"},buttonsTextColorActive:{type:String,default:"rgba(255, 255, 255, 1)"},buttonsBorderColor:{type:String,default:"#8ea2ab"},buttonsBorderColorActive:{type:String,default:"#cbee6b"},buttonsBorderWidth:{type:String,default:"0.8px"},buttonsBorderWidthActive:{type:String,default:"1px"},buttonsBorderRadius:{type:String,default:"4px"}},setup(e){const a=e;t.useCssVars(l=>({"2321d9a1":e.buttonsBackgroundColor,ccabcbfc:e.buttonsTextColor,"05a0a474":e.buttonsBorderWidth,"07cea13a":e.buttonsBorderColor,"67fac807":e.buttonsBackgroundColorActive,"728f7ba8":e.buttonsTextColorActive,"12a02c6c":e.buttonsBorderWidthActive,"5392776e":e.buttonsBorderColorActive}));const o=t.computed(()=>a.playingAs.every(l=>l.isSelected)),n=t.computed(()=>a.gameSections.every(l=>l.isSelected)),s=t.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),i=t.computed(()=>({"--border-radius-first-button":`${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,"--border-radius-last-button":`0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 0`}));function r(l){l?a.playingAs.forEach(m=>{m.isSelected=!0}):a.playingAs.forEach((m,p)=>{m.isSelected=p===0})}function c(l){a.playingAs.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function h(l){a.gameSections.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function d(l){l?a.gameSections.forEach(m=>{m.isSelected=!0}):a.gameSections.forEach((m,p)=>{m.isSelected=p===0})}return(l,m)=>(t.openBlock(),t.createElementBlock("div",{class:"details",style:t.normalizeStyle(i.value)},[t.createElementVNode("div",s$,[i$,t.createElementVNode("div",r$,[t.createVNode(t.unref(yu),{label:"Todos","model-value":o.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),t.createElementVNode("div",l$,[t.createElementVNode("div",c$,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.playingAs,(p,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:p.isSelected}]),onClick:y=>c(p)},t.toDisplayString(p.name),11,d$))),128))])]),t.createElementVNode("div",m$,[p$,t.createElementVNode("div",h$,[t.createVNode(t.unref(yu),{label:"Todos","model-value":n.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),t.createElementVNode("div",y$,[g$,t.createElementVNode("div",u$,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.firstHalf,(p,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:p.isSelected}]),onClick:y=>h(p)},t.toDisplayString(p.text),11,f$))),128))])]),t.createElementVNode("div",_$,[b$,t.createElementVNode("div",w$,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.secondHalf,(p,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:p.isSelected}]),onClick:y=>h(p)},t.toDisplayString(p.text),11,C$))),128))])])],4))}},[["__scopeId","data-v-ce334c17"]]),S$={class:"statistics-filter-button"},E$={__name:"StatisticsFilterButton",setup(e){const a=t.ref(!1);return(o,n)=>(t.openBlock(),t.createElementBlock("div",S$,[t.createVNode(t.unref(MN),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=s=>a.value=s),"menu-margin-top":18},{trigger:t.withCtx(()=>[t.createVNode(JN,{text:"Filtros","is-active":a.value,"background-color":"rgba(255, 255, 255, 0.05)","border-color":"rgba(255, 255, 255, 0.20)","info-width":"0",padding:"6px 12px"},null,8,["is-active"])]),menu:t.withCtx(()=>[t.createVNode(k$)]),_:1},8,["modelValue"])]))}};function N$(){return gu().__VUE_DEVTOOLS_GLOBAL_HOOK__}function gu(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const $$=typeof Proxy=="function",B$="devtools-plugin:setup",x$="plugin:settings:set";let Eo,bd;function V$(){var e;return Eo!==void 0||(typeof window<"u"&&window.performance?(Eo=!0,bd=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Eo=!0,bd=global.perf_hooks.performance):Eo=!1),Eo}function I$(){return V$()?bd.now():Date.now()}class A${constructor(a,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=a,this.hook=o;const n={};if(a.settings)for(const r in a.settings){const c=a.settings[r];n[r]=c.defaultValue}const s=`__vue-devtools-plugin-settings__${a.id}`;let i=Object.assign({},n);try{const r=localStorage.getItem(s),c=JSON.parse(r);Object.assign(i,c)}catch{}this.fallbacks={getSettings(){return i},setSettings(r){try{localStorage.setItem(s,JSON.stringify(r))}catch{}i=r},now(){return I$()}},o&&o.on(x$,(r,c)=>{r===this.plugin.id&&this.fallbacks.setSettings(c)}),this.proxiedOn=new Proxy({},{get:(r,c)=>this.target?this.target.on[c]:(...h)=>{this.onQueue.push({method:c,args:h})}}),this.proxiedTarget=new Proxy({},{get:(r,c)=>this.target?this.target[c]:c==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(c)?(...h)=>(this.targetQueue.push({method:c,args:h,resolve:()=>{}}),this.fallbacks[c](...h)):(...h)=>new Promise(d=>{this.targetQueue.push({method:c,args:h,resolve:d})})})}async setRealTarget(a){this.target=a;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function O$(e,a){const o=e,n=gu(),s=N$(),i=$$&&o.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))s.emit(B$,e,a);else{const r=i?new A$(o,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:a,proxy:r}),r&&a(r.proxiedTarget)}}/*!
14
14
  * vuex v4.0.2
15
15
  * (c) 2021 Evan You
16
16
  * @license MIT
@@ -19,7 +19,7 @@
19
19
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const n=new this(a);return o.forEach(s=>n.set(s)),n}static accessor(a){const n=(this[s1]=this[s1]={accessors:{}}).accessors,s=this.prototype;function i(r){const c=An(r);n[c]||(nV(s,r),n[c]=!0)}return j.isArray(a)?a.forEach(i):i(a),this}}Ri.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(Ri.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),j.freezeMethods(Ri);const Va=Ri;function zd(e,a){const o=this||Od,n=a||o,s=Va.from(n.headers);let i=n.data;return j.forEach(e,function(c){i=c.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function i1(e){return!!(e&&e.__CANCEL__)}function On(e,a,o){me.call(this,e??"canceled",me.ERR_CANCELED,a,o),this.name="CanceledError"}j.inherits(On,me,{__CANCEL__:!0});function sV(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new me("Request failed with status code "+o.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const iV=ea.hasStandardBrowserEnv?{write(e,a,o,n,s,i){const r=[e+"="+encodeURIComponent(a)];j.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),j.isString(n)&&r.push("path="+n),j.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rV(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lV(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function r1(e,a){return e&&!rV(a)?lV(e,a):a}const cV=ea.hasStandardBrowserEnv?function(){const a=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let n;function s(i){let r=i;return a&&(o.setAttribute("href",r),r=o.href),o.setAttribute("href",r),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return n=s(window.location.href),function(r){const c=j.isString(r)?s(r):r;return c.protocol===n.protocol&&c.host===n.host}}():function(){return function(){return!0}}();function dV(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function mV(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(h){const d=Date.now(),l=n[i];r||(r=d),o[s]=h,n[s]=d;let m=i,p=0;for(;m!==s;)p+=o[m++],m=m%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),d-r<a)return;const g=l&&d-l;return g?Math.round(p*1e3/g):void 0}}function l1(e,a){let o=0;const n=mV(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const Fd={http:vx,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(o,n){let s=e.data;const i=Va.from(e.headers).normalize();let{responseType:r,withXSRFToken:c}=e,h;function d(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}let l;if(j.isFormData(s)){if(ea.hasStandardBrowserEnv||ea.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((l=i.getContentType())!==!1){const[u,...f]=l?l.split(";").map(b=>b.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...f].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const u=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(u+":"+f))}const p=r1(e.baseURL,e.url);m.open(e.method.toUpperCase(),e1(p,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function g(){if(!m)return;const u=Va.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),b={data:!r||r==="text"||r==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:u,config:e,request:m};sV(function(B){o(B),d()},function(B){n(B),d()},b),m=null}if("onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(g)},m.onabort=function(){m&&(n(new me("Request aborted",me.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new me("Network Error",me.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let f=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||a1;e.timeoutErrorMessage&&(f=e.timeoutErrorMessage),n(new me(f,b.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,e,m)),m=null},ea.hasStandardBrowserEnv&&(c&&j.isFunction(c)&&(c=c(e)),c||c!==!1&&cV(p))){const u=e.xsrfHeaderName&&e.xsrfCookieName&&iV.read(e.xsrfCookieName);u&&i.set(e.xsrfHeaderName,u)}s===void 0&&i.setContentType(null),"setRequestHeader"in m&&j.forEach(i.toJSON(),function(f,b){m.setRequestHeader(b,f)}),j.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),r&&r!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",l1(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",l1(e.onUploadProgress)),(e.cancelToken||e.signal)&&(h=u=>{m&&(n(!u||u.type?new On(null,e,m):u),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h)));const y=dV(p);if(y&&ea.protocols.indexOf(y)===-1){n(new me("Unsupported protocol "+y+":",me.ERR_BAD_REQUEST,e));return}m.send(s||null)})}};j.forEach(Fd,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const c1=e=>`- ${e}`,pV=e=>j.isFunction(e)||e===null||e===!1,d1={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!pV(o)&&(n=Fd[(r=String(o)).toLowerCase()],n===void 0))throw new me(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
20
20
  `+i.map(c1).join(`
21
21
  `):" "+c1(i[0]):"as no adapter specified";throw new me("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n},adapters:Fd};function Rd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new On(null,e)}function m1(e){return Rd(e),e.headers=Va.from(e.headers),e.data=zd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),d1.getAdapter(e.adapter||Od.adapter)(e).then(function(n){return Rd(e),n.data=zd.call(e,e.transformResponse,n),n.headers=Va.from(n.headers),n},function(n){return i1(n)||(Rd(e),n&&n.response&&(n.response.data=zd.call(e,e.transformResponse,n.response),n.response.headers=Va.from(n.response.headers))),Promise.reject(n)})}const p1=e=>e instanceof Va?e.toJSON():e;function xo(e,a){a=a||{};const o={};function n(d,l,m){return j.isPlainObject(d)&&j.isPlainObject(l)?j.merge.call({caseless:m},d,l):j.isPlainObject(l)?j.merge({},l):j.isArray(l)?l.slice():l}function s(d,l,m){if(j.isUndefined(l)){if(!j.isUndefined(d))return n(void 0,d,m)}else return n(d,l,m)}function i(d,l){if(!j.isUndefined(l))return n(void 0,l)}function r(d,l){if(j.isUndefined(l)){if(!j.isUndefined(d))return n(void 0,d)}else return n(void 0,l)}function c(d,l,m){if(m in a)return n(d,l);if(m in e)return n(void 0,d)}const h={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l)=>s(p1(d),p1(l),!0)};return j.forEach(Object.keys(Object.assign({},e,a)),function(l){const m=h[l]||s,p=m(e[l],a[l],l);j.isUndefined(p)&&m!==c||(o[l]=p)}),o}const h1="1.6.6",Pd={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Pd[e]=function(n){return typeof n===e||"a"+(a<1?"n ":" ")+e}});const y1={};Pd.transitional=function(a,o,n){function s(i,r){return"[Axios v"+h1+"] Transitional option '"+i+"'"+r+(n?". "+n:"")}return(i,r,c)=>{if(a===!1)throw new me(s(r," has been removed"+(o?" in "+o:"")),me.ERR_DEPRECATED);return o&&!y1[r]&&(y1[r]=!0,console.warn(s(r," has been deprecated since v"+o+" and will be removed in the near future"))),a?a(i,r,c):!0}};function hV(e,a,o){if(typeof e!="object")throw new me("options must be an object",me.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const i=n[s],r=a[i];if(r){const c=e[i],h=c===void 0||r(c,i,e);if(h!==!0)throw new me("option "+i+" must be "+h,me.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new me("Unknown option "+i,me.ERR_BAD_OPTION)}}const Dd={assertOptions:hV,validators:Pd},Ga=Dd.validators;class Pi{constructor(a){this.defaults=a,this.interceptors={request:new t1,response:new t1}}async request(a,o){try{return await this._request(a,o)}catch(n){const s={};throw Error.captureStackTrace?Error.captureStackTrace(s):s.stack=new Error().stack,s.stack=s.stack.replace(/^.+\n/,""),n.stack.endsWith(s.stack.replace(/^.+\n.+\n/,""))||(n.stack+=`
22
- `+s.stack),n}}_request(a,o){typeof a=="string"?(o=o||{},o.url=a):o=a||{},o=xo(this.defaults,o);const{transitional:n,paramsSerializer:s,headers:i}=o;n!==void 0&&Dd.assertOptions(n,{silentJSONParsing:Ga.transitional(Ga.boolean),forcedJSONParsing:Ga.transitional(Ga.boolean),clarifyTimeoutError:Ga.transitional(Ga.boolean)},!1),s!=null&&(j.isFunction(s)?o.paramsSerializer={serialize:s}:Dd.assertOptions(s,{encode:Ga.function,serialize:Ga.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let r=i&&j.merge(i.common,i[o.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),o.headers=Va.concat(r,i);const c=[];let h=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(o)===!1||(h=h&&u.synchronous,c.unshift(u.fulfilled,u.rejected))});const d=[];this.interceptors.response.forEach(function(u){d.push(u.fulfilled,u.rejected)});let l,m=0,p;if(!h){const y=[m1.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),p=y.length,l=Promise.resolve(o);m<p;)l=l.then(y[m++],y[m++]);return l}p=c.length;let g=o;for(m=0;m<p;){const y=c[m++],u=c[m++];try{g=y(g)}catch(f){u.call(this,f);break}}try{l=m1.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,p=d.length;m<p;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=xo(this.defaults,a);const o=r1(a.baseURL,a.url);return e1(o,a.params,a.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(a){Pi.prototype[a]=function(o,n){return this.request(xo(n||{},{method:a,url:o,data:(n||{}).data}))}}),j.forEach(["post","put","patch"],function(a){function o(n){return function(i,r,c){return this.request(xo(c||{},{method:a,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}Pi.prototype[a]=o(),Pi.prototype[a+"Form"]=o(!0)});const Di=Pi;class jd{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(i){o=i});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const r=new Promise(c=>{n.subscribe(c),i=c}).then(s);return r.cancel=function(){n.unsubscribe(i)},r},a(function(i,r,c){n.reason||(n.reason=new On(i,r,c),o(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const o=this._listeners.indexOf(a);o!==-1&&this._listeners.splice(o,1)}static source(){let a;return{token:new jd(function(s){a=s}),cancel:a}}}const yV=jd;function gV(e){return function(o){return e.apply(null,o)}}function uV(e){return j.isObject(e)&&e.isAxiosError===!0}const Ld={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ld).forEach(([e,a])=>{Ld[a]=e});const fV=Ld;function g1(e){const a=new Di(e),o=Du(Di.prototype.request,a);return j.extend(o,Di.prototype,a,{allOwnKeys:!0}),j.extend(o,a,null,{allOwnKeys:!0}),o.create=function(s){return g1(xo(e,s))},o}const Me=g1(Od);Me.Axios=Di,Me.CanceledError=On,Me.CancelToken=yV,Me.isCancel=i1,Me.VERSION=h1,Me.toFormData=zi,Me.AxiosError=me,Me.Cancel=Me.CanceledError,Me.all=function(a){return Promise.all(a)},Me.spread=gV,Me.isAxiosError=uV,Me.mergeConfig=xo,Me.AxiosHeaders=Va,Me.formToJSON=e=>n1(j.isHTMLForm(e)?new FormData(e):e),Me.getAdapter=d1.getAdapter,Me.HttpStatusCode=fV,Me.default=Me;const ji=Me,u1="/icn-play.svg",rMe="",_V={components:{BarraLeft:QB,BarraRight:rx},props:{data:{type:Object,required:!1},showPlayButton:{type:Boolean,value:!0}},data(){return{gamesBySeason:{}}},computed:{...kt("nextGeneral",["gameForAnalysis","seasonId"]),...Te("nextGeneral",["homeTeam","visitingTeam"])},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.category:e.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.category:e.type==3?e.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.category:e.category!=0?a=e.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];let n={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:this.gameForAnalysis.game_status!==4?[this.gameForAnalysis.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?e.team_id:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.category!==0&&(n.advancedFilter.mainCategoryId=e.category),this.$emit("openmedia",n)},hVal(e){return this.getTeamValue(e,this.gameForAnalysis,"homeTeam")},aVal(e){return this.getTeamValue(e,this.gameForAnalysis,"visitingTeam")},formatNumbers(e){return e%1!==0?e.toFixed(1):e},getTeamValue(e,a,o){if(!a.game_id)return this.objectZeroValues;const n=e.generalCategoriesIds.accomplished===3;if(a.is_live){const s=e.homeTeam.accomplished.totalLive+e.visitingTeam.accomplished.totalLive;return s?{numberValue:n?e[o].accomplished.totalLive/s*100:e[o].accomplished.totalLive,numberBarPercent:e[o].accomplished.totalLive/s}:this.objectZeroValues}else if(a.is_live||a.game_status===1){const s=e.homeTeam.accomplished.totalPostGame+e.visitingTeam.accomplished.totalPostGame;return s?{numberValue:n?e[o].accomplished.totalPostGame/s*100:e[o].accomplished.totalPostGame,numberBarPercent:e[o].accomplished.totalPostGame/s}:this.objectZeroValues}if(n){const s=e.homeTeam.accomplished.avgPostGame+e.visitingTeam.accomplished.avgPostGame,i=e[o].accomplished.avgPostGame/s;return e[o].accomplished.avgPostGame?{numberValue:i<1?i*100:i,numberBarPercent:e[o].accomplished.avgPostGame/s}:this.objectZeroValues}else{const s=e.homeTeam.accomplished.avgPostGame+e.visitingTeam.accomplished.avgPostGame;return e[o].accomplished.avgPostGame?{numberValue:e[o].accomplished.avgPostGame,numberBarPercent:e[o].accomplished.avgPostGame/s}:this.objectZeroValues}},async getGamesBySeasonV2(){try{const e={Authorization:this.token},o=`${this.apiUrl}${this.seasonId}/games/${this.gameId}`;return(await ji.get(o,{headers:e})).data}catch(e){return Promise.reject(e)}}},async mounted(){}},f1=e=>(t.pushScopeId("data-v-52b1ef67"),e=e(),t.popScopeId(),e),bV={class:"card"},wV={class:"card__header"},CV={class:"card__stats"},kV=["onClick"],SV=[f1(()=>t.createElementVNode("img",{src:u1},null,-1))],EV={key:1,class:"card__stats__stat__button_empty"},NV={class:"card__stats__title"},$V={class:"card__stats__scores"},BV={key:0},xV={key:1},VV={key:2},IV={key:3},AV={class:"card__stats__bars"},OV=["onClick"],TV=[f1(()=>t.createElementVNode("img",{src:u1},null,-1))],zV={key:1,class:"card__stats__stat__button_empty"};function FV(e,a,o,n,s,i){const r=t.resolveComponent("BarraLeft"),c=t.resolveComponent("BarraRight");return t.openBlock(),t.createElementBlock("div",bV,[t.createElementVNode("span",wV,t.toDisplayString(o.data.name),1),t.createElementVNode("div",CV,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.subcategories,(h,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,class:"card__stats__stat"},[t.createElementVNode("div",null,[i.hVal(h)&&i.hVal(h).numberValue!="0"?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:l=>i.onclickPlayVideos({category:h.accomplishedCategoryIds,type:3,season_id:e.seasonId,team_id:e.homeTeam.team_id}),class:"card__stats__stat__button card__stats__stat__button_left"},SV,8,kV)):(t.openBlock(),t.createElementBlock("div",EV))]),t.createElementVNode("div",null,[t.createElementVNode("div",NV,t.toDisplayString(h.name)+t.toDisplayString(),1),t.createElementVNode("div",$V,[i.hVal(h)?(t.openBlock(),t.createElementBlock("span",BV,[t.createTextVNode(t.toDisplayString(i.formatNumbers(i.hVal(h).numberValue)),1),h.name=="Posesión"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("%")],64)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",xV,"0")),i.aVal(h)?(t.openBlock(),t.createElementBlock("span",VV,[t.createTextVNode(t.toDisplayString(i.formatNumbers(i.aVal(h).numberValue)),1),h.name=="Posesión"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("%")],64)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",IV,"0"))]),t.createElementVNode("div",AV,[t.createElementVNode("div",null,[i.hVal(h)?(t.openBlock(),t.createBlock(r,{key:0,postmatch:i.hVal(h).numberBarPercent},null,8,["postmatch"])):(t.openBlock(),t.createBlock(r,{key:1,postmatch:0}))]),t.createElementVNode("div",null,[i.aVal(h)?(t.openBlock(),t.createBlock(c,{key:0,postmatch:i.aVal(h).numberBarPercent},null,8,["postmatch"])):(t.openBlock(),t.createBlock(c,{key:1,postmatch:0}))])])]),t.createElementVNode("div",null,[i.aVal(h)&&i.aVal(h).numberValue!="0"?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:l=>i.onclickPlayVideos({category:h.accomplishedCategoryIds,type:3,season_id:e.seasonId,team_id:e.visitingTeam.team_id}),class:"card__stats__stat__button card__stats__stat__button_right"},TV,8,OV)):(t.openBlock(),t.createElementBlock("div",zV))])]))),128))])])}const RV=Ae(_V,[["render",FV],["__scopeId","data-v-52b1ef67"]]),dMe="",PV={name:"GscComparative",props:{local:{type:Object,default:()=>{}},away:{type:Object,default:()=>{}},fontFamily:{type:String,default:"inherit"}},data(){return{}},computed:{customStyle(){const e={};return this.fontFamily&&(e["font-family"]=`${this.fontFamily}`),e}},methods:{}},Ia=e=>(t.pushScopeId("data-v-b60057e0"),e=e(),t.popScopeId(),e),DV={class:"comparative-card"},jV=Ia(()=>t.createElementVNode("div",{class:"header-title"},[t.createElementVNode("span",null,"Comparativa")],-1)),LV={class:"versus"},vV={class:"team-badge"},MV=["src","alt"],HV=Ia(()=>t.createElementVNode("div",null,[t.createElementVNode("div",null,[t.createElementVNode("div"),t.createElementVNode("div")]),t.createElementVNode("div",null,[t.createElementVNode("div"),t.createElementVNode("div")])],-1)),UV=Ia(()=>t.createElementVNode("span",{class:"vs-text"},"VS",-1)),GV={class:"team-badge"},WV=["src","alt"],qV={class:"details"},JV=Ia(()=>t.createElementVNode("td",null,"Posición en la tabla",-1)),XV=Ia(()=>t.createElementVNode("td",null,"Puntos",-1)),ZV=Ia(()=>t.createElementVNode("td",null,"Partidos jugados",-1)),YV=Ia(()=>t.createElementVNode("td",null,"Partidos ganados",-1)),KV=Ia(()=>t.createElementVNode("td",null,"Partidos perdidos",-1)),QV=Ia(()=>t.createElementVNode("td",null,"Partidos empatados",-1));function eI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:"comparative-main",style:t.normalizeStyle(i.customStyle)},[t.createElementVNode("div",DV,[jV,t.createElementVNode("div",LV,[t.createElementVNode("div",vV,[t.createElementVNode("img",{class:"team-badge__image",src:o.local.team_logo,alt:o.local.team_name},null,8,MV),HV]),UV,t.createElementVNode("div",GV,[t.createElementVNode("img",{class:"team-badge__image",src:o.away.team_logo,alt:o.away.team_name},null,8,WV)])]),t.createElementVNode("div",qV,[t.createElementVNode("table",null,[t.createElementVNode("tbody",null,[t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.table_position),1),JV,t.createElementVNode("td",null,t.toDisplayString(o.away.table_position),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.points),1),XV,t.createElementVNode("td",null,t.toDisplayString(o.away.points),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_played),1),ZV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_played),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_won),1),YV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_won),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_lost),1),KV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_lost),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_tied),1),QV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_tied),1)])])])])])],4)}const tI=Ae(PV,[["render",eI],["__scopeId","data-v-b60057e0"]]),mMe="",aI=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},vd={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},_1=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},b1=vd.setup;vd.setup=b1?(e,a)=>(_1(),b1(e,a)):_1;const oI={ref:"gscScrollableContainer",class:"scrollable-container"},nI={class:"scrollable-arrows"},sI=["width","height","viewBox"],iI=["stroke"],rI={class:"scrollable-wrapper"},lI={class:"scrollable-arrows"},cI=["width","height","viewBox"],dI=["stroke"];function mI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",oI,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",nI,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,iI)],8,sI))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",rI,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",lI,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,dI)],8,cI))])],2)):t.createCommentVNode("",!0)],512)}const Md=aI(vd,[["render",mI],["__scopeId","data-v-b548a08d"]]),pMe="";let w1=null;const pI={name:"App",components:{GscLinearTeamStats:RV,TableComparative:tI,GSCSlider:Md},props:{seasonSelected:{type:Object,default:()=>({})}},computed:{...kt("nextGeneral",["gameForAnalysis","seasonId"]),...Te("nextGeneral",["arrayFilledDataSortedByPriority"])},watch:{gameForAnalysis:{handler:function(){this.getTableList()},immediate:!0}},data(){return{gamesContainerWidth:0,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",url:"https://jfxv8fqkn3.execute-api.us-west-2.amazonaws.com/prod/generalTable/",gameId:79623,movil:!1,home:{},away:{}}},methods:{openmedia(e){this.$emit("openmedia",e)},setUpResizeObserver(){if(window.ResizeObserver)w1=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<680?this.movil=!0:this.movil=!1}),w1.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getTableList(){try{const a=await ji.create({headers:{Authorization:`${this.token}`}}).get(this.url+this.seasonSelected.id),o=a.data.data.findIndex(s=>s.team_id===this.gameForAnalysis.home_team),n=a.data.data.findIndex(s=>s.team_id===this.gameForAnalysis.visiting_team);this.home=a.data.data[o],this.away=a.data.data[n]}catch(e){console.error(e)}}},mounted(){setTimeout(()=>{this.setUpResizeObserver()},100)}},hI={class:"container",ref:"gamesContainer"},yI={key:0,class:"grid-container"},gI={class:"item"},uI={class:"item"},fI={class:"item"},_I={class:"item"},bI={class:"item"},wI={class:"item"},CI={class:"item"},kI={class:"grid-container"},SI={class:"item-comparative"},EI={class:"table-movil-container"};function NI(e,a,o,n,s,i){const r=t.resolveComponent("TableComparative"),c=t.resolveComponent("GscLinearTeamStats"),h=t.resolveComponent("GSCSlider");return t.openBlock(),t.createElementBlock("div",hI,[s.movil?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",kI,[t.createElementVNode("div",SI,[t.createVNode(r,{local:s.home,away:s.away,fontFamily:"Poppins-Regular"},null,8,["local","away"])])]),t.createVNode(h,{backgroundColor:"none",pxScroll:300,scrollColor:"none",arrowsPosition:"relative",arrowsScrollHide:!1,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"none",arrowsContainerBgR:"none",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd"},{default:t.withCtx(()=>[t.createElementVNode("div",EI,[t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510&&s.gamesContainerWidth>450?"width: 400px":s.gamesContainerWidth<=450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[0]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[1]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[2]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[3]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[4]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[5]},null,8,["onOpenmedia","data"])],4)])]),_:1})],64)):(t.openBlock(),t.createElementBlock("div",yI,[t.createElementVNode("div",gI,[t.createVNode(r,{local:s.home,away:s.away,fontFamily:"Poppins-Regular"},null,8,["local","away"])]),t.createElementVNode("div",uI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[0],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",fI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[1],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",_I,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[2],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",bI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[3],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",wI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[4],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",CI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[5],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])])]))],512)}const $I=Ae(pI,[["render",NI]]),hMe="",C1=["#cbee6b","#0033C5"],BI={name:"distributionchart",components:{},props:{seasonSelected:{type:Object,default:()=>({})}},data(){return{arrayChartTypes:["General","Ofensivo","Defensivo","Posesión","Balón parado","Infracciones"],height:409,updateCategory:0,homeTeamSelectedPlaysType:0,visitingTeamSelectedPlaysType:0,chartKeyCounter:0,homeTeamPlaysTypes:{history:0,live:1},visitingTeamPlaysTypes:{history:0,live:1},tooltip:{show:!1,data:{},names:{},keyName:"",leagueAvg:"",showLiveData:!1,local:!1,x:0,y:0},globals:{x:0,y:0},arrayDataForCharts:[],arrayChartOptions:[],arrayFilledSeries:[]}},watch:{menuOptionActive(){this.idAssetSelected==3},idAssetSelected(){this.idAssetSelected===3&&this.chartKeyCounter++},isMobile(e){this.chartOptions.legend.horizontalAlign=e?"center":"left",this.chartKeyCounter++},arrayFilledDataSortedByPriority:{immediate:!0,deep:!0,handler(){this.fillData()}},showLiveData(){this.fillData()}},computed:{...kt("nextGeneral",["showLiveData","gameForAnalysis"]),...Te("nextGeneral",["idAssetSelected","menuOptionActive","homeTeamStatisticsType","showPostMatchData","visitingTeamStatisticsType","homeTeam","visitingTeam","subcategoryName","accomplished","arrayFilledDataSortedByPriority","filledDataStructure","showPostMatchData"]),isMobile(){return this.$mq==="mobile"},timeLeft(){const e=new Date().getTime(),o=new Date(this.gameForAnalysis.date_time_utc).getTime()-e,n=Math.floor(o/(1e3*60*60*24)),s=Math.floor(o%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(o%(1e3*60*60)/(1e3*60)),r=Math.floor(o%(1e3*60)/1e3);let c="";return r>0&&(c=r==1?r+" segundo":r+" segundos"),i>0&&(c=i==1?i+" minuto":i+" minutos"),s>0&&(c=s==1?s+" hora":s+" horas"),n>0&&(c=n==1?n+" día":n+" días"),c}},methods:{avg(e,a){return a?e.leagueAccomplishedAvg:e.leagueReceivedAvg},fillData(){this.arrayChartOptions=[],this.arrayFilledDataSortedByPriority&&this.arrayFilledDataSortedByPriority.length&&typeof this.arrayFilledDataSortedByPriority[0].subcategories=="object"?(this.arrayChartOptions=[],this.arrayFilledSeries=[],this.arrayDataForCharts=this.arrayFilledDataSortedByPriority.map(e=>{const a=this.getChartOptions();return this.arrayFilledSeries.push(this.getChartSeries(e.subcategories,a)),this.arrayChartOptions.push(a),e})):this.arrayDataForCharts=[]},getChartOptions(){return{plotOptions:{radar:{size:132,polygons:{strokeColors:"#606971"}}},chart:{type:"radar",height:509,toolbar:{show:!1}},colors:C1,fill:{colors:C1,opacity:.4},legend:{show:!0,position:"bottom",horizontalAlign:"left",fontSize:"11px",fontFamily:"Poppins-Regular",labels:{colors:"#d9d9d9",useSeriesColors:!1}},xaxis:{categories:[],labels:{show:!0,style:{fontSize:"11px",fontFamily:"Poppins-Regular"}}},yaxis:{show:!1},responsive:[{breakpoint:770,options:{chart:{height:300},plotOptions:{radar:{size:100,offsetY:10,polygons:{strokeColors:"#606971"}},bar:{horizontal:!1}},legend:{position:"top",horizontalAlign:"center"},xaxis:{labels:{show:!0,style:{fontSize:"11px"}}}}},{breakpoint:450,options:{plotOptions:{radar:{size:70,offsetY:-20,polygons:{strokeColors:"#dcdcdc"}},bar:{horizontal:!1}},legend:{position:"top",horizontalAlign:"center"},xaxis:{labels:{show:!0,style:{fontSize:"10px"}}}}}],tooltip:{intersect:!0,followCursor:!0,shared:!1,theme:"dark",style:{fontSize:"12px"}}}},getChartSeries(e,a){let o,n;return this.showPostMatchData?(o={name:`${this.homeTeam.acronym}`,data:[]},n={name:`${this.visitingTeam.acronym}`,data:[]},a.arraySubcategories=[],Object.values(e).forEach((s,i)=>{a.xaxis.categories.push(this.prepareLabels(s,i)),a.arraySubcategories.push(s);const r=s.homeTeam[this.homeTeamStatisticsType].totalPostGame+s.visitingTeam[this.visitingTeamStatisticsType].totalPostGame;o.data.push(Math.round(120*(r?s.homeTeam[this.homeTeamStatisticsType].totalPostGame/r:0))),n.data.push(Math.round(120*(r?s.visitingTeam[this.visitingTeamStatisticsType].totalPostGame/r:0)))})):(o={name:`${this.showLiveData?"Live":"Histórico"} ${this.homeTeam.acronym}`,data:[]},n={name:`${this.showLiveData?"Live":"Histórico"} ${this.visitingTeam.acronym}`,data:[]},a.arraySubcategories=[],Object.values(e).forEach((s,i)=>{a.xaxis.categories.push(this.prepareLabels(s,i)),a.arraySubcategories.push(s);let r,c;s.homeTeam[this.homeTeamStatisticsType].leader.points,s.visitingTeam[this.visitingTeamStatisticsType].leader.points;const h=s.homeTeam.accomplished.avgPostGame+s.visitingTeam.accomplished.avgPostGame;if(!this.showLiveData)this.gameForAnalysis.game_status!==1&&s.generalCategoriesIds.accomplished===3?r=s.homeTeam.accomplished.avgPostGame/h:r=h?s.homeTeam[this.homeTeamStatisticsType].avgPostGame/h:0;else{const d=s.homeTeam[this.homeTeamStatisticsType].totalLive+s.visitingTeam[this.visitingTeamStatisticsType].totalLive;r=d?s.homeTeam[this.homeTeamStatisticsType].totalLive/d:0}if(!this.showLiveData)this.gameForAnalysis.game_status!==1&&s.generalCategoriesIds.accomplished===3?c=s.visitingTeam.accomplished.avgPostGame/h:c=h?s.visitingTeam[this.visitingTeamStatisticsType].avgPostGame/h:0;else{const d=s.homeTeam[this.homeTeamStatisticsType].totalLive+s.visitingTeam[this.visitingTeamStatisticsType].totalLive;c=d?s.visitingTeam[this.visitingTeamStatisticsType].totalLive/d:0}o.data.push(Math.round(120*r)),n.data.push(Math.round(120*c))})),[o,n]},onHomeTeamPlaysTypeChanged(e){this.homeTeamSelectedPlaysType=e},onVisitingTeamPlaysTypeChanged(e){this.visitingTeamSelectedPlaysType=e},getSubcategoryData(e,a="homeTeam"){return e.id==="3-0"&&(e[a].accomplished.totalLiveBothTeams=e.homeTeam.accomplished.totalLive+e.visitingTeam.accomplished.totalLive),e[a].accomplished||0},showModal(e,a,o){const n=o===0?"homeTeam":"visitingTeam",s=e.config.arraySubcategories[a]||{};this.tooltip.isLeagueAvgVisible=s.id!=="3-0",this.tooltip.data=this.getSubcategoryData(s,n),this.tooltip.local=o===0,this.tooltip.names=s.names,this.tooltip.keyName=this.subcategoryName,this.tooltip.leagueAvg=this.leagueAvg(s);const i=e.globals.clientX||0,r=e.globals.clientY||0;this.globals.x=i,this.globals.y=r,this.tooltip.x=i,this.tooltip.y=r>700?r-250:r;const c=s.generalCategoriesIds.accomplished===3;if(c){const h=s.homeTeam.accomplished.avgPostGame+s.visitingTeam.accomplished.avgPostGame;this.tooltip.numberValue=h?s[n].accomplished.avgPostGame/h*100:0}else this.tooltip.numberValue=null;return this.tooltip.booleanIsPercent=c,this.tooltip.show=!0,this.tooltip.data},updateTooltip(e){const o=Math.abs(e.clientX-this.globals.x),n=Math.abs(e.clientY-this.globals.y);(o>5||n>5)&&(this.tooltip.show=!1)},prepareLabels(e,a){let o=e.name||e.names[this.subcategoryName]||e.names["0-0"];if(a===0)return o;const n=13;if(o.length>n){let s=o.split(" ");o=[];let i="",r="",c=s.slice(-1)[0];s.forEach(h=>{i+=` ${h} `,i.length>n&&(o.push(r.trim()),i=h),r=i,c===h&&o.push(r.trim())})}return o},leagueAvg(e){return e.generalCategoriesIds.accomplished===3?(e.homeTeam.accomplished.arrayRankings.reduce((a,o)=>a+o.points,0)/e.homeTeam.accomplished.arrayRankings.length*100).toFixed(2):this.avg(e,this.accomplished)}}},k1=e=>(t.pushScopeId("data-v-761b9cde"),e=e(),t.popScopeId(),e),xI={key:0,class:"distribution-leyend"},VI=k1(()=>t.createElementVNode("br",null,null,-1)),II={class:"distribution"},AI={class:"distribution__container"},OI={class:"distribution__container__chart-type__title"},TI=k1(()=>t.createElementVNode("div",{class:"distribution__container__chart-type__controls"},null,-1)),zI={class:"distribution__container__chart-type__chart"};function FI(e,a,o,n,s,i){const r=t.resolveComponent("apexchart");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.gameForAnalysis.game_status==4?(t.openBlock(),t.createElementBlock("div",xI,[t.createTextVNode("Faltan "),t.createElementVNode("span",null,t.toDisplayString(i.timeLeft),1),t.createTextVNode(" para el inicio."),VI,t.createTextVNode("Las estadísticas corresponden a sus promedios por partido del torneo "),t.createElementVNode("span",null,t.toDisplayString(o.seasonSelected.name),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",II,[t.createElementVNode("div",AI,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.arrayDataForCharts,(c,h)=>(t.openBlock(),t.createElementBlock("div",{class:"distribution__container__chart-type",key:h},[t.createElementVNode("div",OI,t.toDisplayString(c.name),1),TI,t.createElementVNode("div",zI,[(t.openBlock(),t.createBlock(r,{type:"radar",height:s.height,options:s.arrayChartOptions[h],series:s.arrayFilledSeries[h],key:s.chartKeyCounter+s.updateCategory+h},null,8,["height","options","series"]))])]))),128))])])],64)}const RI=Ae(BI,[["render",FI],["__scopeId","data-v-761b9cde"]]),PI=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},Hd={props:{textOptionLeft:String,valueDefault:{type:String,default:""},textOptionRight:String,hiddenLabels:{type:Boolean,default:!1},width:{type:String,default:"50px"},height:{type:String,default:"32px"},heightCircle:{type:String,default:"24px"},widthCircle:{type:String,default:"24px"},widthIcons:{type:String,default:"22"},borderRadius:{type:String,default:"30px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"14px"},fontColor:{type:String,default:"#000000"},iconA:{type:String,default:""},iconB:{type:String,default:""},fontFamily:{type:String,default:"Poppins-Regular"},backgroundColor:{type:String,default:"#2e3b46"},circleColorSwitch:{type:String,default:"#FFFFFF"}},data(){return{OptionDefault:!1}},watch:{valueDefault:{immediate:!0,handler:async function(e){try{e==this.textOptionLeft&&(this.OptionDefault=!1),e==this.textOptionRight&&(this.OptionDefault=!0)}catch(a){throw new Error(a)}}}},computed:{customStyle(){return{width:this.width,height:this.height,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,backgroundColor:this.backgroundColor,circleColor:this.circleColorSwitch}},customText(){return{color:this.fontColor,fontSize:this.fontSize,fontFamily:`${this.fontFamily} !important`}}},methods:{handleSwitchChange(e){e.target.checked?this.$emit("change",this.textOptionRight):this.$emit("change",this.textOptionLeft)}}},S1=()=>{t.useCssVars(e=>({"1b04779e":e.widthCircle,c974bf22:e.heightCircle}))},E1=Hd.setup;Hd.setup=E1?(e,a)=>(S1(),E1(e,a)):S1;const DI={key:0,class:"text-left"},jI=["width","src"],LI=["checked"],vI=["width","src"],MI={key:3,class:"text-right"};function HI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:"gsc-switch-radio",style:t.normalizeStyle(i.customText)},[o.textOptionLeft!=""&&!o.hiddenLabels?(t.openBlock(),t.createElementBlock("span",DI,t.toDisplayString(o.textOptionLeft),1)):t.createCommentVNode("",!0),o.iconA!=""?(t.openBlock(),t.createElementBlock("img",{key:1,width:o.widthIcons,src:o.iconA},null,8,jI)):t.createCommentVNode("",!0),t.createElementVNode("input",{type:"checkbox",id:"toggle-btn",onChange:a[0]||(a[0]=(...r)=>i.handleSwitchChange&&i.handleSwitchChange(...r)),checked:s.OptionDefault},null,40,LI),t.createElementVNode("label",{for:"toggle-btn",style:t.normalizeStyle([i.customStyle,{"--circle-color":o.circleColorSwitch}])},null,4),o.iconB!=""?(t.openBlock(),t.createElementBlock("img",{key:2,width:o.widthIcons,src:o.iconB},null,8,vI)):t.createCommentVNode("",!0),o.textOptionRight!=""&&!o.hiddenLabels?(t.openBlock(),t.createElementBlock("span",MI,t.toDisplayString(o.textOptionRight),1)):t.createCommentVNode("",!0)],4)}const UI=PI(Hd,[["render",HI],["__scopeId","data-v-e2a20444"]]),yMe="",gMe="",GI={name:"tooltip",props:{data:{type:Object,required:!0}},computed:{positionTooltip(){return{top:`${this.data.y}px`,left:`${this.data.x}px`}},showTooltip(){return{visible:this.data.visible}}},methods:{tooltipClick:function(e){this.visible=!1}}};function WI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["box-tooltip",i.showTooltip]),style:t.normalizeStyle(i.positionTooltip),onClick:a[0]||(a[0]=(...r)=>i.tooltipClick&&i.tooltipClick(...r))},[t.renderSlot(e.$slots,"default",{},void 0,!0)],6)}const N1=Ae(GI,[["render",WI],["__scopeId","data-v-7203f8fc"]]),uMe="",qI={name:"SoccerChalkboard",components:{Tooltip:N1},props:{plays:{type:Array,required:!0},categories:{type:Array,required:!0},team:{type:String,required:!0}},data(){return{negativeColor:"red",data:{x:0,y:0,visible:!1},dataPlay:{playerName:"",photo:"",minute:0,rivalLogo:"",rivalName:"",categoryName:"",xGi:0,xGf:0,isOwnGoal:!1}}},computed:{...Te("nextGeneral",["homeTeam","visitingTeam"]),preparedPlays(){return this.plays.map(e=>({...e,playingAs:e.playing_as,teamId:e.team_id,photo:e.photo,categoryId:e.category_id,matchResult:e.match_result,matchLapse:e.matchlapse,x1:e.x1*100,y1:e.y1*100,x2:e.x2*100,y2:e.y2*100,x3:e.x3*100,y3:e.y3*100,xGi:e.xG1,xGf:e.xG2}))},localCategories(){return this.categories.map((e,a)=>({id:a,name:e.name,negative:e.negative||!1,color:e.color,points:e.points,numPoints:e.points.length,categories:e.categories,invert:e.invert||[]}))},graphPlays(){let e=this.localCategories.reduce((n,s)=>[...n,s.categories],[]);return this.preparedPlays.filter(n=>this.findCategoryInPlay(e,n)).reduce((n,s)=>{let i=this.localCategories.find(r=>this.findCategoryInPlay(r.categories,s));if(i){let r={category:i.id,categoryName:i.name,arrowColor:i.negative?this.negativeColor:i.color,arrowMarkerColor:i.negative?"url(#arrow-negative)":`url(#arrow-${i.id})`,markerColor:i.color,jersey:s.jersey_number,matchlapse:s.matchLapse,playerName:s.player_name,photo:s.photo,rivalLogo:s.rival_id,x1:i.invert.includes(s.categoryId)?100-s[`x${i.points[0]}`]:s[`x${i.points[0]}`],y1:i.invert.includes(s.categoryId)?100-s[`y${i.points[0]}`]:s[`y${i.points[0]}`],x2:i.invert.includes(s.categoryId)?100-s[`x${i.points[1]}`]:s[`x${i.points[1]}`],y2:i.invert.includes(s.categoryId)?100-s[`y${i.points[1]}`]:s[`y${i.points[1]}`],x3:i.invert.includes(s.categoryId)?100-s[`x${i.points[2]}`]:s[`x${i.points[2]}`],y3:i.invert.includes(s.categoryId)?100-s[`y${i.points[2]}`]:s[`y${i.points[2]}`],momentOfPlay:s.moment_of_play,isOwnGoal:i.invert.includes(s.categoryId),xGi:s.xGi,xGf:s.xGf};n.push(r)}return n},[])}},methods:{findCategoryInPlay(e,a){return e.find(o=>typeof o=="number"?o===a.categoryId:o.includes(a.categoryId))},onMouseOver(e,a){this.dataPlay.playerName=a.playerName||"",this.dataPlay.photo=a.photo||"",this.dataPlay.minute=parseInt(a.momentOfPlay.split(":")[0])||"",this.dataPlay.rivalLogo=a.rivalLogo||"",this.dataPlay.categoryName=a.categoryName||"",this.dataPlay.rivalName=this.team=="Visiting"?this.homeTeam.colloquial_name:this.visitingTeam.colloquial_name,this.dataPlay.xGi=String(a.xGi),this.dataPlay.xGf=String(a.xGf),this.dataPlay.isOwnGoal=a.isOwnGoal,this.data.visible=!0},onMouseLeave(){this.data.visible=!1}}},Tn=e=>(t.pushScopeId("data-v-6b0cedf1"),e=e(),t.popScopeId(),e),JI={class:"soccer-chalkboard-xg"},XI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 490 684","xmlns:xlink":"http://www.w3.org/1999/xlink",class:"soccer-chalkboard"},ZI={xmlns:"http://www.w3.org/2000/svg",viewBox:"30 0 452 684","xmlns:xlink":"http://www.w3.org/1999/xlink"},YI=Tn(()=>t.createElementVNode("marker",{id:"arrow-negative",viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:"red"})],-1)),KI=["id"],QI=["fill"],eA=Tn(()=>t.createElementVNode("pattern",{id:"fieldBackground",width:"1",height:"1",viewBox:"0 0 100 100",preserveAspectRatio:"none"},[t.createElementVNode("image",{"xlink:href":"https://az755631.vo.msecnd.net/todoelfut/fieldbg.png",width:"100",height:"100",preserveAspectRatio:"none",id:"image2"})],-1)),tA=["id"],aA=["x1","y1","x2","y2","stroke"],oA=["x1","y1","x2","y2","stroke","marker-end"],nA=["onMouseover"],sA=["x","y","fill"],iA=["x","y"],rA={class:"tooltip-data has-text-left"},lA={class:"bold"},cA={class:"tooltip-image"},dA={class:"tooltip-image"},mA=["src"],pA={class:"tooltip-xg"},hA={key:0},yA=Tn(()=>t.createElementVNode("span",null,"xGi:",-1)),gA=Tn(()=>t.createElementVNode("div",{class:"tooltip-xg-separator"},null,-1)),uA={key:1},fA=Tn(()=>t.createElementVNode("span",null,"xGf:",-1));function _A(e,a,o,n,s,i){const r=t.resolveComponent("Tooltip");return t.openBlock(),t.createElementBlock("div",JI,[(t.openBlock(),t.createElementBlock("svg",XI,[(t.openBlock(),t.createElementBlock("svg",ZI,[t.createElementVNode("defs",null,[YI,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.localCategories,c=>(t.openBlock(),t.createElementBlock("marker",{key:`arrow-color-${c.id}`,id:`arrow-${c.id}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:c.color},null,8,QI)],8,KI))),128)),eA]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.graphPlays,c=>(t.openBlock(),t.createElementBlock("g",{key:c.id,id:`play-${c.playId}`},[t.createElementVNode("line",{x1:`${c.x1}%`,y1:`${c.y1}%`,x2:`${c.x2}%`,y2:`${c.y2}%`,stroke:c.arrowColor,"stroke-width":"2"},null,8,aA),t.createElementVNode("line",{x1:`${c.x2}%`,y1:`${c.y2}%`,x2:`${c.x3}%`,y2:`${c.y3}%`,stroke:c.arrowColor,"stroke-width":"2","marker-end":c.arrowMarkerColor},null,8,oA),t.createElementVNode("g",{onMouseover:h=>i.onMouseOver(h,c),onMouseleave:a[0]||(a[0]=(...h)=>i.onMouseLeave&&i.onMouseLeave(...h)),class:"is-pointer"},[t.createElementVNode("rect",{x:`${c.x1}%`,y:`${c.y1}%`,transform:"translate(-14, -14)",height:"28",width:"28","stroke-width":"2",fill:c.markerColor,stroke:"#999",rx:"14",ry:"14"},null,8,sA),t.createElementVNode("text",{"text-anchor":"middle","dominant-baseline":"middle",x:`${c.x1}%`,y:`${c.y1}%`,dy:"1","font-size":"15",fill:"#fff","font-family":"'Poppins-SemiBold', sans-serif"},t.toDisplayString(c.jersey),9,iA)],40,nA)],8,tA))),128))]))])),t.createVNode(r,{data:s.data},{default:t.withCtx(()=>[t.createElementVNode("div",rA,[t.createElementVNode("div",null,[t.createElementVNode("span",lA,t.toDisplayString(s.dataPlay.isOwnGoal?"Autogol":s.dataPlay.categoryName),1)]),t.createElementVNode("div",null,[t.createTextVNode(t.toDisplayString(s.dataPlay.playerName)+" ",1),t.createElementVNode("div",cA,[t.createElementVNode("div",{class:"tooltip-image-player",style:t.normalizeStyle("background: url("+s.dataPlay.photo+") top")},null,4)])]),t.createElementVNode("div",null,"Minuto:  "+t.toDisplayString(s.dataPlay.minute)+"'",1),t.createElementVNode("div",null,[t.createTextVNode(" Rival:  "+t.toDisplayString(s.dataPlay.rivalName)+" ",1),t.createElementVNode("div",dA,[t.createElementVNode("img",{src:s.dataPlay.rivalLogo},null,8,mA)])]),t.createElementVNode("div",pA,[/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGi)&&s.dataPlay.xGi<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",hA,[yA,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGi)),1)])):t.createCommentVNode("",!0),gA,/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGf)&&s.dataPlay.xGf<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",uA,[fA,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGf)),1)])):t.createCommentVNode("",!0)])])]),_:1},8,["data"])])}const $1=Ae(qI,[["render",_A],["__scopeId","data-v-6b0cedf1"]]),Li=[{name:"Goles",color:"#336DFF",points:[1,2,3],categories:[12,55,35,54],invert:[35,54],negative:!1},{name:"Tiros a gol",color:"#7ED321",points:[1,2,3],categories:[12,55,35,54,510]}],fMe="",bA={name:"Xg",components:{SoccerChalkboard:$1},props:{},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsLocal","goalsQtyLocal","shotsOnGoalQtyLocal","xGLocal"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.homeTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyLocal},{title:"Tiros a Gol",value:this.shotsOnGoalQtyLocal},{title:"Goles esperados (xG)",value:this.xGLocal}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.homeTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.fillXgPlays()}},B1=e=>(t.pushScopeId("data-v-4a4ce36c"),e=e(),t.popScopeId(),e),wA={class:"xg-container"},CA={class:"xg-container__info"},kA=B1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),SA={class:"table"},EA={class:"table__row"},NA={class:"table__row__title"},$A={class:"table__row__value"},BA=["src"],xA={class:"table__row"},VA={class:"table__row__title"},IA={class:"table__row__value"},AA={class:"table__row"},OA={class:"table__row__title"},TA={class:"table__row__value"},zA=B1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1)),FA={class:"xg-container__field"};function RA(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",wA,[t.createElementVNode("div",CA,[kA,t.createElementVNode("div",SA,[t.createElementVNode("div",EA,[t.createElementVNode("div",NA,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",$A,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,BA)])]),t.createElementVNode("div",xA,[t.createElementVNode("div",VA,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",IA,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",AA,[t.createElementVNode("div",OA,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",TA,t.toDisplayString(i.gxInfoItems[2].value),1)])]),zA]),t.createElementVNode("div",FA,[t.createVNode(r,{plays:e.playsLocal,categories:s.categories,team:e.team},null,8,["plays","categories","team"])])])}const PA=Ae(bA,[["render",RA],["__scopeId","data-v-4a4ce36c"]]),_Me="",DA={name:"Xg",components:{SoccerChalkboard:$1},props:{team:{type:String,default:"Visiting"}},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsAway","goalsQtyAway","shotsOnGoalQtyAway","xGAway"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.visitingTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyAway},{title:"Tiros a Gol",value:this.shotsOnGoalQtyAway},{title:"Goles esperados (xG)",value:this.xGAway}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.visitingTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.setTeamSelected("Visiting"),this.fillXgPlays()}},x1=e=>(t.pushScopeId("data-v-e158f097"),e=e(),t.popScopeId(),e),jA={class:"xg-container"},LA={class:"xg-container__info"},vA=x1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),MA={class:"table"},HA={class:"table__row"},UA={class:"table__row__title"},GA={class:"table__row__value"},WA=["src"],qA={class:"table__row"},JA={class:"table__row__title"},XA={class:"table__row__value"},ZA={class:"table__row"},YA={class:"table__row__title"},KA={class:"table__row__value"},QA=x1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1)),eO={class:"xg-container__field"};function tO(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",jA,[t.createElementVNode("div",LA,[vA,t.createElementVNode("div",MA,[t.createElementVNode("div",HA,[t.createElementVNode("div",UA,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",GA,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,WA)])]),t.createElementVNode("div",qA,[t.createElementVNode("div",JA,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",XA,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",ZA,[t.createElementVNode("div",YA,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",KA,t.toDisplayString(i.gxInfoItems[2].value),1)])]),QA]),t.createElementVNode("div",eO,[t.createVNode(r,{plays:e.playsAway,categories:s.categories,team:o.team},null,8,["plays","categories","team"])])])])}const aO=Ae(DA,[["render",tO],["__scopeId","data-v-e158f097"]]),bMe="",oO={name:"SoccerChalkboard",components:{Tooltip:N1},props:{plays:{type:Array,required:!0},categories:{type:Array,required:!0},team:{type:String,required:!0}},data(){return{negativeColor:"red",data:{x:0,y:0,visible:!1},dataPlay:{playerName:"",photo:"",minute:0,rivalLogo:"",rivalName:"",categoryName:"",xGi:0,xGf:0,isOwnGoal:!1}}},computed:{...Te("nextGeneral",["homeTeam","visitingTeam"]),preparedPlays(){return this.plays.map(e=>({...e,playingAs:e.playing_as,teamId:e.team_id,photo:e.photo,categoryId:e.category_id,matchResult:e.match_result,matchLapse:e.matchlapse,x1:e.x1*100,y1:e.y1*100,x2:e.x2*100,y2:e.y2*100,x3:e.x3*100,y3:e.y3*100,xGi:e.xG1,xGf:e.xG2}))},localCategories(){return this.categories.map((e,a)=>({id:a,name:e.name,negative:e.negative||!1,color:e.color,points:e.points,numPoints:e.points.length,categories:e.categories,invert:e.invert||[]}))},graphPlays(){let e=this.localCategories.reduce((n,s)=>[...n,s.categories],[]);return this.preparedPlays.filter(n=>this.findCategoryInPlay(e,n)).reduce((n,s)=>{let i=this.localCategories.find(r=>this.findCategoryInPlay(r.categories,s));if(i){let r={category:i.id,categoryName:i.name,arrowColor:i.negative?this.negativeColor:i.color,arrowMarkerColor:i.negative?"url(#arrow-negative)":`url(#arrow-${i.id})`,markerColor:i.color,jersey:s.jersey_number,matchlapse:s.matchLapse,playerName:s.player_name,photo:s.photo,rivalLogo:s.rival_id,x1:i.invert.includes(s.categoryId)?100-s[`x${i.points[0]}`]:s[`x${i.points[0]}`],y1:i.invert.includes(s.categoryId)?100-s[`y${i.points[0]}`]:s[`y${i.points[0]}`],x2:i.invert.includes(s.categoryId)?100-s[`x${i.points[1]}`]:s[`x${i.points[1]}`],y2:i.invert.includes(s.categoryId)?100-s[`y${i.points[1]}`]:s[`y${i.points[1]}`],x3:i.invert.includes(s.categoryId)?100-s[`x${i.points[2]}`]:s[`x${i.points[2]}`],y3:i.invert.includes(s.categoryId)?100-s[`y${i.points[2]}`]:s[`y${i.points[2]}`],momentOfPlay:s.moment_of_play,isOwnGoal:i.invert.includes(s.categoryId),xGi:s.xGi,xGf:s.xGf};n.push(r)}return n},[])}},methods:{findCategoryInPlay(e,a){return e.find(o=>typeof o=="number"?o===a.categoryId:o.includes(a.categoryId))},onMouseOver(e,a){this.dataPlay.playerName=a.playerName||"",this.dataPlay.photo=a.photo||"",this.dataPlay.minute=parseInt(a.momentOfPlay.split(":")[0])||"",this.dataPlay.rivalLogo=a.rivalLogo||"",this.dataPlay.categoryName=a.categoryName||"",this.dataPlay.rivalName=this.team=="Visiting"?this.homeTeam.team_name:this.visitingTeam.team_name,this.dataPlay.xGi=String(a.xGi),this.dataPlay.xGf=String(a.xGf),this.dataPlay.isOwnGoal=a.isOwnGoal,this.data.x=e.pageX<135?e.pageX-50:e.layerX-50,this.data.y=e.layerY+130,this.data.visible=!0},onMouseLeave(){this.data.visible=!1}}},zn=e=>(t.pushScopeId("data-v-23c5f659"),e=e(),t.popScopeId(),e),nO={class:"soccer-chalkboard-xg"},sO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 490 684","xmlns:xlink":"http://www.w3.org/1999/xlink",class:"soccer-chalkboard"},iO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 452 684","xmlns:xlink":"http://www.w3.org/1999/xlink"},rO=zn(()=>t.createElementVNode("marker",{id:"arrow-negative",viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:"red"})],-1)),lO=["id"],cO=["fill"],dO=zn(()=>t.createElementVNode("pattern",{id:"fieldBackground",width:"1",height:"1",viewBox:"0 0 100 100",preserveAspectRatio:"none"},[t.createElementVNode("image",{"xlink:href":"https://az755631.vo.msecnd.net/todoelfut/fieldbg.png",width:"100",height:"100",preserveAspectRatio:"none",id:"image2"})],-1)),mO=["id"],pO=["x1","y1","x2","y2","stroke"],hO=["x1","y1","x2","y2","stroke","marker-end"],yO=["onMouseover"],gO=["x","y","fill"],uO=["x","y"],fO={class:"tooltip-data has-text-left"},_O={class:"bold"},bO={class:"tooltip-image"},wO={class:"tooltip-image"},CO=["src"],kO={class:"tooltip-xg"},SO={key:0},EO=zn(()=>t.createElementVNode("span",null,"xGi:",-1)),NO=zn(()=>t.createElementVNode("div",{class:"tooltip-xg-separator"},null,-1)),$O={key:1},BO=zn(()=>t.createElementVNode("span",null,"xGf:",-1));function xO(e,a,o,n,s,i){const r=t.resolveComponent("Tooltip");return t.openBlock(),t.createElementBlock("div",nO,[(t.openBlock(),t.createElementBlock("svg",sO,[(t.openBlock(),t.createElementBlock("svg",iO,[t.createElementVNode("defs",null,[rO,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.localCategories,c=>(t.openBlock(),t.createElementBlock("marker",{key:`arrow-color-${c.id}`,id:`arrow-${c.id}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:c.color},null,8,cO)],8,lO))),128)),dO]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.graphPlays,c=>(t.openBlock(),t.createElementBlock("g",{key:c.id,id:`play-${c.playId}`},[t.createElementVNode("line",{x1:`${c.x1}%`,y1:`${c.y1}%`,x2:`${c.x2}%`,y2:`${c.y2}%`,stroke:c.arrowColor,"stroke-width":"2"},null,8,pO),t.createElementVNode("line",{x1:`${c.x2}%`,y1:`${c.y2}%`,x2:`${c.x3}%`,y2:`${c.y3}%`,stroke:c.arrowColor,"stroke-width":"2","marker-end":c.arrowMarkerColor},null,8,hO),t.createElementVNode("g",{onMouseover:h=>i.onMouseOver(h,c),onMouseleave:a[0]||(a[0]=(...h)=>i.onMouseLeave&&i.onMouseLeave(...h)),class:"is-pointer"},[t.createElementVNode("rect",{x:`${c.x1}%`,y:`${c.y1}%`,transform:"translate(-14, -14)",height:"28",width:"28","stroke-width":"2",fill:c.markerColor,stroke:"#aaa",rx:"14",ry:"14"},null,8,gO),t.createElementVNode("text",{"text-anchor":"middle","dominant-baseline":"middle",x:`${c.x1}%`,y:`${c.y1}%`,dy:"1","font-size":"15",stroke:"white","font-family":"Poppins, sans-serif"},t.toDisplayString(c.jersey),9,uO)],40,yO)],8,mO))),128))]))])),t.createVNode(r,{data:s.data},{default:t.withCtx(()=>[t.createElementVNode("div",fO,[t.createElementVNode("div",null,[t.createElementVNode("span",_O,t.toDisplayString(s.dataPlay.isOwnGoal?"Autogol":s.dataPlay.categoryName),1)]),t.createElementVNode("div",null,[t.createTextVNode(t.toDisplayString(s.dataPlay.playerName)+" ",1),t.createElementVNode("div",bO,[t.createElementVNode("div",{class:"tooltip-image-player",style:t.normalizeStyle("background: url("+s.dataPlay.photo+") top")},null,4)])]),t.createElementVNode("div",null,"Minuto:  "+t.toDisplayString(s.dataPlay.minute)+"'",1),t.createElementVNode("div",null,[t.createTextVNode(" Rival:  "+t.toDisplayString(s.dataPlay.rivalName)+" ",1),t.createElementVNode("div",wO,[t.createElementVNode("img",{src:s.dataPlay.rivalLogo},null,8,CO)])]),t.createElementVNode("div",kO,[/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGi)&&s.dataPlay.xGi<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",SO,[EO,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGi)),1)])):t.createCommentVNode("",!0),NO,/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGf)&&s.dataPlay.xGf<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",$O,[BO,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGf)),1)])):t.createCommentVNode("",!0)])])]),_:1},8,["data"])])}const V1=Ae(oO,[["render",xO],["__scopeId","data-v-23c5f659"]]),wMe="",VO={name:"Xg",components:{SoccerChalkboard:V1},props:{},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsLocal","goalsQtyLocal","shotsOnGoalQtyLocal","xGLocal"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.homeTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyLocal},{title:"Tiros a Gol",value:this.shotsOnGoalQtyLocal},{title:"Goles esperados (xG)",value:this.xGLocal}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.homeTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.fillXgPlays()}},I1=e=>(t.pushScopeId("data-v-5564b893"),e=e(),t.popScopeId(),e),IO={class:"xg-container"},AO=I1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),OO={class:"xg-container__field"},TO={class:"xg-container__info"},zO={class:"table"},FO={class:"table__row"},RO={class:"table__row__title"},PO={class:"table__row__value"},DO=["src"],jO={class:"table__row"},LO={class:"table__row__title"},vO={class:"table__row__value"},MO={class:"table__row"},HO={class:"table__row__title"},UO={class:"table__row__value"},GO=I1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1));function WO(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",IO,[AO,t.createElementVNode("div",OO,[t.createVNode(r,{plays:e.playsLocal,categories:s.categories,team:e.team},null,8,["plays","categories","team"])]),t.createElementVNode("div",TO,[t.createElementVNode("div",zO,[t.createElementVNode("div",FO,[t.createElementVNode("div",RO,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",PO,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,DO)])]),t.createElementVNode("div",jO,[t.createElementVNode("div",LO,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",vO,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",MO,[t.createElementVNode("div",HO,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",UO,t.toDisplayString(i.gxInfoItems[2].value),1)])]),GO])])}const qO=Ae(VO,[["render",WO],["__scopeId","data-v-5564b893"]]),CMe="",JO={name:"Xg",components:{SoccerChalkboard:V1},props:{},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsAway","goalsQtyAway","shotsOnGoalQtyAway","xGAway"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.visitingTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyAway},{title:"Tiros a Gol",value:this.shotsOnGoalQtyAway},{title:"Goles esperados (xG)",value:this.xGAway}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.homeTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,AwayTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,AwayTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.fillXgPlays()}},A1=e=>(t.pushScopeId("data-v-deab5cdf"),e=e(),t.popScopeId(),e),XO={class:"xg-container"},ZO=A1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),YO={class:"xg-container__field"},KO={class:"xg-container__info"},QO={class:"table"},eT={class:"table__row"},tT={class:"table__row__title"},aT={class:"table__row__value"},oT=["src"],nT={class:"table__row"},sT={class:"table__row__title"},iT={class:"table__row__value"},rT={class:"table__row"},lT={class:"table__row__title"},cT={class:"table__row__value"},dT=A1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1));function mT(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",XO,[ZO,t.createElementVNode("div",YO,[t.createVNode(r,{plays:e.playsAway,categories:s.categories,team:e.team},null,8,["plays","categories","team"])]),t.createElementVNode("div",KO,[t.createElementVNode("div",QO,[t.createElementVNode("div",eT,[t.createElementVNode("div",tT,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",aT,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,oT)])]),t.createElementVNode("div",nT,[t.createElementVNode("div",sT,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",iT,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",rT,[t.createElementVNode("div",lT,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",cT,t.toDisplayString(i.gxInfoItems[2].value),1)])]),dT])])}const pT=Ae(JO,[["render",mT],["__scopeId","data-v-deab5cdf"]]),kMe="";let O1=null;const hT={name:"XgMain",components:{GSCSwitchRadio:UI,SoccerChalkboardLocal:PA,SoccerChalkboardAway:aO,SoccerChalkboardLocalMobile:qO,SoccerChalkboardAwayMobile:pT},props:{},data(){return{gamesContainerWidth:0,teamSelect:"local",teamDefault:""}},computed:{...Te("nextGeneral",["homeTeam","visitingTeam"])},watch:{},methods:{onChangeTeam(e){e instanceof Object||(this.teamSelect=e),this.teamDefault=e},setUpResizeObserver(){if(window.ResizeObserver)O1=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<680?this.movil=!0:this.movil=!1}),O1.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")}},mounted(){this.teamSelect=this.homeTeam.colloquial_name,this.teamLocal=this.homeTeam.colloquial_name,setTimeout(()=>{this.setUpResizeObserver()},100)},updated(){this.teamSelect!=this.homeTeam.colloquial_name&&this.teamSelect!=this.visitingTeam.colloquial_name&&(this.teamSelect=this.homeTeam.colloquial_name,this.onChangeTeam(this.teamSelect))}},yT={class:"xg",ref:"gamesContainer"},gT={key:0,class:"selector-team"};function uT(e,a,o,n,s,i){const r=t.resolveComponent("GSCSwitchRadio"),c=t.resolveComponent("SoccerChalkboardLocal"),h=t.resolveComponent("SoccerChalkboardAway"),d=t.resolveComponent("SoccerChalkboardLocalMobile"),l=t.resolveComponent("SoccerChalkboardAwayMobile");return t.openBlock(),t.createElementBlock("div",yT,[s.gamesContainerWidth<655?(t.openBlock(),t.createElementBlock("div",gT,[t.createVNode(r,{width:"42px",height:"20px",heightCircle:"16px",widthCircle:"16px","circle-color-switch":"#cbee6b",valueDefault:s.teamDefault,"text-option-left":e.homeTeam.colloquial_name,"text-option-right":e.visitingTeam.colloquial_name,"font-color":"white","hidden-labels":!1,"icon-a":e.homeTeam.logo,"icon-b":e.visitingTeam.logo,onChange:i.onChangeTeam},null,8,["valueDefault","text-option-left","text-option-right","icon-a","icon-b","onChange"])])):t.createCommentVNode("",!0),s.gamesContainerWidth>=655?(t.openBlock(),t.createBlock(c,{key:1,class:"local"})):t.createCommentVNode("",!0),s.gamesContainerWidth>=655?(t.openBlock(),t.createBlock(h,{key:2,class:"away"})):t.createCommentVNode("",!0),s.gamesContainerWidth<655&&s.teamSelect==e.homeTeam.colloquial_name?(t.openBlock(),t.createBlock(d,{key:3})):t.createCommentVNode("",!0),s.gamesContainerWidth<655&&s.teamSelect==e.visitingTeam.colloquial_name?(t.openBlock(),t.createBlock(l,{key:4})):t.createCommentVNode("",!0)],512)}const fT=Ae(hT,[["render",uT],["__scopeId","data-v-902f8fb4"]]),SMe="",_T={class:"statistics-main"},bT={class:"statistics-main__header"},wT={class:"statistics-main__header__filter"},CT={class:"statistics-main__body"},kT=t.defineComponent({name:"TemplateVideos",components:{TrendLive:MB,Comparative:$I,Distribution:RI,GSCSlider:Md,XG:fT}}),ST=Ae(Object.assign(kT,{props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})},subsection:{type:String,default:""},seasonSelected:{type:Object,default:()=>({})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,n=fu(),s=t.ref({width:"fit-content",height:"30px",borderRadius:"50px",borderColor:"#8a8a8a",borderWidth:"0.5px",backgroundColor:"rgba(255, 255, 255, 0.04)",fontSize:"14px",fontFamily:"Poppins-Regular, sans-serif",fontColor:"rgba(255, 255, 255, 0.5)",activeFontColor:"#FFFFFF",activeBorderColor:"#cbee6b",padding:"0 16px"}),i=t.ref({}),r=t.ref(null),c=t.ref([{id:"st1",name:"Comparativa",componentName:"Comparative"},{id:"st2",name:"Distribución",componentName:"Distribution"},{id:"st3",name:"Tendencia LIVE",componentName:"TrendLive"},{id:"st4",name:"Goles esperados (xG)",componentName:"XG"}]);let h=t.ref({id:"st3",name:"Tendencia LIVE",componentName:"TrendLive"});t.watch(()=>o.game,g=>{const y={...g};d(y)},{deep:!0,immediate:!0});async function d(g){try{i.value.gameId!==g.gameId&&(i.value=g,await n.dispatch("nextGeneral/cleanStats"),await n.dispatch("nextGeneral/checkState",{gameId:g.gameId,currentSeasonId:g.seasonId,isTeamsAnalysis:!0,defaultFilter:r.value,gameInfo:g}))}catch(y){throw new Error(y)}}function l(g){h.value=g}function m(){n.commit("nextGeneral/updateFilters",{filters:{local:{playingAs:[1,2],statistics:{},matchResult:[1,2,3],firstHalf:[1,2,3],secondHalf:[4,5,6]},visit:{playingAs:[1,2],statistics:{},matchResult:[1,2,3],firstHalf:[1,2,3],secondHalf:[4,5,6]}},needsFormat:!0})}function p(g){a("openmedia",g)}return t.onUnmounted(()=>{a("resetSubsection")}),t.onMounted(()=>{o.subsection==="Comparativa"&&(h.value.id="st1",h.value.name="Comparativa",h.value.componentName="Comparative")}),m(),(g,y)=>(t.openBlock(),t.createElementBlock("div",_T,[t.createElementVNode("div",bT,[t.createVNode(t.unref(Md),{backgroundColor:"none",arrows:!1},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,u=>(t.openBlock(),t.createElementBlock("div",{key:u.id,class:"game-time-line__options__option"},[t.createVNode(hu,t.mergeProps(s.value,{text:u.name,"is-active":t.unref(h).id===u.id,onClick:f=>l(u)}),null,16,["text","is-active","onClick"])]))),128))]),_:1}),t.withDirectives(t.createElementVNode("div",wT,[t.createVNode(E$)],512),[[t.vShow,!1]])]),t.createElementVNode("div",CT,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(h).componentName),{seasonSelected:e.seasonSelected,game:e.game,onOpenmedia:p},null,40,["seasonSelected","game"]))])]))}}),[["__scopeId","data-v-f00eb722"]]);function T1(e,a){return function(){return e.apply(a,arguments)}}const{toString:ET}=Object.prototype,{getPrototypeOf:Ud}=Object,vi=(e=>a=>{const o=ET.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ta=e=>(e=e.toLowerCase(),a=>vi(a)===e),Mi=e=>a=>typeof a===e,{isArray:Vo}=Array,Fn=Mi("undefined");function NT(e){return e!==null&&!Fn(e)&&e.constructor!==null&&!Fn(e.constructor)&&$t(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const z1=ta("ArrayBuffer");function $T(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&z1(e.buffer),a}const BT=Mi("string"),$t=Mi("function"),F1=Mi("number"),Hi=e=>e!==null&&typeof e=="object",xT=e=>e===!0||e===!1,Ui=e=>{if(vi(e)!=="object")return!1;const a=Ud(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},VT=ta("Date"),IT=ta("File"),AT=ta("Blob"),OT=ta("FileList"),TT=e=>Hi(e)&&$t(e.pipe),zT=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||$t(e.append)&&((a=vi(e))==="formdata"||a==="object"&&$t(e.toString)&&e.toString()==="[object FormData]"))},FT=ta("URLSearchParams"),RT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rn(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Vo(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function R1(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const P1=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),D1=e=>!Fn(e)&&e!==P1;function Gd(){const{caseless:e}=D1(this)&&this||{},a={},o=(n,s)=>{const i=e&&R1(a,s)||s;Ui(a[i])&&Ui(n)?a[i]=Gd(a[i],n):Ui(n)?a[i]=Gd({},n):Vo(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Rn(arguments[n],o);return a}const PT=(e,a,o,{allOwnKeys:n}={})=>(Rn(a,(s,i)=>{o&&$t(s)?e[i]=T1(s,o):e[i]=s},{allOwnKeys:n}),e),DT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jT=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},LT=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Ud(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},vT=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},MT=e=>{if(!e)return null;if(Vo(e))return e;let a=e.length;if(!F1(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},HT=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Ud(Uint8Array)),UT=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},GT=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},WT=ta("HTMLFormElement"),qT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),j1=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),JT=ta("RegExp"),L1=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};Rn(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},XT=e=>{L1(e,(a,o)=>{if($t(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if($t(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},ZT=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Vo(e)?n(e):n(String(e).split(a)),o},YT=()=>{},KT=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Wd="abcdefghijklmnopqrstuvwxyz",v1="0123456789",M1={DIGIT:v1,ALPHA:Wd,ALPHA_DIGIT:Wd+Wd.toUpperCase()+v1},QT=(e=16,a=M1.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function ez(e){return!!(e&&$t(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const tz=e=>{const a=new Array(10),o=(n,s)=>{if(Hi(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Vo(n)?[]:{};return Rn(n,(r,c)=>{const h=o(r,s+1);!Fn(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},az=ta("AsyncFunction"),oz=e=>e&&(Hi(e)||$t(e))&&$t(e.then)&&$t(e.catch),L={isArray:Vo,isArrayBuffer:z1,isBuffer:NT,isFormData:zT,isArrayBufferView:$T,isString:BT,isNumber:F1,isBoolean:xT,isObject:Hi,isPlainObject:Ui,isUndefined:Fn,isDate:VT,isFile:IT,isBlob:AT,isRegExp:JT,isFunction:$t,isStream:TT,isURLSearchParams:FT,isTypedArray:HT,isFileList:OT,forEach:Rn,merge:Gd,extend:PT,trim:RT,stripBOM:DT,inherits:jT,toFlatObject:LT,kindOf:vi,kindOfTest:ta,endsWith:vT,toArray:MT,forEachEntry:UT,matchAll:GT,isHTMLForm:WT,hasOwnProperty:j1,hasOwnProp:j1,reduceDescriptors:L1,freezeMethods:XT,toObjectSet:ZT,toCamelCase:qT,noop:YT,toFiniteNumber:KT,findKey:R1,global:P1,isContextDefined:D1,ALPHABET:M1,generateString:QT,isSpecCompliantForm:ez,toJSONObject:tz,isAsyncFn:az,isThenable:oz};function pe(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}L.inherits(pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const H1=pe.prototype,U1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{U1[e]={value:e}}),Object.defineProperties(pe,U1),Object.defineProperty(H1,"isAxiosError",{value:!0}),pe.from=(e,a,o,n,s,i)=>{const r=Object.create(H1);return L.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),pe.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const nz=null;function qd(e){return L.isPlainObject(e)||L.isArray(e)}function G1(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function W1(e,a,o){return e?e.concat(a).map(function(n,s){return n=G1(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function sz(e){return L.isArray(e)&&!e.some(qd)}const iz=L.toFlatObject(L,{},null,function(e){return/^is[A-Z]/.test(e)});function Gi(e,a,o){if(!L.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=L.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!L.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(a);if(!L.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(L.isDate(g))return g.toISOString();if(!c&&L.isBlob(g))throw new pe("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(g)||L.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(L.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(L.isArray(g)&&sz(g)||(L.isFileList(g)||L.endsWith(y,"[]"))&&(f=L.toArray(g)))return y=G1(y),f.forEach(function(b,k){!(L.isUndefined(b)||b===null)&&a.append(r===!0?W1([y],k,i):r===null?y:y+"[]",h(b))}),!1}return qd(g)?!0:(a.append(W1(u,y,i),h(g)),!1)}const l=[],m=Object.assign(iz,{defaultVisitor:d,convertValue:h,isVisitable:qd});function p(g,y){if(!L.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),L.forEach(g,function(u,f){(!(L.isUndefined(u)||u===null)&&s.call(a,u,L.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return p(e),a}function q1(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Jd(e,a){this._pairs=[],e&&Gi(e,this,a)}const J1=Jd.prototype;J1.append=function(e,a){this._pairs.push([e,a])},J1.toString=function(e){const a=e?function(o){return e.call(this,o,q1)}:q1;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function rz(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function X1(e,a,o){if(!a)return e;const n=o&&o.encode||rz,s=o&&o.serialize;let i;if(s?i=s(a,o):i=L.isURLSearchParams(a)?a.toString():new Jd(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const Z1=class{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){L.forEach(this.handlers,function(o){o!==null&&a(o)})}},Y1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lz=typeof URLSearchParams<"u"?URLSearchParams:Jd,cz=typeof FormData<"u"?FormData:null,dz=typeof Blob<"u"?Blob:null,mz={isBrowser:!0,classes:{URLSearchParams:lz,FormData:cz,Blob:dz},protocols:["http","https","file","blob","url","data"]},K1=typeof window<"u"&&typeof document<"u",pz=(e=>K1&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),hz=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),yz=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:K1,hasStandardBrowserEnv:pz,hasStandardBrowserWebWorkerEnv:hz},Symbol.toStringTag,{value:"Module"})),aa={...yz,...mz};function gz(e,a){return Gi(e,new aa.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return aa.isNode&&L.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function uz(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function fz(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function Q1(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&L.isArray(s)?s.length:r,h?(L.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!L.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&L.isArray(s[r])&&(s[r]=fz(s[r])),!c)}if(L.isFormData(e)&&L.isFunction(e.entries)){const o={};return L.forEachEntry(e,(n,s)=>{a(uz(n),s,o,0)}),o}return null}function _z(e,a,o){if(L.isString(e))try{return(a||JSON.parse)(e),L.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const Xd={transitional:Y1,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=L.isObject(e);if(s&&L.isHTMLForm(e)&&(e=new FormData(e)),L.isFormData(e))return n&&n?JSON.stringify(Q1(e)):e;if(L.isArrayBuffer(e)||L.isBuffer(e)||L.isStream(e)||L.isFile(e)||L.isBlob(e))return e;if(L.isArrayBufferView(e))return e.buffer;if(L.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return gz(e,this.formSerializer).toString();if((i=L.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Gi(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),_z(e)):e}],transformResponse:[function(e){const a=this.transitional||Xd.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&L.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?pe.from(i,pe.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:aa.classes.FormData,Blob:aa.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{Xd.headers[e]={}});const Zd=Xd,bz=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wz=e=>{const a={};let o,n,s;return e&&e.split(`
22
+ `+s.stack),n}}_request(a,o){typeof a=="string"?(o=o||{},o.url=a):o=a||{},o=xo(this.defaults,o);const{transitional:n,paramsSerializer:s,headers:i}=o;n!==void 0&&Dd.assertOptions(n,{silentJSONParsing:Ga.transitional(Ga.boolean),forcedJSONParsing:Ga.transitional(Ga.boolean),clarifyTimeoutError:Ga.transitional(Ga.boolean)},!1),s!=null&&(j.isFunction(s)?o.paramsSerializer={serialize:s}:Dd.assertOptions(s,{encode:Ga.function,serialize:Ga.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let r=i&&j.merge(i.common,i[o.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),o.headers=Va.concat(r,i);const c=[];let h=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(o)===!1||(h=h&&u.synchronous,c.unshift(u.fulfilled,u.rejected))});const d=[];this.interceptors.response.forEach(function(u){d.push(u.fulfilled,u.rejected)});let l,m=0,p;if(!h){const y=[m1.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),p=y.length,l=Promise.resolve(o);m<p;)l=l.then(y[m++],y[m++]);return l}p=c.length;let g=o;for(m=0;m<p;){const y=c[m++],u=c[m++];try{g=y(g)}catch(f){u.call(this,f);break}}try{l=m1.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,p=d.length;m<p;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=xo(this.defaults,a);const o=r1(a.baseURL,a.url);return e1(o,a.params,a.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(a){Pi.prototype[a]=function(o,n){return this.request(xo(n||{},{method:a,url:o,data:(n||{}).data}))}}),j.forEach(["post","put","patch"],function(a){function o(n){return function(i,r,c){return this.request(xo(c||{},{method:a,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}Pi.prototype[a]=o(),Pi.prototype[a+"Form"]=o(!0)});const Di=Pi;class jd{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(i){o=i});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const r=new Promise(c=>{n.subscribe(c),i=c}).then(s);return r.cancel=function(){n.unsubscribe(i)},r},a(function(i,r,c){n.reason||(n.reason=new On(i,r,c),o(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const o=this._listeners.indexOf(a);o!==-1&&this._listeners.splice(o,1)}static source(){let a;return{token:new jd(function(s){a=s}),cancel:a}}}const yV=jd;function gV(e){return function(o){return e.apply(null,o)}}function uV(e){return j.isObject(e)&&e.isAxiosError===!0}const Ld={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ld).forEach(([e,a])=>{Ld[a]=e});const fV=Ld;function g1(e){const a=new Di(e),o=Du(Di.prototype.request,a);return j.extend(o,Di.prototype,a,{allOwnKeys:!0}),j.extend(o,a,null,{allOwnKeys:!0}),o.create=function(s){return g1(xo(e,s))},o}const Me=g1(Od);Me.Axios=Di,Me.CanceledError=On,Me.CancelToken=yV,Me.isCancel=i1,Me.VERSION=h1,Me.toFormData=zi,Me.AxiosError=me,Me.Cancel=Me.CanceledError,Me.all=function(a){return Promise.all(a)},Me.spread=gV,Me.isAxiosError=uV,Me.mergeConfig=xo,Me.AxiosHeaders=Va,Me.formToJSON=e=>n1(j.isHTMLForm(e)?new FormData(e):e),Me.getAdapter=d1.getAdapter,Me.HttpStatusCode=fV,Me.default=Me;const ji=Me,u1="/icn-play.svg",rMe="",_V={components:{BarraLeft:QB,BarraRight:rx},props:{data:{type:Object,required:!1},showPlayButton:{type:Boolean,value:!0}},data(){return{gamesBySeason:{}}},computed:{...kt("nextGeneral",["gameForAnalysis","seasonId"]),...Te("nextGeneral",["homeTeam","visitingTeam"])},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.category:e.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.category:e.type==3?e.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.category:e.category!=0?a=e.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];let n={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:this.gameForAnalysis.game_status!==4?[this.gameForAnalysis.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?e.team_id:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.category!==0&&(n.advancedFilter.mainCategoryId=e.category),this.$emit("openmedia",n)},hVal(e){return this.getTeamValue(e,this.gameForAnalysis,"homeTeam")},aVal(e){return this.getTeamValue(e,this.gameForAnalysis,"visitingTeam")},deleteDecimalZero(e){const a=typeof e=="string"?parseFloat(e):e;return typeof a=="number"&&!isNaN(a)?a%1===0?a:a%1===0?Math.floor(a):a:e},formatNumbers(e){return e%1!==0?e.toFixed(1):e},getTeamValue(e,a,o){if(!a.game_id)return this.objectZeroValues;const n=e.generalCategoriesIds.accomplished===3;if(a.is_live){const s=e.homeTeam.accomplished.totalLive+e.visitingTeam.accomplished.totalLive;return s?{numberValue:n?e[o].accomplished.totalLive/s*100:e[o].accomplished.totalLive,numberBarPercent:e[o].accomplished.totalLive/s}:this.objectZeroValues}else if(a.is_live||a.game_status===1){const s=e.homeTeam.accomplished.totalPostGame+e.visitingTeam.accomplished.totalPostGame;return s?{numberValue:n?e[o].accomplished.totalPostGame/s*100:e[o].accomplished.totalPostGame,numberBarPercent:e[o].accomplished.totalPostGame/s}:this.objectZeroValues}if(n){const s=e.homeTeam.accomplished.avgPostGame+e.visitingTeam.accomplished.avgPostGame,i=e[o].accomplished.avgPostGame/s;return e[o].accomplished.avgPostGame?{numberValue:i<1?i*100:i,numberBarPercent:e[o].accomplished.avgPostGame/s}:this.objectZeroValues}else{const s=e.homeTeam.accomplished.avgPostGame+e.visitingTeam.accomplished.avgPostGame;return e[o].accomplished.avgPostGame?{numberValue:e[o].accomplished.avgPostGame,numberBarPercent:e[o].accomplished.avgPostGame/s}:this.objectZeroValues}},async getGamesBySeasonV2(){try{const e={Authorization:this.token},o=`${this.apiUrl}${this.seasonId}/games/${this.gameId}`;return(await ji.get(o,{headers:e})).data}catch(e){return Promise.reject(e)}}},async mounted(){}},f1=e=>(t.pushScopeId("data-v-d20cbba9"),e=e(),t.popScopeId(),e),bV={class:"card"},wV={class:"card__header"},CV={class:"card__stats"},kV=["onClick"],SV=[f1(()=>t.createElementVNode("img",{src:u1},null,-1))],EV={key:1,class:"card__stats__stat__button_empty"},NV={class:"card__stats__title"},$V={class:"card__stats__scores"},BV={key:0},xV={key:1},VV={key:2},IV={key:3},AV={class:"card__stats__bars"},OV=["onClick"],TV=[f1(()=>t.createElementVNode("img",{src:u1},null,-1))],zV={key:1,class:"card__stats__stat__button_empty"};function FV(e,a,o,n,s,i){const r=t.resolveComponent("BarraLeft"),c=t.resolveComponent("BarraRight");return t.openBlock(),t.createElementBlock("div",bV,[t.createElementVNode("span",wV,t.toDisplayString(o.data.name),1),t.createElementVNode("div",CV,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.subcategories,(h,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,class:"card__stats__stat"},[t.createElementVNode("div",null,[i.hVal(h)&&i.hVal(h).numberValue!="0"?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:l=>i.onclickPlayVideos({category:h.accomplishedCategoryIds,type:3,season_id:e.seasonId,team_id:e.homeTeam.team_id}),class:"card__stats__stat__button card__stats__stat__button_left"},SV,8,kV)):(t.openBlock(),t.createElementBlock("div",EV))]),t.createElementVNode("div",null,[t.createElementVNode("div",NV,t.toDisplayString(h.name)+t.toDisplayString(),1),t.createElementVNode("div",$V,[i.hVal(h)?(t.openBlock(),t.createElementBlock("span",BV,[t.createTextVNode(t.toDisplayString(i.deleteDecimalZero(i.formatNumbers(i.hVal(h).numberValue))),1),h.name=="Posesión"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("%")],64)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",xV,"0")),i.aVal(h)?(t.openBlock(),t.createElementBlock("span",VV,[t.createTextVNode(t.toDisplayString(i.deleteDecimalZero(i.formatNumbers(i.aVal(h).numberValue))),1),h.name=="Posesión"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("%")],64)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",IV,"0"))]),t.createElementVNode("div",AV,[t.createElementVNode("div",null,[i.hVal(h)?(t.openBlock(),t.createBlock(r,{key:0,postmatch:i.hVal(h).numberBarPercent},null,8,["postmatch"])):(t.openBlock(),t.createBlock(r,{key:1,postmatch:0}))]),t.createElementVNode("div",null,[i.aVal(h)?(t.openBlock(),t.createBlock(c,{key:0,postmatch:i.aVal(h).numberBarPercent},null,8,["postmatch"])):(t.openBlock(),t.createBlock(c,{key:1,postmatch:0}))])])]),t.createElementVNode("div",null,[i.aVal(h)&&i.aVal(h).numberValue!="0"?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:l=>i.onclickPlayVideos({category:h.accomplishedCategoryIds,type:3,season_id:e.seasonId,team_id:e.visitingTeam.team_id}),class:"card__stats__stat__button card__stats__stat__button_right"},TV,8,OV)):(t.openBlock(),t.createElementBlock("div",zV))])]))),128))])])}const RV=Ae(_V,[["render",FV],["__scopeId","data-v-d20cbba9"]]),dMe="",PV={name:"GscComparative",props:{local:{type:Object,default:()=>{}},away:{type:Object,default:()=>{}},fontFamily:{type:String,default:"inherit"}},data(){return{}},computed:{customStyle(){const e={};return this.fontFamily&&(e["font-family"]=`${this.fontFamily}`),e}},methods:{}},Ia=e=>(t.pushScopeId("data-v-b60057e0"),e=e(),t.popScopeId(),e),DV={class:"comparative-card"},jV=Ia(()=>t.createElementVNode("div",{class:"header-title"},[t.createElementVNode("span",null,"Comparativa")],-1)),LV={class:"versus"},vV={class:"team-badge"},MV=["src","alt"],HV=Ia(()=>t.createElementVNode("div",null,[t.createElementVNode("div",null,[t.createElementVNode("div"),t.createElementVNode("div")]),t.createElementVNode("div",null,[t.createElementVNode("div"),t.createElementVNode("div")])],-1)),UV=Ia(()=>t.createElementVNode("span",{class:"vs-text"},"VS",-1)),GV={class:"team-badge"},WV=["src","alt"],qV={class:"details"},JV=Ia(()=>t.createElementVNode("td",null,"Posición en la tabla",-1)),XV=Ia(()=>t.createElementVNode("td",null,"Puntos",-1)),ZV=Ia(()=>t.createElementVNode("td",null,"Partidos jugados",-1)),YV=Ia(()=>t.createElementVNode("td",null,"Partidos ganados",-1)),KV=Ia(()=>t.createElementVNode("td",null,"Partidos perdidos",-1)),QV=Ia(()=>t.createElementVNode("td",null,"Partidos empatados",-1));function eI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:"comparative-main",style:t.normalizeStyle(i.customStyle)},[t.createElementVNode("div",DV,[jV,t.createElementVNode("div",LV,[t.createElementVNode("div",vV,[t.createElementVNode("img",{class:"team-badge__image",src:o.local.team_logo,alt:o.local.team_name},null,8,MV),HV]),UV,t.createElementVNode("div",GV,[t.createElementVNode("img",{class:"team-badge__image",src:o.away.team_logo,alt:o.away.team_name},null,8,WV)])]),t.createElementVNode("div",qV,[t.createElementVNode("table",null,[t.createElementVNode("tbody",null,[t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.table_position),1),JV,t.createElementVNode("td",null,t.toDisplayString(o.away.table_position),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.points),1),XV,t.createElementVNode("td",null,t.toDisplayString(o.away.points),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_played),1),ZV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_played),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_won),1),YV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_won),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_lost),1),KV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_lost),1)]),t.createElementVNode("tr",null,[t.createElementVNode("td",null,t.toDisplayString(o.local.games_tied),1),QV,t.createElementVNode("td",null,t.toDisplayString(o.away.games_tied),1)])])])])])],4)}const tI=Ae(PV,[["render",eI],["__scopeId","data-v-b60057e0"]]),mMe="",aI=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},vd={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},_1=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},b1=vd.setup;vd.setup=b1?(e,a)=>(_1(),b1(e,a)):_1;const oI={ref:"gscScrollableContainer",class:"scrollable-container"},nI={class:"scrollable-arrows"},sI=["width","height","viewBox"],iI=["stroke"],rI={class:"scrollable-wrapper"},lI={class:"scrollable-arrows"},cI=["width","height","viewBox"],dI=["stroke"];function mI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",oI,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",nI,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,iI)],8,sI))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",rI,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",lI,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,dI)],8,cI))])],2)):t.createCommentVNode("",!0)],512)}const Md=aI(vd,[["render",mI],["__scopeId","data-v-b548a08d"]]),pMe="";let w1=null;const pI={name:"App",components:{GscLinearTeamStats:RV,TableComparative:tI,GSCSlider:Md},props:{seasonSelected:{type:Object,default:()=>({})}},computed:{...kt("nextGeneral",["gameForAnalysis","seasonId"]),...Te("nextGeneral",["arrayFilledDataSortedByPriority"])},watch:{gameForAnalysis:{handler:function(){this.getTableList()},immediate:!0}},data(){return{gamesContainerWidth:0,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",url:"https://jfxv8fqkn3.execute-api.us-west-2.amazonaws.com/prod/generalTable/",gameId:79623,movil:!1,home:{},away:{}}},methods:{openmedia(e){this.$emit("openmedia",e)},setUpResizeObserver(){if(window.ResizeObserver)w1=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<680?this.movil=!0:this.movil=!1}),w1.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getTableList(){try{const a=await ji.create({headers:{Authorization:`${this.token}`}}).get(this.url+this.seasonSelected.id),o=a.data.data.findIndex(s=>s.team_id===this.gameForAnalysis.home_team),n=a.data.data.findIndex(s=>s.team_id===this.gameForAnalysis.visiting_team);this.home=a.data.data[o],this.away=a.data.data[n]}catch(e){console.error(e)}}},mounted(){setTimeout(()=>{this.setUpResizeObserver()},100)}},hI={class:"container",ref:"gamesContainer"},yI={key:0,class:"grid-container"},gI={class:"item"},uI={class:"item"},fI={class:"item"},_I={class:"item"},bI={class:"item"},wI={class:"item"},CI={class:"item"},kI={class:"grid-container"},SI={class:"item-comparative"},EI={class:"table-movil-container"};function NI(e,a,o,n,s,i){const r=t.resolveComponent("TableComparative"),c=t.resolveComponent("GscLinearTeamStats"),h=t.resolveComponent("GSCSlider");return t.openBlock(),t.createElementBlock("div",hI,[s.movil?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",kI,[t.createElementVNode("div",SI,[t.createVNode(r,{local:s.home,away:s.away,fontFamily:"Poppins-Regular"},null,8,["local","away"])])]),t.createVNode(h,{backgroundColor:"none",pxScroll:300,scrollColor:"none",arrowsPosition:"relative",arrowsScrollHide:!1,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"none",arrowsContainerBgR:"none",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd"},{default:t.withCtx(()=>[t.createElementVNode("div",EI,[t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510&&s.gamesContainerWidth>450?"width: 400px":s.gamesContainerWidth<=450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[0]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[1]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[2]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[3]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[4]},null,8,["onOpenmedia","data"])],4),t.createElementVNode("div",{class:"item-movil",style:t.normalizeStyle(s.gamesContainerWidth<510?"width: 400px":s.gamesContainerWidth<450?"width: 360px":"")},[t.createVNode(c,{onOpenmedia:i.openmedia,data:e.arrayFilledDataSortedByPriority[5]},null,8,["onOpenmedia","data"])],4)])]),_:1})],64)):(t.openBlock(),t.createElementBlock("div",yI,[t.createElementVNode("div",gI,[t.createVNode(r,{local:s.home,away:s.away,fontFamily:"Poppins-Regular"},null,8,["local","away"])]),t.createElementVNode("div",uI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[0],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",fI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[1],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",_I,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[2],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",bI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[3],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",wI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[4],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])]),t.createElementVNode("div",CI,[t.createVNode(c,{data:e.arrayFilledDataSortedByPriority[5],onOpenmedia:i.openmedia},null,8,["data","onOpenmedia"])])]))],512)}const $I=Ae(pI,[["render",NI]]),hMe="",C1=["#cbee6b","#0033C5"],BI={name:"distributionchart",components:{},props:{seasonSelected:{type:Object,default:()=>({})}},data(){return{arrayChartTypes:["General","Ofensivo","Defensivo","Posesión","Balón parado","Infracciones"],height:409,updateCategory:0,homeTeamSelectedPlaysType:0,visitingTeamSelectedPlaysType:0,chartKeyCounter:0,homeTeamPlaysTypes:{history:0,live:1},visitingTeamPlaysTypes:{history:0,live:1},tooltip:{show:!1,data:{},names:{},keyName:"",leagueAvg:"",showLiveData:!1,local:!1,x:0,y:0},globals:{x:0,y:0},arrayDataForCharts:[],arrayChartOptions:[],arrayFilledSeries:[]}},watch:{menuOptionActive(){this.idAssetSelected==3},idAssetSelected(){this.idAssetSelected===3&&this.chartKeyCounter++},isMobile(e){this.chartOptions.legend.horizontalAlign=e?"center":"left",this.chartKeyCounter++},arrayFilledDataSortedByPriority:{immediate:!0,deep:!0,handler(){this.fillData()}},showLiveData(){this.fillData()}},computed:{...kt("nextGeneral",["showLiveData","gameForAnalysis"]),...Te("nextGeneral",["idAssetSelected","menuOptionActive","homeTeamStatisticsType","showPostMatchData","visitingTeamStatisticsType","homeTeam","visitingTeam","subcategoryName","accomplished","arrayFilledDataSortedByPriority","filledDataStructure","showPostMatchData"]),isMobile(){return this.$mq==="mobile"},timeLeft(){const e=new Date().getTime(),o=new Date(this.gameForAnalysis.date_time_utc).getTime()-e,n=Math.floor(o/(1e3*60*60*24)),s=Math.floor(o%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(o%(1e3*60*60)/(1e3*60)),r=Math.floor(o%(1e3*60)/1e3);let c="";return r>0&&(c=r==1?r+" segundo":r+" segundos"),i>0&&(c=i==1?i+" minuto":i+" minutos"),s>0&&(c=s==1?s+" hora":s+" horas"),n>0&&(c=n==1?n+" día":n+" días"),c}},methods:{avg(e,a){return a?e.leagueAccomplishedAvg:e.leagueReceivedAvg},fillData(){this.arrayChartOptions=[],this.arrayFilledDataSortedByPriority&&this.arrayFilledDataSortedByPriority.length&&typeof this.arrayFilledDataSortedByPriority[0].subcategories=="object"?(this.arrayChartOptions=[],this.arrayFilledSeries=[],this.arrayDataForCharts=this.arrayFilledDataSortedByPriority.map(e=>{const a=this.getChartOptions();return this.arrayFilledSeries.push(this.getChartSeries(e.subcategories,a)),this.arrayChartOptions.push(a),e})):this.arrayDataForCharts=[]},getChartOptions(){return{plotOptions:{radar:{size:132,polygons:{strokeColors:"#606971"}}},chart:{type:"radar",height:509,toolbar:{show:!1}},colors:C1,fill:{colors:C1,opacity:.4},legend:{show:!0,position:"bottom",horizontalAlign:"left",fontSize:"11px",fontFamily:"Poppins-Regular",labels:{colors:"#d9d9d9",useSeriesColors:!1}},xaxis:{categories:[],labels:{show:!0,style:{fontSize:"11px",fontFamily:"Poppins-Regular"}}},yaxis:{show:!1},responsive:[{breakpoint:770,options:{chart:{height:300},plotOptions:{radar:{size:100,offsetY:10,polygons:{strokeColors:"#606971"}},bar:{horizontal:!1}},legend:{position:"top",horizontalAlign:"center"},xaxis:{labels:{show:!0,style:{fontSize:"11px"}}}}},{breakpoint:450,options:{plotOptions:{radar:{size:70,offsetY:-20,polygons:{strokeColors:"#dcdcdc"}},bar:{horizontal:!1}},legend:{position:"top",horizontalAlign:"center"},xaxis:{labels:{show:!0,style:{fontSize:"10px"}}}}}],tooltip:{intersect:!0,followCursor:!0,shared:!1,theme:"dark",style:{fontSize:"12px"}}}},getChartSeries(e,a){let o,n;return this.showPostMatchData?(o={name:`${this.homeTeam.acronym}`,data:[]},n={name:`${this.visitingTeam.acronym}`,data:[]},a.arraySubcategories=[],Object.values(e).forEach((s,i)=>{a.xaxis.categories.push(this.prepareLabels(s,i)),a.arraySubcategories.push(s);const r=s.homeTeam[this.homeTeamStatisticsType].totalPostGame+s.visitingTeam[this.visitingTeamStatisticsType].totalPostGame;o.data.push(Math.round(120*(r?s.homeTeam[this.homeTeamStatisticsType].totalPostGame/r:0))),n.data.push(Math.round(120*(r?s.visitingTeam[this.visitingTeamStatisticsType].totalPostGame/r:0)))})):(o={name:`${this.showLiveData?"Live":"Histórico"} ${this.homeTeam.acronym}`,data:[]},n={name:`${this.showLiveData?"Live":"Histórico"} ${this.visitingTeam.acronym}`,data:[]},a.arraySubcategories=[],Object.values(e).forEach((s,i)=>{a.xaxis.categories.push(this.prepareLabels(s,i)),a.arraySubcategories.push(s);let r,c;s.homeTeam[this.homeTeamStatisticsType].leader.points,s.visitingTeam[this.visitingTeamStatisticsType].leader.points;const h=s.homeTeam.accomplished.avgPostGame+s.visitingTeam.accomplished.avgPostGame;if(!this.showLiveData)this.gameForAnalysis.game_status!==1&&s.generalCategoriesIds.accomplished===3?r=s.homeTeam.accomplished.avgPostGame/h:r=h?s.homeTeam[this.homeTeamStatisticsType].avgPostGame/h:0;else{const d=s.homeTeam[this.homeTeamStatisticsType].totalLive+s.visitingTeam[this.visitingTeamStatisticsType].totalLive;r=d?s.homeTeam[this.homeTeamStatisticsType].totalLive/d:0}if(!this.showLiveData)this.gameForAnalysis.game_status!==1&&s.generalCategoriesIds.accomplished===3?c=s.visitingTeam.accomplished.avgPostGame/h:c=h?s.visitingTeam[this.visitingTeamStatisticsType].avgPostGame/h:0;else{const d=s.homeTeam[this.homeTeamStatisticsType].totalLive+s.visitingTeam[this.visitingTeamStatisticsType].totalLive;c=d?s.visitingTeam[this.visitingTeamStatisticsType].totalLive/d:0}o.data.push(Math.round(120*r)),n.data.push(Math.round(120*c))})),[o,n]},onHomeTeamPlaysTypeChanged(e){this.homeTeamSelectedPlaysType=e},onVisitingTeamPlaysTypeChanged(e){this.visitingTeamSelectedPlaysType=e},getSubcategoryData(e,a="homeTeam"){return e.id==="3-0"&&(e[a].accomplished.totalLiveBothTeams=e.homeTeam.accomplished.totalLive+e.visitingTeam.accomplished.totalLive),e[a].accomplished||0},showModal(e,a,o){const n=o===0?"homeTeam":"visitingTeam",s=e.config.arraySubcategories[a]||{};this.tooltip.isLeagueAvgVisible=s.id!=="3-0",this.tooltip.data=this.getSubcategoryData(s,n),this.tooltip.local=o===0,this.tooltip.names=s.names,this.tooltip.keyName=this.subcategoryName,this.tooltip.leagueAvg=this.leagueAvg(s);const i=e.globals.clientX||0,r=e.globals.clientY||0;this.globals.x=i,this.globals.y=r,this.tooltip.x=i,this.tooltip.y=r>700?r-250:r;const c=s.generalCategoriesIds.accomplished===3;if(c){const h=s.homeTeam.accomplished.avgPostGame+s.visitingTeam.accomplished.avgPostGame;this.tooltip.numberValue=h?s[n].accomplished.avgPostGame/h*100:0}else this.tooltip.numberValue=null;return this.tooltip.booleanIsPercent=c,this.tooltip.show=!0,this.tooltip.data},updateTooltip(e){const o=Math.abs(e.clientX-this.globals.x),n=Math.abs(e.clientY-this.globals.y);(o>5||n>5)&&(this.tooltip.show=!1)},prepareLabels(e,a){let o=e.name||e.names[this.subcategoryName]||e.names["0-0"];if(a===0)return o;const n=13;if(o.length>n){let s=o.split(" ");o=[];let i="",r="",c=s.slice(-1)[0];s.forEach(h=>{i+=` ${h} `,i.length>n&&(o.push(r.trim()),i=h),r=i,c===h&&o.push(r.trim())})}return o},leagueAvg(e){return e.generalCategoriesIds.accomplished===3?(e.homeTeam.accomplished.arrayRankings.reduce((a,o)=>a+o.points,0)/e.homeTeam.accomplished.arrayRankings.length*100).toFixed(2):this.avg(e,this.accomplished)}}},k1=e=>(t.pushScopeId("data-v-761b9cde"),e=e(),t.popScopeId(),e),xI={key:0,class:"distribution-leyend"},VI=k1(()=>t.createElementVNode("br",null,null,-1)),II={class:"distribution"},AI={class:"distribution__container"},OI={class:"distribution__container__chart-type__title"},TI=k1(()=>t.createElementVNode("div",{class:"distribution__container__chart-type__controls"},null,-1)),zI={class:"distribution__container__chart-type__chart"};function FI(e,a,o,n,s,i){const r=t.resolveComponent("apexchart");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.gameForAnalysis.game_status==4?(t.openBlock(),t.createElementBlock("div",xI,[t.createTextVNode("Faltan "),t.createElementVNode("span",null,t.toDisplayString(i.timeLeft),1),t.createTextVNode(" para el inicio."),VI,t.createTextVNode("Las estadísticas corresponden a sus promedios por partido del torneo "),t.createElementVNode("span",null,t.toDisplayString(o.seasonSelected.name),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",II,[t.createElementVNode("div",AI,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.arrayDataForCharts,(c,h)=>(t.openBlock(),t.createElementBlock("div",{class:"distribution__container__chart-type",key:h},[t.createElementVNode("div",OI,t.toDisplayString(c.name),1),TI,t.createElementVNode("div",zI,[(t.openBlock(),t.createBlock(r,{type:"radar",height:s.height,options:s.arrayChartOptions[h],series:s.arrayFilledSeries[h],key:s.chartKeyCounter+s.updateCategory+h},null,8,["height","options","series"]))])]))),128))])])],64)}const RI=Ae(BI,[["render",FI],["__scopeId","data-v-761b9cde"]]),PI=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},Hd={props:{textOptionLeft:String,valueDefault:{type:String,default:""},textOptionRight:String,hiddenLabels:{type:Boolean,default:!1},width:{type:String,default:"50px"},height:{type:String,default:"32px"},heightCircle:{type:String,default:"24px"},widthCircle:{type:String,default:"24px"},widthIcons:{type:String,default:"22"},borderRadius:{type:String,default:"30px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"14px"},fontColor:{type:String,default:"#000000"},iconA:{type:String,default:""},iconB:{type:String,default:""},fontFamily:{type:String,default:"Poppins-Regular"},backgroundColor:{type:String,default:"#2e3b46"},circleColorSwitch:{type:String,default:"#FFFFFF"}},data(){return{OptionDefault:!1}},watch:{valueDefault:{immediate:!0,handler:async function(e){try{e==this.textOptionLeft&&(this.OptionDefault=!1),e==this.textOptionRight&&(this.OptionDefault=!0)}catch(a){throw new Error(a)}}}},computed:{customStyle(){return{width:this.width,height:this.height,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,backgroundColor:this.backgroundColor,circleColor:this.circleColorSwitch}},customText(){return{color:this.fontColor,fontSize:this.fontSize,fontFamily:`${this.fontFamily} !important`}}},methods:{handleSwitchChange(e){e.target.checked?this.$emit("change",this.textOptionRight):this.$emit("change",this.textOptionLeft)}}},S1=()=>{t.useCssVars(e=>({"1b04779e":e.widthCircle,c974bf22:e.heightCircle}))},E1=Hd.setup;Hd.setup=E1?(e,a)=>(S1(),E1(e,a)):S1;const DI={key:0,class:"text-left"},jI=["width","src"],LI=["checked"],vI=["width","src"],MI={key:3,class:"text-right"};function HI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:"gsc-switch-radio",style:t.normalizeStyle(i.customText)},[o.textOptionLeft!=""&&!o.hiddenLabels?(t.openBlock(),t.createElementBlock("span",DI,t.toDisplayString(o.textOptionLeft),1)):t.createCommentVNode("",!0),o.iconA!=""?(t.openBlock(),t.createElementBlock("img",{key:1,width:o.widthIcons,src:o.iconA},null,8,jI)):t.createCommentVNode("",!0),t.createElementVNode("input",{type:"checkbox",id:"toggle-btn",onChange:a[0]||(a[0]=(...r)=>i.handleSwitchChange&&i.handleSwitchChange(...r)),checked:s.OptionDefault},null,40,LI),t.createElementVNode("label",{for:"toggle-btn",style:t.normalizeStyle([i.customStyle,{"--circle-color":o.circleColorSwitch}])},null,4),o.iconB!=""?(t.openBlock(),t.createElementBlock("img",{key:2,width:o.widthIcons,src:o.iconB},null,8,vI)):t.createCommentVNode("",!0),o.textOptionRight!=""&&!o.hiddenLabels?(t.openBlock(),t.createElementBlock("span",MI,t.toDisplayString(o.textOptionRight),1)):t.createCommentVNode("",!0)],4)}const UI=PI(Hd,[["render",HI],["__scopeId","data-v-e2a20444"]]),yMe="",gMe="",GI={name:"tooltip",props:{data:{type:Object,required:!0}},computed:{positionTooltip(){return{top:`${this.data.y}px`,left:`${this.data.x}px`}},showTooltip(){return{visible:this.data.visible}}},methods:{tooltipClick:function(e){this.visible=!1}}};function WI(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["box-tooltip",i.showTooltip]),style:t.normalizeStyle(i.positionTooltip),onClick:a[0]||(a[0]=(...r)=>i.tooltipClick&&i.tooltipClick(...r))},[t.renderSlot(e.$slots,"default",{},void 0,!0)],6)}const N1=Ae(GI,[["render",WI],["__scopeId","data-v-7203f8fc"]]),uMe="",qI={name:"SoccerChalkboard",components:{Tooltip:N1},props:{plays:{type:Array,required:!0},categories:{type:Array,required:!0},team:{type:String,required:!0}},data(){return{negativeColor:"red",data:{x:0,y:0,visible:!1},dataPlay:{playerName:"",photo:"",minute:0,rivalLogo:"",rivalName:"",categoryName:"",xGi:0,xGf:0,isOwnGoal:!1}}},computed:{...Te("nextGeneral",["homeTeam","visitingTeam"]),preparedPlays(){return this.plays.map(e=>({...e,playingAs:e.playing_as,teamId:e.team_id,photo:e.photo,categoryId:e.category_id,matchResult:e.match_result,matchLapse:e.matchlapse,x1:e.x1*100,y1:e.y1*100,x2:e.x2*100,y2:e.y2*100,x3:e.x3*100,y3:e.y3*100,xGi:e.xG1,xGf:e.xG2}))},localCategories(){return this.categories.map((e,a)=>({id:a,name:e.name,negative:e.negative||!1,color:e.color,points:e.points,numPoints:e.points.length,categories:e.categories,invert:e.invert||[]}))},graphPlays(){let e=this.localCategories.reduce((n,s)=>[...n,s.categories],[]);return this.preparedPlays.filter(n=>this.findCategoryInPlay(e,n)).reduce((n,s)=>{let i=this.localCategories.find(r=>this.findCategoryInPlay(r.categories,s));if(i){let r={category:i.id,categoryName:i.name,arrowColor:i.negative?this.negativeColor:i.color,arrowMarkerColor:i.negative?"url(#arrow-negative)":`url(#arrow-${i.id})`,markerColor:i.color,jersey:s.jersey_number,matchlapse:s.matchLapse,playerName:s.player_name,photo:s.photo,rivalLogo:s.rival_id,x1:i.invert.includes(s.categoryId)?100-s[`x${i.points[0]}`]:s[`x${i.points[0]}`],y1:i.invert.includes(s.categoryId)?100-s[`y${i.points[0]}`]:s[`y${i.points[0]}`],x2:i.invert.includes(s.categoryId)?100-s[`x${i.points[1]}`]:s[`x${i.points[1]}`],y2:i.invert.includes(s.categoryId)?100-s[`y${i.points[1]}`]:s[`y${i.points[1]}`],x3:i.invert.includes(s.categoryId)?100-s[`x${i.points[2]}`]:s[`x${i.points[2]}`],y3:i.invert.includes(s.categoryId)?100-s[`y${i.points[2]}`]:s[`y${i.points[2]}`],momentOfPlay:s.moment_of_play,isOwnGoal:i.invert.includes(s.categoryId),xGi:s.xGi,xGf:s.xGf};n.push(r)}return n},[])}},methods:{findCategoryInPlay(e,a){return e.find(o=>typeof o=="number"?o===a.categoryId:o.includes(a.categoryId))},onMouseOver(e,a){this.dataPlay.playerName=a.playerName||"",this.dataPlay.photo=a.photo||"",this.dataPlay.minute=parseInt(a.momentOfPlay.split(":")[0])||"",this.dataPlay.rivalLogo=a.rivalLogo||"",this.dataPlay.categoryName=a.categoryName||"",this.dataPlay.rivalName=this.team=="Visiting"?this.homeTeam.colloquial_name:this.visitingTeam.colloquial_name,this.dataPlay.xGi=String(a.xGi),this.dataPlay.xGf=String(a.xGf),this.dataPlay.isOwnGoal=a.isOwnGoal,this.data.visible=!0},onMouseLeave(){this.data.visible=!1}}},Tn=e=>(t.pushScopeId("data-v-6b0cedf1"),e=e(),t.popScopeId(),e),JI={class:"soccer-chalkboard-xg"},XI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 490 684","xmlns:xlink":"http://www.w3.org/1999/xlink",class:"soccer-chalkboard"},ZI={xmlns:"http://www.w3.org/2000/svg",viewBox:"30 0 452 684","xmlns:xlink":"http://www.w3.org/1999/xlink"},YI=Tn(()=>t.createElementVNode("marker",{id:"arrow-negative",viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:"red"})],-1)),KI=["id"],QI=["fill"],eA=Tn(()=>t.createElementVNode("pattern",{id:"fieldBackground",width:"1",height:"1",viewBox:"0 0 100 100",preserveAspectRatio:"none"},[t.createElementVNode("image",{"xlink:href":"https://az755631.vo.msecnd.net/todoelfut/fieldbg.png",width:"100",height:"100",preserveAspectRatio:"none",id:"image2"})],-1)),tA=["id"],aA=["x1","y1","x2","y2","stroke"],oA=["x1","y1","x2","y2","stroke","marker-end"],nA=["onMouseover"],sA=["x","y","fill"],iA=["x","y"],rA={class:"tooltip-data has-text-left"},lA={class:"bold"},cA={class:"tooltip-image"},dA={class:"tooltip-image"},mA=["src"],pA={class:"tooltip-xg"},hA={key:0},yA=Tn(()=>t.createElementVNode("span",null,"xGi:",-1)),gA=Tn(()=>t.createElementVNode("div",{class:"tooltip-xg-separator"},null,-1)),uA={key:1},fA=Tn(()=>t.createElementVNode("span",null,"xGf:",-1));function _A(e,a,o,n,s,i){const r=t.resolveComponent("Tooltip");return t.openBlock(),t.createElementBlock("div",JI,[(t.openBlock(),t.createElementBlock("svg",XI,[(t.openBlock(),t.createElementBlock("svg",ZI,[t.createElementVNode("defs",null,[YI,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.localCategories,c=>(t.openBlock(),t.createElementBlock("marker",{key:`arrow-color-${c.id}`,id:`arrow-${c.id}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:c.color},null,8,QI)],8,KI))),128)),eA]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.graphPlays,c=>(t.openBlock(),t.createElementBlock("g",{key:c.id,id:`play-${c.playId}`},[t.createElementVNode("line",{x1:`${c.x1}%`,y1:`${c.y1}%`,x2:`${c.x2}%`,y2:`${c.y2}%`,stroke:c.arrowColor,"stroke-width":"2"},null,8,aA),t.createElementVNode("line",{x1:`${c.x2}%`,y1:`${c.y2}%`,x2:`${c.x3}%`,y2:`${c.y3}%`,stroke:c.arrowColor,"stroke-width":"2","marker-end":c.arrowMarkerColor},null,8,oA),t.createElementVNode("g",{onMouseover:h=>i.onMouseOver(h,c),onMouseleave:a[0]||(a[0]=(...h)=>i.onMouseLeave&&i.onMouseLeave(...h)),class:"is-pointer"},[t.createElementVNode("rect",{x:`${c.x1}%`,y:`${c.y1}%`,transform:"translate(-14, -14)",height:"28",width:"28","stroke-width":"2",fill:c.markerColor,stroke:"#999",rx:"14",ry:"14"},null,8,sA),t.createElementVNode("text",{"text-anchor":"middle","dominant-baseline":"middle",x:`${c.x1}%`,y:`${c.y1}%`,dy:"1","font-size":"15",fill:"#fff","font-family":"'Poppins-SemiBold', sans-serif"},t.toDisplayString(c.jersey),9,iA)],40,nA)],8,tA))),128))]))])),t.createVNode(r,{data:s.data},{default:t.withCtx(()=>[t.createElementVNode("div",rA,[t.createElementVNode("div",null,[t.createElementVNode("span",lA,t.toDisplayString(s.dataPlay.isOwnGoal?"Autogol":s.dataPlay.categoryName),1)]),t.createElementVNode("div",null,[t.createTextVNode(t.toDisplayString(s.dataPlay.playerName)+" ",1),t.createElementVNode("div",cA,[t.createElementVNode("div",{class:"tooltip-image-player",style:t.normalizeStyle("background: url("+s.dataPlay.photo+") top")},null,4)])]),t.createElementVNode("div",null,"Minuto:  "+t.toDisplayString(s.dataPlay.minute)+"'",1),t.createElementVNode("div",null,[t.createTextVNode(" Rival:  "+t.toDisplayString(s.dataPlay.rivalName)+" ",1),t.createElementVNode("div",dA,[t.createElementVNode("img",{src:s.dataPlay.rivalLogo},null,8,mA)])]),t.createElementVNode("div",pA,[/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGi)&&s.dataPlay.xGi<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",hA,[yA,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGi)),1)])):t.createCommentVNode("",!0),gA,/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGf)&&s.dataPlay.xGf<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",uA,[fA,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGf)),1)])):t.createCommentVNode("",!0)])])]),_:1},8,["data"])])}const $1=Ae(qI,[["render",_A],["__scopeId","data-v-6b0cedf1"]]),Li=[{name:"Goles",color:"#336DFF",points:[1,2,3],categories:[12,55,35,54],invert:[35,54],negative:!1},{name:"Tiros a gol",color:"#7ED321",points:[1,2,3],categories:[12,55,35,54,510]}],fMe="",bA={name:"Xg",components:{SoccerChalkboard:$1},props:{},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsLocal","goalsQtyLocal","shotsOnGoalQtyLocal","xGLocal"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.homeTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyLocal},{title:"Tiros a Gol",value:this.shotsOnGoalQtyLocal},{title:"Goles esperados (xG)",value:this.xGLocal}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.homeTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.fillXgPlays()}},B1=e=>(t.pushScopeId("data-v-4a4ce36c"),e=e(),t.popScopeId(),e),wA={class:"xg-container"},CA={class:"xg-container__info"},kA=B1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),SA={class:"table"},EA={class:"table__row"},NA={class:"table__row__title"},$A={class:"table__row__value"},BA=["src"],xA={class:"table__row"},VA={class:"table__row__title"},IA={class:"table__row__value"},AA={class:"table__row"},OA={class:"table__row__title"},TA={class:"table__row__value"},zA=B1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1)),FA={class:"xg-container__field"};function RA(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",wA,[t.createElementVNode("div",CA,[kA,t.createElementVNode("div",SA,[t.createElementVNode("div",EA,[t.createElementVNode("div",NA,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",$A,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,BA)])]),t.createElementVNode("div",xA,[t.createElementVNode("div",VA,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",IA,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",AA,[t.createElementVNode("div",OA,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",TA,t.toDisplayString(i.gxInfoItems[2].value),1)])]),zA]),t.createElementVNode("div",FA,[t.createVNode(r,{plays:e.playsLocal,categories:s.categories,team:e.team},null,8,["plays","categories","team"])])])}const PA=Ae(bA,[["render",RA],["__scopeId","data-v-4a4ce36c"]]),_Me="",DA={name:"Xg",components:{SoccerChalkboard:$1},props:{team:{type:String,default:"Visiting"}},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsAway","goalsQtyAway","shotsOnGoalQtyAway","xGAway"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.visitingTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyAway},{title:"Tiros a Gol",value:this.shotsOnGoalQtyAway},{title:"Goles esperados (xG)",value:this.xGAway}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.visitingTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.setTeamSelected("Visiting"),this.fillXgPlays()}},x1=e=>(t.pushScopeId("data-v-e158f097"),e=e(),t.popScopeId(),e),jA={class:"xg-container"},LA={class:"xg-container__info"},vA=x1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),MA={class:"table"},HA={class:"table__row"},UA={class:"table__row__title"},GA={class:"table__row__value"},WA=["src"],qA={class:"table__row"},JA={class:"table__row__title"},XA={class:"table__row__value"},ZA={class:"table__row"},YA={class:"table__row__title"},KA={class:"table__row__value"},QA=x1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1)),eO={class:"xg-container__field"};function tO(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",jA,[t.createElementVNode("div",LA,[vA,t.createElementVNode("div",MA,[t.createElementVNode("div",HA,[t.createElementVNode("div",UA,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",GA,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,WA)])]),t.createElementVNode("div",qA,[t.createElementVNode("div",JA,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",XA,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",ZA,[t.createElementVNode("div",YA,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",KA,t.toDisplayString(i.gxInfoItems[2].value),1)])]),QA]),t.createElementVNode("div",eO,[t.createVNode(r,{plays:e.playsAway,categories:s.categories,team:o.team},null,8,["plays","categories","team"])])])])}const aO=Ae(DA,[["render",tO],["__scopeId","data-v-e158f097"]]),bMe="",oO={name:"SoccerChalkboard",components:{Tooltip:N1},props:{plays:{type:Array,required:!0},categories:{type:Array,required:!0},team:{type:String,required:!0}},data(){return{negativeColor:"red",data:{x:0,y:0,visible:!1},dataPlay:{playerName:"",photo:"",minute:0,rivalLogo:"",rivalName:"",categoryName:"",xGi:0,xGf:0,isOwnGoal:!1}}},computed:{...Te("nextGeneral",["homeTeam","visitingTeam"]),preparedPlays(){return this.plays.map(e=>({...e,playingAs:e.playing_as,teamId:e.team_id,photo:e.photo,categoryId:e.category_id,matchResult:e.match_result,matchLapse:e.matchlapse,x1:e.x1*100,y1:e.y1*100,x2:e.x2*100,y2:e.y2*100,x3:e.x3*100,y3:e.y3*100,xGi:e.xG1,xGf:e.xG2}))},localCategories(){return this.categories.map((e,a)=>({id:a,name:e.name,negative:e.negative||!1,color:e.color,points:e.points,numPoints:e.points.length,categories:e.categories,invert:e.invert||[]}))},graphPlays(){let e=this.localCategories.reduce((n,s)=>[...n,s.categories],[]);return this.preparedPlays.filter(n=>this.findCategoryInPlay(e,n)).reduce((n,s)=>{let i=this.localCategories.find(r=>this.findCategoryInPlay(r.categories,s));if(i){let r={category:i.id,categoryName:i.name,arrowColor:i.negative?this.negativeColor:i.color,arrowMarkerColor:i.negative?"url(#arrow-negative)":`url(#arrow-${i.id})`,markerColor:i.color,jersey:s.jersey_number,matchlapse:s.matchLapse,playerName:s.player_name,photo:s.photo,rivalLogo:s.rival_id,x1:i.invert.includes(s.categoryId)?100-s[`x${i.points[0]}`]:s[`x${i.points[0]}`],y1:i.invert.includes(s.categoryId)?100-s[`y${i.points[0]}`]:s[`y${i.points[0]}`],x2:i.invert.includes(s.categoryId)?100-s[`x${i.points[1]}`]:s[`x${i.points[1]}`],y2:i.invert.includes(s.categoryId)?100-s[`y${i.points[1]}`]:s[`y${i.points[1]}`],x3:i.invert.includes(s.categoryId)?100-s[`x${i.points[2]}`]:s[`x${i.points[2]}`],y3:i.invert.includes(s.categoryId)?100-s[`y${i.points[2]}`]:s[`y${i.points[2]}`],momentOfPlay:s.moment_of_play,isOwnGoal:i.invert.includes(s.categoryId),xGi:s.xGi,xGf:s.xGf};n.push(r)}return n},[])}},methods:{findCategoryInPlay(e,a){return e.find(o=>typeof o=="number"?o===a.categoryId:o.includes(a.categoryId))},onMouseOver(e,a){this.dataPlay.playerName=a.playerName||"",this.dataPlay.photo=a.photo||"",this.dataPlay.minute=parseInt(a.momentOfPlay.split(":")[0])||"",this.dataPlay.rivalLogo=a.rivalLogo||"",this.dataPlay.categoryName=a.categoryName||"",this.dataPlay.rivalName=this.team=="Visiting"?this.homeTeam.team_name:this.visitingTeam.team_name,this.dataPlay.xGi=String(a.xGi),this.dataPlay.xGf=String(a.xGf),this.dataPlay.isOwnGoal=a.isOwnGoal,this.data.x=e.pageX<135?e.pageX-50:e.layerX-50,this.data.y=e.layerY+130,this.data.visible=!0},onMouseLeave(){this.data.visible=!1}}},zn=e=>(t.pushScopeId("data-v-23c5f659"),e=e(),t.popScopeId(),e),nO={class:"soccer-chalkboard-xg"},sO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 490 684","xmlns:xlink":"http://www.w3.org/1999/xlink",class:"soccer-chalkboard"},iO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 452 684","xmlns:xlink":"http://www.w3.org/1999/xlink"},rO=zn(()=>t.createElementVNode("marker",{id:"arrow-negative",viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:"red"})],-1)),lO=["id"],cO=["fill"],dO=zn(()=>t.createElementVNode("pattern",{id:"fieldBackground",width:"1",height:"1",viewBox:"0 0 100 100",preserveAspectRatio:"none"},[t.createElementVNode("image",{"xlink:href":"https://az755631.vo.msecnd.net/todoelfut/fieldbg.png",width:"100",height:"100",preserveAspectRatio:"none",id:"image2"})],-1)),mO=["id"],pO=["x1","y1","x2","y2","stroke"],hO=["x1","y1","x2","y2","stroke","marker-end"],yO=["onMouseover"],gO=["x","y","fill"],uO=["x","y"],fO={class:"tooltip-data has-text-left"},_O={class:"bold"},bO={class:"tooltip-image"},wO={class:"tooltip-image"},CO=["src"],kO={class:"tooltip-xg"},SO={key:0},EO=zn(()=>t.createElementVNode("span",null,"xGi:",-1)),NO=zn(()=>t.createElementVNode("div",{class:"tooltip-xg-separator"},null,-1)),$O={key:1},BO=zn(()=>t.createElementVNode("span",null,"xGf:",-1));function xO(e,a,o,n,s,i){const r=t.resolveComponent("Tooltip");return t.openBlock(),t.createElementBlock("div",nO,[(t.openBlock(),t.createElementBlock("svg",sO,[(t.openBlock(),t.createElementBlock("svg",iO,[t.createElementVNode("defs",null,[rO,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.localCategories,c=>(t.openBlock(),t.createElementBlock("marker",{key:`arrow-color-${c.id}`,id:`arrow-${c.id}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",markerUnits:"strokeWidth",orient:"auto"},[t.createElementVNode("path",{d:"M 0 0 L 10 5 L 0 10 z","stroke-width":"2",fill:c.color},null,8,cO)],8,lO))),128)),dO]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.graphPlays,c=>(t.openBlock(),t.createElementBlock("g",{key:c.id,id:`play-${c.playId}`},[t.createElementVNode("line",{x1:`${c.x1}%`,y1:`${c.y1}%`,x2:`${c.x2}%`,y2:`${c.y2}%`,stroke:c.arrowColor,"stroke-width":"2"},null,8,pO),t.createElementVNode("line",{x1:`${c.x2}%`,y1:`${c.y2}%`,x2:`${c.x3}%`,y2:`${c.y3}%`,stroke:c.arrowColor,"stroke-width":"2","marker-end":c.arrowMarkerColor},null,8,hO),t.createElementVNode("g",{onMouseover:h=>i.onMouseOver(h,c),onMouseleave:a[0]||(a[0]=(...h)=>i.onMouseLeave&&i.onMouseLeave(...h)),class:"is-pointer"},[t.createElementVNode("rect",{x:`${c.x1}%`,y:`${c.y1}%`,transform:"translate(-14, -14)",height:"28",width:"28","stroke-width":"2",fill:c.markerColor,stroke:"#aaa",rx:"14",ry:"14"},null,8,gO),t.createElementVNode("text",{"text-anchor":"middle","dominant-baseline":"middle",x:`${c.x1}%`,y:`${c.y1}%`,dy:"1","font-size":"15",stroke:"white","font-family":"Poppins, sans-serif"},t.toDisplayString(c.jersey),9,uO)],40,yO)],8,mO))),128))]))])),t.createVNode(r,{data:s.data},{default:t.withCtx(()=>[t.createElementVNode("div",fO,[t.createElementVNode("div",null,[t.createElementVNode("span",_O,t.toDisplayString(s.dataPlay.isOwnGoal?"Autogol":s.dataPlay.categoryName),1)]),t.createElementVNode("div",null,[t.createTextVNode(t.toDisplayString(s.dataPlay.playerName)+" ",1),t.createElementVNode("div",bO,[t.createElementVNode("div",{class:"tooltip-image-player",style:t.normalizeStyle("background: url("+s.dataPlay.photo+") top")},null,4)])]),t.createElementVNode("div",null,"Minuto:  "+t.toDisplayString(s.dataPlay.minute)+"'",1),t.createElementVNode("div",null,[t.createTextVNode(" Rival:  "+t.toDisplayString(s.dataPlay.rivalName)+" ",1),t.createElementVNode("div",wO,[t.createElementVNode("img",{src:s.dataPlay.rivalLogo},null,8,CO)])]),t.createElementVNode("div",kO,[/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGi)&&s.dataPlay.xGi<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",SO,[EO,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGi)),1)])):t.createCommentVNode("",!0),NO,/^[+]?([0-1]+(?:[\.][0-9]*)?|\.[0-9]+)$/.test(s.dataPlay.xGf)&&s.dataPlay.xGf<=1&&!s.dataPlay.isOwnGoal?(t.openBlock(),t.createElementBlock("div",$O,[BO,t.createTextVNode(" "+t.toDisplayString(Number(s.dataPlay.xGf)),1)])):t.createCommentVNode("",!0)])])]),_:1},8,["data"])])}const V1=Ae(oO,[["render",xO],["__scopeId","data-v-23c5f659"]]),wMe="",VO={name:"Xg",components:{SoccerChalkboard:V1},props:{},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsLocal","goalsQtyLocal","shotsOnGoalQtyLocal","xGLocal"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.homeTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyLocal},{title:"Tiros a Gol",value:this.shotsOnGoalQtyLocal},{title:"Goles esperados (xG)",value:this.xGLocal}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.homeTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,localTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.fillXgPlays()}},I1=e=>(t.pushScopeId("data-v-5564b893"),e=e(),t.popScopeId(),e),IO={class:"xg-container"},AO=I1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),OO={class:"xg-container__field"},TO={class:"xg-container__info"},zO={class:"table"},FO={class:"table__row"},RO={class:"table__row__title"},PO={class:"table__row__value"},DO=["src"],jO={class:"table__row"},LO={class:"table__row__title"},vO={class:"table__row__value"},MO={class:"table__row"},HO={class:"table__row__title"},UO={class:"table__row__value"},GO=I1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1));function WO(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",IO,[AO,t.createElementVNode("div",OO,[t.createVNode(r,{plays:e.playsLocal,categories:s.categories,team:e.team},null,8,["plays","categories","team"])]),t.createElementVNode("div",TO,[t.createElementVNode("div",zO,[t.createElementVNode("div",FO,[t.createElementVNode("div",RO,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",PO,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,DO)])]),t.createElementVNode("div",jO,[t.createElementVNode("div",LO,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",vO,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",MO,[t.createElementVNode("div",HO,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",UO,t.toDisplayString(i.gxInfoItems[2].value),1)])]),GO])])}const qO=Ae(VO,[["render",WO],["__scopeId","data-v-5564b893"]]),CMe="",JO={name:"Xg",components:{SoccerChalkboard:V1},props:{},data(){return{categories:Li}},computed:{...kt("nextGeneral",["usePastSeasonId","pastSeasonId","gameId"]),...kt("general",["booleanIsStatisticModalOpen"]),...Te("xgGeneral",["playsAway","goalsQtyAway","shotsOnGoalQtyAway","xGAway"]),...Te("nextGeneral",["getSeasonId","homeTeam","visitingTeam","showPostMatchData"]),...Te("loginGeneral",["getPremiumAccount","getIsGolstats"]),...Te("general",["getPreviewSectionAnalytics"]),stringSelectedTeamLogo(){return this.visitingTeam.logo},windowWidth(){return this.$store.state.windowWidth},gxInfoItems(){return[{title:"Goles",value:this.goalsQtyAway},{title:"Tiros a Gol",value:this.shotsOnGoalQtyAway},{title:"Goles esperados (xG)",value:this.xGAway}]}},watch:{visitingTeam:{deep:!0,handler(e){e&&this.fillXgPlays()}}},methods:{...Ua("general",["setVideoSrc","setVideoModalVisibility"]),...Ua("xgGeneral",["setTeamSelected"]),...Ni("xgGeneral",["getXgPlays"]),openXgVideo(){this.setVideoSrc(""),this.setVideoModalVisibility(!0)},getTeamId(){return this.homeTeam.team_id},fillXgPlays(){this.showPostMatchData?this.getXgPlays({seasonId:this.gameId,AwayTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id,postMatch:this.showPostMatchData}):this.getXgPlays({seasonId:this.usePastSeasonId?this.pastSeasonId:this.getSeasonId,AwayTeamId:this.homeTeam.team_id,visitingTeamId:this.visitingTeam.team_id})}},beforeMount(){this.fillXgPlays()}},A1=e=>(t.pushScopeId("data-v-deab5cdf"),e=e(),t.popScopeId(),e),XO={class:"xg-container"},ZO=A1(()=>t.createElementVNode("div",{class:"title"},"Goles esperados (xG)",-1)),YO={class:"xg-container__field"},KO={class:"xg-container__info"},QO={class:"table"},eT={class:"table__row"},tT={class:"table__row__title"},aT={class:"table__row__value"},oT=["src"],nT={class:"table__row"},sT={class:"table__row__title"},iT={class:"table__row__value"},rT={class:"table__row"},lT={class:"table__row__title"},cT={class:"table__row__value"},dT=A1(()=>t.createElementVNode("div",{class:"table-description"},[t.createElementVNode("span",null,"xG:"),t.createTextVNode(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")],-1));function mT(e,a,o,n,s,i){const r=t.resolveComponent("SoccerChalkboard");return t.openBlock(),t.createElementBlock("div",XO,[ZO,t.createElementVNode("div",YO,[t.createVNode(r,{plays:e.playsAway,categories:s.categories,team:e.team},null,8,["plays","categories","team"])]),t.createElementVNode("div",KO,[t.createElementVNode("div",QO,[t.createElementVNode("div",eT,[t.createElementVNode("div",tT,t.toDisplayString(i.gxInfoItems[0].title),1),t.createElementVNode("div",aT,[t.createTextVNode(t.toDisplayString(i.gxInfoItems[0].value),1),t.createElementVNode("img",{class:"img-abs",src:i.stringSelectedTeamLogo},null,8,oT)])]),t.createElementVNode("div",nT,[t.createElementVNode("div",sT,t.toDisplayString(i.gxInfoItems[1].title),1),t.createElementVNode("div",iT,t.toDisplayString(i.gxInfoItems[1].value),1)]),t.createElementVNode("div",rT,[t.createElementVNode("div",lT,t.toDisplayString(i.gxInfoItems[2].title),1),t.createElementVNode("div",cT,t.toDisplayString(i.gxInfoItems[2].value),1)])]),dT])])}const pT=Ae(JO,[["render",mT],["__scopeId","data-v-deab5cdf"]]),kMe="";let O1=null;const hT={name:"XgMain",components:{GSCSwitchRadio:UI,SoccerChalkboardLocal:PA,SoccerChalkboardAway:aO,SoccerChalkboardLocalMobile:qO,SoccerChalkboardAwayMobile:pT},props:{},data(){return{gamesContainerWidth:0,teamSelect:"local",teamDefault:""}},computed:{...Te("nextGeneral",["homeTeam","visitingTeam"])},watch:{},methods:{onChangeTeam(e){e instanceof Object||(this.teamSelect=e),this.teamDefault=e},setUpResizeObserver(){if(window.ResizeObserver)O1=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<680?this.movil=!0:this.movil=!1}),O1.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")}},mounted(){this.teamSelect=this.homeTeam.colloquial_name,this.teamLocal=this.homeTeam.colloquial_name,setTimeout(()=>{this.setUpResizeObserver()},100)},updated(){this.teamSelect!=this.homeTeam.colloquial_name&&this.teamSelect!=this.visitingTeam.colloquial_name&&(this.teamSelect=this.homeTeam.colloquial_name,this.onChangeTeam(this.teamSelect))}},yT={class:"xg",ref:"gamesContainer"},gT={key:0,class:"selector-team"};function uT(e,a,o,n,s,i){const r=t.resolveComponent("GSCSwitchRadio"),c=t.resolveComponent("SoccerChalkboardLocal"),h=t.resolveComponent("SoccerChalkboardAway"),d=t.resolveComponent("SoccerChalkboardLocalMobile"),l=t.resolveComponent("SoccerChalkboardAwayMobile");return t.openBlock(),t.createElementBlock("div",yT,[s.gamesContainerWidth<655?(t.openBlock(),t.createElementBlock("div",gT,[t.createVNode(r,{width:"42px",height:"20px",heightCircle:"16px",widthCircle:"16px","circle-color-switch":"#cbee6b",valueDefault:s.teamDefault,"text-option-left":e.homeTeam.colloquial_name,"text-option-right":e.visitingTeam.colloquial_name,"font-color":"white","hidden-labels":!1,"icon-a":e.homeTeam.logo,"icon-b":e.visitingTeam.logo,onChange:i.onChangeTeam},null,8,["valueDefault","text-option-left","text-option-right","icon-a","icon-b","onChange"])])):t.createCommentVNode("",!0),s.gamesContainerWidth>=655?(t.openBlock(),t.createBlock(c,{key:1,class:"local"})):t.createCommentVNode("",!0),s.gamesContainerWidth>=655?(t.openBlock(),t.createBlock(h,{key:2,class:"away"})):t.createCommentVNode("",!0),s.gamesContainerWidth<655&&s.teamSelect==e.homeTeam.colloquial_name?(t.openBlock(),t.createBlock(d,{key:3})):t.createCommentVNode("",!0),s.gamesContainerWidth<655&&s.teamSelect==e.visitingTeam.colloquial_name?(t.openBlock(),t.createBlock(l,{key:4})):t.createCommentVNode("",!0)],512)}const fT=Ae(hT,[["render",uT],["__scopeId","data-v-902f8fb4"]]),SMe="",_T={class:"statistics-main"},bT={class:"statistics-main__header"},wT={class:"statistics-main__header__filter"},CT={class:"statistics-main__body"},kT=t.defineComponent({name:"TemplateVideos",components:{TrendLive:MB,Comparative:$I,Distribution:RI,GSCSlider:Md,XG:fT}}),ST=Ae(Object.assign(kT,{props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})},subsection:{type:String,default:""},seasonSelected:{type:Object,default:()=>({})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,n=fu(),s=t.ref({width:"fit-content",height:"30px",borderRadius:"50px",borderColor:"#8a8a8a",borderWidth:"0.5px",backgroundColor:"rgba(255, 255, 255, 0.04)",fontSize:"14px",fontFamily:"Poppins-Regular, sans-serif",fontColor:"rgba(255, 255, 255, 0.5)",activeFontColor:"#FFFFFF",activeBorderColor:"#cbee6b",padding:"0 16px"}),i=t.ref({}),r=t.ref(null),c=t.ref([{id:"st1",name:"Comparativa",componentName:"Comparative"},{id:"st2",name:"Distribución",componentName:"Distribution"},{id:"st3",name:"Tendencia LIVE",componentName:"TrendLive"},{id:"st4",name:"Goles esperados (xG)",componentName:"XG"}]);let h=t.ref({id:"st3",name:"Tendencia LIVE",componentName:"TrendLive"});t.watch(()=>o.game,g=>{const y={...g};d(y)},{deep:!0,immediate:!0});async function d(g){try{i.value.gameId!==g.gameId&&(i.value=g,await n.dispatch("nextGeneral/cleanStats"),await n.dispatch("nextGeneral/checkState",{gameId:g.gameId,currentSeasonId:g.seasonId,isTeamsAnalysis:!0,defaultFilter:r.value,gameInfo:g}))}catch(y){throw new Error(y)}}function l(g){h.value=g}function m(){n.commit("nextGeneral/updateFilters",{filters:{local:{playingAs:[1,2],statistics:{},matchResult:[1,2,3],firstHalf:[1,2,3],secondHalf:[4,5,6]},visit:{playingAs:[1,2],statistics:{},matchResult:[1,2,3],firstHalf:[1,2,3],secondHalf:[4,5,6]}},needsFormat:!0})}function p(g){a("openmedia",g)}return t.onUnmounted(()=>{a("resetSubsection")}),t.onMounted(()=>{o.subsection==="Comparativa"&&(h.value.id="st1",h.value.name="Comparativa",h.value.componentName="Comparative")}),m(),(g,y)=>(t.openBlock(),t.createElementBlock("div",_T,[t.createElementVNode("div",bT,[t.createVNode(t.unref(Md),{backgroundColor:"none",arrows:!1},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,u=>(t.openBlock(),t.createElementBlock("div",{key:u.id,class:"game-time-line__options__option"},[t.createVNode(hu,t.mergeProps(s.value,{text:u.name,"is-active":t.unref(h).id===u.id,onClick:f=>l(u)}),null,16,["text","is-active","onClick"])]))),128))]),_:1}),t.withDirectives(t.createElementVNode("div",wT,[t.createVNode(E$)],512),[[t.vShow,!1]])]),t.createElementVNode("div",CT,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(h).componentName),{seasonSelected:e.seasonSelected,game:e.game,onOpenmedia:p},null,40,["seasonSelected","game"]))])]))}}),[["__scopeId","data-v-f00eb722"]]);function T1(e,a){return function(){return e.apply(a,arguments)}}const{toString:ET}=Object.prototype,{getPrototypeOf:Ud}=Object,vi=(e=>a=>{const o=ET.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ta=e=>(e=e.toLowerCase(),a=>vi(a)===e),Mi=e=>a=>typeof a===e,{isArray:Vo}=Array,Fn=Mi("undefined");function NT(e){return e!==null&&!Fn(e)&&e.constructor!==null&&!Fn(e.constructor)&&$t(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const z1=ta("ArrayBuffer");function $T(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&z1(e.buffer),a}const BT=Mi("string"),$t=Mi("function"),F1=Mi("number"),Hi=e=>e!==null&&typeof e=="object",xT=e=>e===!0||e===!1,Ui=e=>{if(vi(e)!=="object")return!1;const a=Ud(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},VT=ta("Date"),IT=ta("File"),AT=ta("Blob"),OT=ta("FileList"),TT=e=>Hi(e)&&$t(e.pipe),zT=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||$t(e.append)&&((a=vi(e))==="formdata"||a==="object"&&$t(e.toString)&&e.toString()==="[object FormData]"))},FT=ta("URLSearchParams"),RT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rn(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Vo(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function R1(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const P1=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),D1=e=>!Fn(e)&&e!==P1;function Gd(){const{caseless:e}=D1(this)&&this||{},a={},o=(n,s)=>{const i=e&&R1(a,s)||s;Ui(a[i])&&Ui(n)?a[i]=Gd(a[i],n):Ui(n)?a[i]=Gd({},n):Vo(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Rn(arguments[n],o);return a}const PT=(e,a,o,{allOwnKeys:n}={})=>(Rn(a,(s,i)=>{o&&$t(s)?e[i]=T1(s,o):e[i]=s},{allOwnKeys:n}),e),DT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jT=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},LT=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Ud(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},vT=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},MT=e=>{if(!e)return null;if(Vo(e))return e;let a=e.length;if(!F1(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},HT=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Ud(Uint8Array)),UT=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},GT=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},WT=ta("HTMLFormElement"),qT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),j1=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),JT=ta("RegExp"),L1=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};Rn(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},XT=e=>{L1(e,(a,o)=>{if($t(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if($t(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},ZT=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Vo(e)?n(e):n(String(e).split(a)),o},YT=()=>{},KT=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Wd="abcdefghijklmnopqrstuvwxyz",v1="0123456789",M1={DIGIT:v1,ALPHA:Wd,ALPHA_DIGIT:Wd+Wd.toUpperCase()+v1},QT=(e=16,a=M1.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function ez(e){return!!(e&&$t(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const tz=e=>{const a=new Array(10),o=(n,s)=>{if(Hi(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Vo(n)?[]:{};return Rn(n,(r,c)=>{const h=o(r,s+1);!Fn(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},az=ta("AsyncFunction"),oz=e=>e&&(Hi(e)||$t(e))&&$t(e.then)&&$t(e.catch),L={isArray:Vo,isArrayBuffer:z1,isBuffer:NT,isFormData:zT,isArrayBufferView:$T,isString:BT,isNumber:F1,isBoolean:xT,isObject:Hi,isPlainObject:Ui,isUndefined:Fn,isDate:VT,isFile:IT,isBlob:AT,isRegExp:JT,isFunction:$t,isStream:TT,isURLSearchParams:FT,isTypedArray:HT,isFileList:OT,forEach:Rn,merge:Gd,extend:PT,trim:RT,stripBOM:DT,inherits:jT,toFlatObject:LT,kindOf:vi,kindOfTest:ta,endsWith:vT,toArray:MT,forEachEntry:UT,matchAll:GT,isHTMLForm:WT,hasOwnProperty:j1,hasOwnProp:j1,reduceDescriptors:L1,freezeMethods:XT,toObjectSet:ZT,toCamelCase:qT,noop:YT,toFiniteNumber:KT,findKey:R1,global:P1,isContextDefined:D1,ALPHABET:M1,generateString:QT,isSpecCompliantForm:ez,toJSONObject:tz,isAsyncFn:az,isThenable:oz};function pe(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}L.inherits(pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const H1=pe.prototype,U1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{U1[e]={value:e}}),Object.defineProperties(pe,U1),Object.defineProperty(H1,"isAxiosError",{value:!0}),pe.from=(e,a,o,n,s,i)=>{const r=Object.create(H1);return L.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),pe.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const nz=null;function qd(e){return L.isPlainObject(e)||L.isArray(e)}function G1(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function W1(e,a,o){return e?e.concat(a).map(function(n,s){return n=G1(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function sz(e){return L.isArray(e)&&!e.some(qd)}const iz=L.toFlatObject(L,{},null,function(e){return/^is[A-Z]/.test(e)});function Gi(e,a,o){if(!L.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=L.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!L.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(a);if(!L.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(L.isDate(g))return g.toISOString();if(!c&&L.isBlob(g))throw new pe("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(g)||L.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(L.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(L.isArray(g)&&sz(g)||(L.isFileList(g)||L.endsWith(y,"[]"))&&(f=L.toArray(g)))return y=G1(y),f.forEach(function(b,k){!(L.isUndefined(b)||b===null)&&a.append(r===!0?W1([y],k,i):r===null?y:y+"[]",h(b))}),!1}return qd(g)?!0:(a.append(W1(u,y,i),h(g)),!1)}const l=[],m=Object.assign(iz,{defaultVisitor:d,convertValue:h,isVisitable:qd});function p(g,y){if(!L.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),L.forEach(g,function(u,f){(!(L.isUndefined(u)||u===null)&&s.call(a,u,L.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return p(e),a}function q1(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Jd(e,a){this._pairs=[],e&&Gi(e,this,a)}const J1=Jd.prototype;J1.append=function(e,a){this._pairs.push([e,a])},J1.toString=function(e){const a=e?function(o){return e.call(this,o,q1)}:q1;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function rz(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function X1(e,a,o){if(!a)return e;const n=o&&o.encode||rz,s=o&&o.serialize;let i;if(s?i=s(a,o):i=L.isURLSearchParams(a)?a.toString():new Jd(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const Z1=class{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){L.forEach(this.handlers,function(o){o!==null&&a(o)})}},Y1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lz=typeof URLSearchParams<"u"?URLSearchParams:Jd,cz=typeof FormData<"u"?FormData:null,dz=typeof Blob<"u"?Blob:null,mz={isBrowser:!0,classes:{URLSearchParams:lz,FormData:cz,Blob:dz},protocols:["http","https","file","blob","url","data"]},K1=typeof window<"u"&&typeof document<"u",pz=(e=>K1&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),hz=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),yz=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:K1,hasStandardBrowserEnv:pz,hasStandardBrowserWebWorkerEnv:hz},Symbol.toStringTag,{value:"Module"})),aa={...yz,...mz};function gz(e,a){return Gi(e,new aa.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return aa.isNode&&L.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function uz(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function fz(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function Q1(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&L.isArray(s)?s.length:r,h?(L.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!L.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&L.isArray(s[r])&&(s[r]=fz(s[r])),!c)}if(L.isFormData(e)&&L.isFunction(e.entries)){const o={};return L.forEachEntry(e,(n,s)=>{a(uz(n),s,o,0)}),o}return null}function _z(e,a,o){if(L.isString(e))try{return(a||JSON.parse)(e),L.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const Xd={transitional:Y1,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=L.isObject(e);if(s&&L.isHTMLForm(e)&&(e=new FormData(e)),L.isFormData(e))return n&&n?JSON.stringify(Q1(e)):e;if(L.isArrayBuffer(e)||L.isBuffer(e)||L.isStream(e)||L.isFile(e)||L.isBlob(e))return e;if(L.isArrayBufferView(e))return e.buffer;if(L.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return gz(e,this.formSerializer).toString();if((i=L.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Gi(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),_z(e)):e}],transformResponse:[function(e){const a=this.transitional||Xd.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&L.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?pe.from(i,pe.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:aa.classes.FormData,Blob:aa.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{Xd.headers[e]={}});const Zd=Xd,bz=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wz=e=>{const a={};let o,n,s;return e&&e.split(`
23
23
  `).forEach(function(i){s=i.indexOf(":"),o=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!o||a[o]&&bz[o])&&(o==="set-cookie"?a[o]?a[o].push(n):a[o]=[n]:a[o]=a[o]?a[o]+", "+n:n)}),a},ef=Symbol("internals");function Pn(e){return e&&String(e).trim().toLowerCase()}function Wi(e){return e===!1||e==null?e:L.isArray(e)?e.map(Wi):String(e)}function Cz(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=o.exec(e);)a[n[1]]=n[2];return a}const kz=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yd(e,a,o,n,s){if(L.isFunction(n))return n.call(this,a,o);if(s&&(a=o),!!L.isString(a)){if(L.isString(n))return a.indexOf(n)!==-1;if(L.isRegExp(n))return n.test(a)}}function Sz(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,n)=>o.toUpperCase()+n)}function Ez(e,a){const o=L.toCamelCase(" "+a);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+o,{value:function(s,i,r){return this[n].call(this,a,s,i,r)},configurable:!0})})}let qi=class{constructor(a){a&&this.set(a)}set(a,o,n){const s=this;function i(c,h,d){const l=Pn(h);if(!l)throw new Error("header name must be a non-empty string");const m=L.findKey(s,l);(!m||s[m]===void 0||d===!0||d===void 0&&s[m]!==!1)&&(s[m||h]=Wi(c))}const r=(c,h)=>L.forEach(c,(d,l)=>i(d,l,h));return L.isPlainObject(a)||a instanceof this.constructor?r(a,o):L.isString(a)&&(a=a.trim())&&!kz(a)?r(wz(a),o):a!=null&&i(o,a,n),this}get(a,o){if(a=Pn(a),a){const n=L.findKey(this,a);if(n){const s=this[n];if(!o)return s;if(o===!0)return Cz(s);if(L.isFunction(o))return o.call(this,s,n);if(L.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=Pn(a),a){const n=L.findKey(this,a);return!!(n&&this[n]!==void 0&&(!o||Yd(this,this[n],n,o)))}return!1}delete(a,o){const n=this;let s=!1;function i(r){if(r=Pn(r),r){const c=L.findKey(n,r);c&&(!o||Yd(n,n[c],c,o))&&(delete n[c],s=!0)}}return L.isArray(a)?a.forEach(i):i(a),s}clear(a){const o=Object.keys(this);let n=o.length,s=!1;for(;n--;){const i=o[n];(!a||Yd(this,this[i],i,a,!0))&&(delete this[i],s=!0)}return s}normalize(a){const o=this,n={};return L.forEach(this,(s,i)=>{const r=L.findKey(n,i);if(r){o[r]=Wi(s),delete o[i];return}const c=a?Sz(i):String(i).trim();c!==i&&delete o[i],o[c]=Wi(s),n[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return L.forEach(this,(n,s)=>{n!=null&&n!==!1&&(o[s]=a&&L.isArray(n)?n.join(", "):n)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
24
24
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const n=new this(a);return o.forEach(s=>n.set(s)),n}static accessor(a){const o=(this[ef]=this[ef]={accessors:{}}).accessors,n=this.prototype;function s(i){const r=Pn(i);o[r]||(Ez(n,i),o[r]=!0)}return L.isArray(a)?a.forEach(s):s(a),this}};qi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),L.reduceDescriptors(qi.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),L.freezeMethods(qi);const Aa=qi;function Kd(e,a){const o=this||Zd,n=a||o,s=Aa.from(n.headers);let i=n.data;return L.forEach(e,function(r){i=r.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function tf(e){return!!(e&&e.__CANCEL__)}function Dn(e,a,o){pe.call(this,e??"canceled",pe.ERR_CANCELED,a,o),this.name="CanceledError"}L.inherits(Dn,pe,{__CANCEL__:!0});function Nz(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new pe("Request failed with status code "+o.status,[pe.ERR_BAD_REQUEST,pe.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const $z=aa.hasStandardBrowserEnv?{write(e,a,o,n,s,i){const r=[e+"="+encodeURIComponent(a)];L.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),L.isString(n)&&r.push("path="+n),L.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bz(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xz(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function af(e,a){return e&&!Bz(a)?xz(e,a):a}const Vz=aa.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function n(s){let i=s;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=n(window.location.href),function(s){const i=L.isString(s)?n(s):s;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function Iz(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function Az(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=n[i];r||(r=h),o[s]=c,n[s]=h;let l=i,m=0;for(;l!==s;)m+=o[l++],l=l%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function of(e,a){let o=0;const n=Az(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const Oz=typeof XMLHttpRequest<"u",Tz=Oz&&function(e){return new Promise(function(a,o){let n=e.data;const s=Aa.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(L.isFormData(n)){if(aa.hasStandardBrowserEnv||aa.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[y,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([y||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+u))}const m=af(e.baseURL,e.url);l.open(e.method.toUpperCase(),X1(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const y=Aa.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:e,request:l};Nz(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new pe("Request aborted",pe.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new pe("Network Error",pe.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||Y1;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),o(new pe(y,u.clarifyTimeoutError?pe.ETIMEDOUT:pe.ECONNABORTED,e,l)),l=null},aa.hasStandardBrowserEnv&&(r&&L.isFunction(r)&&(r=r(e)),r||r!==!1&&Vz(m))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&$z.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}n===void 0&&s.setContentType(null),"setRequestHeader"in l&&L.forEach(s.toJSON(),function(y,u){l.setRequestHeader(u,y)}),L.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",of(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",of(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=y=>{l&&(o(!y||y.type?new Dn(null,e,l):y),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const g=Iz(m);if(g&&aa.protocols.indexOf(g)===-1){o(new pe("Unsupported protocol "+g+":",pe.ERR_BAD_REQUEST,e));return}l.send(n||null)})},Qd={http:nz,xhr:Tz};L.forEach(Qd,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const nf=e=>`- ${e}`,zz=e=>L.isFunction(e)||e===null||e===!1,sf={getAdapter:e=>{e=L.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!zz(o)&&(n=Qd[(r=String(o)).toLowerCase()],n===void 0))throw new pe(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
25
25
  `+i.map(nf).join(`
@@ -32,7 +32,7 @@
32
32
  `).forEach(function(i){s=i.indexOf(":"),o=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!o||a[o]&&AZ[o])&&(o==="set-cookie"?a[o]?a[o].push(n):a[o]=[n]:a[o]=a[o]?a[o]+", "+n:n)}),a},P_=Symbol("internals");function as(e){return e&&String(e).trim().toLowerCase()}function kr(e){return e===!1||e==null?e:v.isArray(e)?e.map(kr):String(e)}function TZ(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=o.exec(e);)a[n[1]]=n[2];return a}const zZ=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Wm(e,a,o,n,s){if(v.isFunction(n))return n.call(this,a,o);if(s&&(a=o),!!v.isString(a)){if(v.isString(n))return a.indexOf(n)!==-1;if(v.isRegExp(n))return n.test(a)}}function FZ(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,n)=>o.toUpperCase()+n)}function RZ(e,a){const o=v.toCamelCase(" "+a);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+o,{value:function(s,i,r){return this[n].call(this,a,s,i,r)},configurable:!0})})}let Sr=class{constructor(a){a&&this.set(a)}set(a,o,n){const s=this;function i(c,h,d){const l=as(h);if(!l)throw new Error("header name must be a non-empty string");const m=v.findKey(s,l);(!m||s[m]===void 0||d===!0||d===void 0&&s[m]!==!1)&&(s[m||h]=kr(c))}const r=(c,h)=>v.forEach(c,(d,l)=>i(d,l,h));return v.isPlainObject(a)||a instanceof this.constructor?r(a,o):v.isString(a)&&(a=a.trim())&&!zZ(a)?r(OZ(a),o):a!=null&&i(o,a,n),this}get(a,o){if(a=as(a),a){const n=v.findKey(this,a);if(n){const s=this[n];if(!o)return s;if(o===!0)return TZ(s);if(v.isFunction(o))return o.call(this,s,n);if(v.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=as(a),a){const n=v.findKey(this,a);return!!(n&&this[n]!==void 0&&(!o||Wm(this,this[n],n,o)))}return!1}delete(a,o){const n=this;let s=!1;function i(r){if(r=as(r),r){const c=v.findKey(n,r);c&&(!o||Wm(n,n[c],c,o))&&(delete n[c],s=!0)}}return v.isArray(a)?a.forEach(i):i(a),s}clear(a){const o=Object.keys(this);let n=o.length,s=!1;for(;n--;){const i=o[n];(!a||Wm(this,this[i],i,a,!0))&&(delete this[i],s=!0)}return s}normalize(a){const o=this,n={};return v.forEach(this,(s,i)=>{const r=v.findKey(n,i);if(r){o[r]=kr(s),delete o[i];return}const c=a?FZ(i):String(i).trim();c!==i&&delete o[i],o[c]=kr(s),n[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return v.forEach(this,(n,s)=>{n!=null&&n!==!1&&(o[s]=a&&v.isArray(n)?n.join(", "):n)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
33
33
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const n=new this(a);return o.forEach(s=>n.set(s)),n}static accessor(a){const o=(this[P_]=this[P_]={accessors:{}}).accessors,n=this.prototype;function s(i){const r=as(i);o[r]||(RZ(n,i),o[r]=!0)}return v.isArray(a)?a.forEach(s):s(a),this}};Sr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),v.reduceDescriptors(Sr.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),v.freezeMethods(Sr);const Oa=Sr;function qm(e,a){const o=this||Gm,n=a||o,s=Oa.from(n.headers);let i=n.data;return v.forEach(e,function(r){i=r.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function D_(e){return!!(e&&e.__CANCEL__)}function os(e,a,o){he.call(this,e??"canceled",he.ERR_CANCELED,a,o),this.name="CanceledError"}v.inherits(os,he,{__CANCEL__:!0});function PZ(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new he("Request failed with status code "+o.status,[he.ERR_BAD_REQUEST,he.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const DZ=sa.hasStandardBrowserEnv?{write(e,a,o,n,s,i){const r=[e+"="+encodeURIComponent(a)];v.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),v.isString(n)&&r.push("path="+n),v.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jZ(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function LZ(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function j_(e,a){return e&&!jZ(a)?LZ(e,a):a}const vZ=sa.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function n(s){let i=s;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=n(window.location.href),function(s){const i=v.isString(s)?n(s):s;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function MZ(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function HZ(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=n[i];r||(r=h),o[s]=c,n[s]=h;let l=i,m=0;for(;l!==s;)m+=o[l++],l=l%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function L_(e,a){let o=0;const n=HZ(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const UZ=typeof XMLHttpRequest<"u",GZ=UZ&&function(e){return new Promise(function(a,o){let n=e.data;const s=Oa.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(v.isFormData(n)){if(sa.hasStandardBrowserEnv||sa.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[y,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([y||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+u))}const m=j_(e.baseURL,e.url);l.open(e.method.toUpperCase(),O_(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const y=Oa.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:e,request:l};PZ(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new he("Request aborted",he.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new he("Network Error",he.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||z_;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),o(new he(y,u.clarifyTimeoutError?he.ETIMEDOUT:he.ECONNABORTED,e,l)),l=null},sa.hasStandardBrowserEnv&&(r&&v.isFunction(r)&&(r=r(e)),r||r!==!1&&vZ(m))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&DZ.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}n===void 0&&s.setContentType(null),"setRequestHeader"in l&&v.forEach(s.toJSON(),function(y,u){l.setRequestHeader(u,y)}),v.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",L_(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",L_(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=y=>{l&&(o(!y||y.type?new os(null,e,l):y),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const g=MZ(m);if(g&&sa.protocols.indexOf(g)===-1){o(new he("Unsupported protocol "+g+":",he.ERR_BAD_REQUEST,e));return}l.send(n||null)})},Jm={http:uZ,xhr:GZ};v.forEach(Jm,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const v_=e=>`- ${e}`,WZ=e=>v.isFunction(e)||e===null||e===!1,M_={getAdapter:e=>{e=v.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!WZ(o)&&(n=Jm[(r=String(o)).toLowerCase()],n===void 0))throw new he(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
34
34
  `+i.map(v_).join(`
35
- `):" "+v_(i[0]):"as no adapter specified";throw new he("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n},adapters:Jm};function Xm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new os(null,e)}function H_(e){return Xm(e),e.headers=Oa.from(e.headers),e.data=qm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),M_.getAdapter(e.adapter||Gm.adapter)(e).then(function(a){return Xm(e),a.data=qm.call(e,e.transformResponse,a),a.headers=Oa.from(a.headers),a},function(a){return D_(a)||(Xm(e),a&&a.response&&(a.response.data=qm.call(e,e.transformResponse,a.response),a.response.headers=Oa.from(a.response.headers))),Promise.reject(a)})}const U_=e=>e instanceof Oa?e.toJSON():e;function vo(e,a){a=a||{};const o={};function n(d,l,m){return v.isPlainObject(d)&&v.isPlainObject(l)?v.merge.call({caseless:m},d,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}function s(d,l,m){if(v.isUndefined(l)){if(!v.isUndefined(d))return n(void 0,d,m)}else return n(d,l,m)}function i(d,l){if(!v.isUndefined(l))return n(void 0,l)}function r(d,l){if(v.isUndefined(l)){if(!v.isUndefined(d))return n(void 0,d)}else return n(void 0,l)}function c(d,l,m){if(m in a)return n(d,l);if(m in e)return n(void 0,d)}const h={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l)=>s(U_(d),U_(l),!0)};return v.forEach(Object.keys(Object.assign({},e,a)),function(d){const l=h[d]||s,m=l(e[d],a[d],d);v.isUndefined(m)&&l!==c||(o[d]=m)}),o}const G_="1.6.5",Zm={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Zm[e]=function(o){return typeof o===e||"a"+(a<1?"n ":" ")+e}});const W_={};Zm.transitional=function(e,a,o){function n(s,i){return"[Axios v"+G_+"] Transitional option '"+s+"'"+i+(o?". "+o:"")}return(s,i,r)=>{if(e===!1)throw new he(n(i," has been removed"+(a?" in "+a:"")),he.ERR_DEPRECATED);return a&&!W_[i]&&(W_[i]=!0,console.warn(n(i," has been deprecated since v"+a+" and will be removed in the near future"))),e?e(s,i,r):!0}};function qZ(e,a,o){if(typeof e!="object")throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const i=n[s],r=a[i];if(r){const c=e[i],h=c===void 0||r(c,i,e);if(h!==!0)throw new he("option "+i+" must be "+h,he.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}const Ym={assertOptions:qZ,validators:Zm},Ya=Ym.validators;let Er=class{constructor(a){this.defaults=a,this.interceptors={request:new T_,response:new T_}}request(a,o){typeof a=="string"?(o=o||{},o.url=a):o=a||{},o=vo(this.defaults,o);const{transitional:n,paramsSerializer:s,headers:i}=o;n!==void 0&&Ym.assertOptions(n,{silentJSONParsing:Ya.transitional(Ya.boolean),forcedJSONParsing:Ya.transitional(Ya.boolean),clarifyTimeoutError:Ya.transitional(Ya.boolean)},!1),s!=null&&(v.isFunction(s)?o.paramsSerializer={serialize:s}:Ym.assertOptions(s,{encode:Ya.function,serialize:Ya.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let r=i&&v.merge(i.common,i[o.method]);i&&v.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),o.headers=Oa.concat(r,i);const c=[];let h=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(o)===!1||(h=h&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const d=[];this.interceptors.response.forEach(function(y){d.push(y.fulfilled,y.rejected)});let l,m=0,p;if(!h){const y=[H_.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),p=y.length,l=Promise.resolve(o);m<p;)l=l.then(y[m++],y[m++]);return l}p=c.length;let g=o;for(m=0;m<p;){const y=c[m++],u=c[m++];try{g=y(g)}catch(f){u.call(this,f);break}}try{l=H_.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,p=d.length;m<p;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=vo(this.defaults,a);const o=j_(a.baseURL,a.url);return O_(o,a.params,a.paramsSerializer)}};v.forEach(["delete","get","head","options"],function(e){Er.prototype[e]=function(a,o){return this.request(vo(o||{},{method:e,url:a,data:(o||{}).data}))}}),v.forEach(["post","put","patch"],function(e){function a(o){return function(n,s,i){return this.request(vo(i||{},{method:e,headers:o?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))}}Er.prototype[e]=a(),Er.prototype[e+"Form"]=a(!0)});const Nr=Er,JZ=class Vk{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(s){o=s});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const r=new Promise(c=>{n.subscribe(c),i=c}).then(s);return r.cancel=function(){n.unsubscribe(i)},r},a(function(s,i,r){n.reason||(n.reason=new os(s,i,r),o(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const o=this._listeners.indexOf(a);o!==-1&&this._listeners.splice(o,1)}static source(){let a;return{token:new Vk(function(o){a=o}),cancel:a}}};function XZ(e){return function(a){return e.apply(null,a)}}function ZZ(e){return v.isObject(e)&&e.isAxiosError===!0}const Km={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Km).forEach(([e,a])=>{Km[a]=e});const YZ=Km;function q_(e){const a=new Nr(e),o=u_(Nr.prototype.request,a);return v.extend(o,Nr.prototype,a,{allOwnKeys:!0}),v.extend(o,a,null,{allOwnKeys:!0}),o.create=function(n){return q_(vo(e,n))},o}const Ge=q_(Gm);Ge.Axios=Nr,Ge.CanceledError=os,Ge.CancelToken=JZ,Ge.isCancel=D_,Ge.VERSION=G_,Ge.toFormData=Cr,Ge.AxiosError=he,Ge.Cancel=Ge.CanceledError,Ge.all=function(e){return Promise.all(e)},Ge.spread=XZ,Ge.isAxiosError=ZZ,Ge.mergeConfig=vo,Ge.AxiosHeaders=Oa,Ge.formToJSON=e=>R_(v.isHTMLForm(e)?new FormData(e):e),Ge.getAdapter=M_.getAdapter,Ge.HttpStatusCode=YZ,Ge.default=Ge;const KZ=Ge;function QZ(e){const a=t.ref({width:0,height:0});function o(){const n=e.value.getBoundingClientRect();a.value.width=n.width,a.value.height=n.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const $r="/contorno-escudo.svg",eY="_item_3arsi_7",tY="_cardDgs_3arsi_29",aY="_teams_3arsi_65",oY="_homeTeam_3arsi_83",nY="_vectorStrokeIcon_3arsi_101",sY="_homeTeamChild_3arsi_115",iY="_centrosParent_3arsi_137",rY="_centros_3arsi_137",lY="_chivasYAtlas_3arsi_173",cY="_btnPlay_3arsi_205",dY="_icnPlayIcon_3arsi_255",mY="_logoHomeTeamIcon_3arsi_267",pY="_logoHomeTeamIcon1_3arsi_295",hY={item:eY,"item-game":"_item-game_3arsi_19",cardDgs:tY,teams:aY,homeTeam:oY,vectorStrokeIcon:nY,homeTeamChild:sY,centrosParent:iY,centros:rY,chivasYAtlas:lY,btnPlay:cY,icnPlayIcon:dY,logoHomeTeamIcon:mY,logoHomeTeamIcon1:pY},J_=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},yY={components:{},props:{data:{type:Object,default:()=>{}},isSlider:{type:Boolean,default:!1}},data(){return{}},computed:{},methods:{},mounted(){}},gY=e=>(t.pushScopeId("data-v-cdf85d11"),e=e(),t.popScopeId(),e),uY=["src"],fY=["src"],_Y=["src"],bY=["src"],wY=gY(()=>t.createElementVNode("path",{d:"M0.53523 17.021C0.399977 16.944 0.286929 16.8291 0.208272 16.6885C0.129614 16.5479 0.0883312 16.387 0.0888724 16.2231V1.77477C0.0890584 1.61149 0.130612 1.45132 0.209115 1.31128C0.287618 1.17124 0.400138 1.05657 0.534712 0.979447C0.669286 0.902329 0.820885 0.86565 0.973393 0.873309C1.1259 0.880968 1.27362 0.932678 1.40084 1.02294L11.5348 8.24798C11.6505 8.33029 11.7454 8.44192 11.8111 8.57294C11.8767 8.70396 11.9111 8.85031 11.9111 8.99896C11.9111 9.14761 11.8767 9.29395 11.8111 9.42497C11.7454 9.55599 11.6505 9.66762 11.5348 9.74993L1.40084 16.9767C1.27381 17.0671 1.12621 17.119 0.973768 17.1268C0.821326 17.1347 0.66976 17.0981 0.53523 17.021Z",fill:"#CBEE6B"},null,-1)),CY=[wY],kY=["src"],SY=["src"],EY=["src"],NY=["src"];function $Y(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.item),style:t.normalizeStyle(o.isSlider?"margin: 0 25px 0 0":"")},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.item-e.game)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardDgs),style:t.normalizeStyle(e.index%2==0?"background: #193346;":"background: #122736;")},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teams),id:"container-teams"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.data.tops[0]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[0]+".png"},null,10,uY)],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.data.bottoms[0]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[0]+".png"},null,10,fY)],64)):t.createCommentVNode("",!0)],64))],2),o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.data.tops[1]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[1]+".png"},null,10,_Y)],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.data.bottoms[1]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[1]+".png"},null,10,bY)],2)):t.createCommentVNode("",!0)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.centrosParent),id:"container-info"},[t.createElementVNode("h3",{class:t.normalizeClass(e.$style.centros),id:"title-card"},t.toDisplayString(o.data.title),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.chivasYAtlas),style:t.normalizeStyle(o.isSlider?"width: 280px; padding: 0 10px;":"")},t.toDisplayString(o.data.mention),7)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnPlay)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.icnPlayIcon),width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},CY,2))],2),o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.data.tops[0]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[0]+".png"},null,10,kY)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.data.bottoms[0]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[0]+".png"},null,10,SY)):t.createCommentVNode("",!0)],64)),o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[o.data.tops[1]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon1),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[1]+".png"},null,10,EY)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[o.data.bottoms[1]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon1),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[1]+".png"},null,10,NY)):t.createCommentVNode("",!0)],64))],6)],2)],6)}const BY={$style:hY},xY=J_(yY,[["render",$Y],["__cssModules",BY],["__scopeId","data-v-cdf85d11"]]);function X_(e,a){return function(){return e.apply(a,arguments)}}const{toString:VY}=Object.prototype,{getPrototypeOf:Qm}=Object,Br=(e=>a=>{const o=VY.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ia=e=>(e=e.toLowerCase(),a=>Br(a)===e),xr=e=>a=>typeof a===e,{isArray:Mo}=Array,ns=xr("undefined");function IY(e){return e!==null&&!ns(e)&&e.constructor!==null&&!ns(e.constructor)&&It(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Z_=ia("ArrayBuffer");function AY(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Z_(e.buffer),a}const OY=xr("string"),It=xr("function"),Y_=xr("number"),Vr=e=>e!==null&&typeof e=="object",TY=e=>e===!0||e===!1,Ir=e=>{if(Br(e)!=="object")return!1;const a=Qm(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zY=ia("Date"),FY=ia("File"),RY=ia("Blob"),PY=ia("FileList"),DY=e=>Vr(e)&&It(e.pipe),jY=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||It(e.append)&&((a=Br(e))==="formdata"||a==="object"&&It(e.toString)&&e.toString()==="[object FormData]"))},LY=ia("URLSearchParams"),vY=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ss(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Mo(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function K_(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const Q_=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),e2=e=>!ns(e)&&e!==Q_;function ep(){const{caseless:e}=e2(this)&&this||{},a={},o=(n,s)=>{const i=e&&K_(a,s)||s;Ir(a[i])&&Ir(n)?a[i]=ep(a[i],n):Ir(n)?a[i]=ep({},n):Mo(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&ss(arguments[n],o);return a}const MY=(e,a,o,{allOwnKeys:n}={})=>(ss(a,(s,i)=>{o&&It(s)?e[i]=X_(s,o):e[i]=s},{allOwnKeys:n}),e),HY=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),UY=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},GY=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Qm(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},WY=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},qY=e=>{if(!e)return null;if(Mo(e))return e;let a=e.length;if(!Y_(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},JY=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Qm(Uint8Array)),XY=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},ZY=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},YY=ia("HTMLFormElement"),KY=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),t2=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),QY=ia("RegExp"),a2=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};ss(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},eK=e=>{a2(e,(a,o)=>{if(It(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(It(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},tK=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Mo(e)?n(e):n(String(e).split(a)),o},aK=()=>{},oK=(e,a)=>(e=+e,Number.isFinite(e)?e:a),tp="abcdefghijklmnopqrstuvwxyz",o2="0123456789",n2={DIGIT:o2,ALPHA:tp,ALPHA_DIGIT:tp+tp.toUpperCase()+o2},nK=(e=16,a=n2.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function sK(e){return!!(e&&It(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const iK=e=>{const a=new Array(10),o=(n,s)=>{if(Vr(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Mo(n)?[]:{};return ss(n,(r,c)=>{const h=o(r,s+1);!ns(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},rK=ia("AsyncFunction"),lK=e=>e&&(Vr(e)||It(e))&&It(e.then)&&It(e.catch),M={isArray:Mo,isArrayBuffer:Z_,isBuffer:IY,isFormData:jY,isArrayBufferView:AY,isString:OY,isNumber:Y_,isBoolean:TY,isObject:Vr,isPlainObject:Ir,isUndefined:ns,isDate:zY,isFile:FY,isBlob:RY,isRegExp:QY,isFunction:It,isStream:DY,isURLSearchParams:LY,isTypedArray:JY,isFileList:PY,forEach:ss,merge:ep,extend:MY,trim:vY,stripBOM:HY,inherits:UY,toFlatObject:GY,kindOf:Br,kindOfTest:ia,endsWith:WY,toArray:qY,forEachEntry:XY,matchAll:ZY,isHTMLForm:YY,hasOwnProperty:t2,hasOwnProp:t2,reduceDescriptors:a2,freezeMethods:eK,toObjectSet:tK,toCamelCase:KY,noop:aK,toFiniteNumber:oK,findKey:K_,global:Q_,isContextDefined:e2,ALPHABET:n2,generateString:nK,isSpecCompliantForm:sK,toJSONObject:iK,isAsyncFn:rK,isThenable:lK};function ye(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}M.inherits(ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const s2=ye.prototype,i2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{i2[e]={value:e}}),Object.defineProperties(ye,i2),Object.defineProperty(s2,"isAxiosError",{value:!0}),ye.from=(e,a,o,n,s,i)=>{const r=Object.create(s2);return M.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),ye.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const cK=null;function ap(e){return M.isPlainObject(e)||M.isArray(e)}function r2(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function l2(e,a,o){return e?e.concat(a).map(function(n,s){return n=r2(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function dK(e){return M.isArray(e)&&!e.some(ap)}const mK=M.toFlatObject(M,{},null,function(e){return/^is[A-Z]/.test(e)});function Ar(e,a,o){if(!M.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=M.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!M.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(a);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(M.isDate(g))return g.toISOString();if(!c&&M.isBlob(g))throw new ye("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(g)||M.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(M.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(M.isArray(g)&&dK(g)||(M.isFileList(g)||M.endsWith(y,"[]"))&&(f=M.toArray(g)))return y=r2(y),f.forEach(function(b,k){!(M.isUndefined(b)||b===null)&&a.append(r===!0?l2([y],k,i):r===null?y:y+"[]",h(b))}),!1}return ap(g)?!0:(a.append(l2(u,y,i),h(g)),!1)}const l=[],m=Object.assign(mK,{defaultVisitor:d,convertValue:h,isVisitable:ap});function p(g,y){if(!M.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),M.forEach(g,function(u,f){(!(M.isUndefined(u)||u===null)&&s.call(a,u,M.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return p(e),a}function c2(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function op(e,a){this._pairs=[],e&&Ar(e,this,a)}const d2=op.prototype;d2.append=function(e,a){this._pairs.push([e,a])},d2.toString=function(e){const a=e?function(o){return e.call(this,o,c2)}:c2;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function pK(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function m2(e,a,o){if(!a)return e;const n=o&&o.encode||pK,s=o&&o.serialize;let i;if(s?i=s(a,o):i=M.isURLSearchParams(a)?a.toString():new op(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const p2=class{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){M.forEach(this.handlers,function(o){o!==null&&a(o)})}},h2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hK=typeof URLSearchParams<"u"?URLSearchParams:op,yK=typeof FormData<"u"?FormData:null,gK=typeof Blob<"u"?Blob:null,uK={isBrowser:!0,classes:{URLSearchParams:hK,FormData:yK,Blob:gK},protocols:["http","https","file","blob","url","data"]},y2=typeof window<"u"&&typeof document<"u",fK=(e=>y2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),_K=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bK=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:y2,hasStandardBrowserEnv:fK,hasStandardBrowserWebWorkerEnv:_K},Symbol.toStringTag,{value:"Module"})),ra={...bK,...uK};function wK(e,a){return Ar(e,new ra.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ra.isNode&&M.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function CK(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function kK(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function g2(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&M.isArray(s)?s.length:r,h?(M.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!M.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&M.isArray(s[r])&&(s[r]=kK(s[r])),!c)}if(M.isFormData(e)&&M.isFunction(e.entries)){const o={};return M.forEachEntry(e,(n,s)=>{a(CK(n),s,o,0)}),o}return null}function SK(e,a,o){if(M.isString(e))try{return(a||JSON.parse)(e),M.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const np={transitional:h2,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=M.isObject(e);if(s&&M.isHTMLForm(e)&&(e=new FormData(e)),M.isFormData(e))return n&&n?JSON.stringify(g2(e)):e;if(M.isArrayBuffer(e)||M.isBuffer(e)||M.isStream(e)||M.isFile(e)||M.isBlob(e))return e;if(M.isArrayBufferView(e))return e.buffer;if(M.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return wK(e,this.formSerializer).toString();if((i=M.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Ar(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),SK(e)):e}],transformResponse:[function(e){const a=this.transitional||np.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&M.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?ye.from(i,ye.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ra.classes.FormData,Blob:ra.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{np.headers[e]={}});const sp=np,EK=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),NK=e=>{const a={};let o,n,s;return e&&e.split(`
35
+ `):" "+v_(i[0]):"as no adapter specified";throw new he("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n},adapters:Jm};function Xm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new os(null,e)}function H_(e){return Xm(e),e.headers=Oa.from(e.headers),e.data=qm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),M_.getAdapter(e.adapter||Gm.adapter)(e).then(function(a){return Xm(e),a.data=qm.call(e,e.transformResponse,a),a.headers=Oa.from(a.headers),a},function(a){return D_(a)||(Xm(e),a&&a.response&&(a.response.data=qm.call(e,e.transformResponse,a.response),a.response.headers=Oa.from(a.response.headers))),Promise.reject(a)})}const U_=e=>e instanceof Oa?e.toJSON():e;function vo(e,a){a=a||{};const o={};function n(d,l,m){return v.isPlainObject(d)&&v.isPlainObject(l)?v.merge.call({caseless:m},d,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}function s(d,l,m){if(v.isUndefined(l)){if(!v.isUndefined(d))return n(void 0,d,m)}else return n(d,l,m)}function i(d,l){if(!v.isUndefined(l))return n(void 0,l)}function r(d,l){if(v.isUndefined(l)){if(!v.isUndefined(d))return n(void 0,d)}else return n(void 0,l)}function c(d,l,m){if(m in a)return n(d,l);if(m in e)return n(void 0,d)}const h={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l)=>s(U_(d),U_(l),!0)};return v.forEach(Object.keys(Object.assign({},e,a)),function(d){const l=h[d]||s,m=l(e[d],a[d],d);v.isUndefined(m)&&l!==c||(o[d]=m)}),o}const G_="1.6.5",Zm={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Zm[e]=function(o){return typeof o===e||"a"+(a<1?"n ":" ")+e}});const W_={};Zm.transitional=function(e,a,o){function n(s,i){return"[Axios v"+G_+"] Transitional option '"+s+"'"+i+(o?". "+o:"")}return(s,i,r)=>{if(e===!1)throw new he(n(i," has been removed"+(a?" in "+a:"")),he.ERR_DEPRECATED);return a&&!W_[i]&&(W_[i]=!0,console.warn(n(i," has been deprecated since v"+a+" and will be removed in the near future"))),e?e(s,i,r):!0}};function qZ(e,a,o){if(typeof e!="object")throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const i=n[s],r=a[i];if(r){const c=e[i],h=c===void 0||r(c,i,e);if(h!==!0)throw new he("option "+i+" must be "+h,he.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}const Ym={assertOptions:qZ,validators:Zm},Ya=Ym.validators;let Er=class{constructor(a){this.defaults=a,this.interceptors={request:new T_,response:new T_}}request(a,o){typeof a=="string"?(o=o||{},o.url=a):o=a||{},o=vo(this.defaults,o);const{transitional:n,paramsSerializer:s,headers:i}=o;n!==void 0&&Ym.assertOptions(n,{silentJSONParsing:Ya.transitional(Ya.boolean),forcedJSONParsing:Ya.transitional(Ya.boolean),clarifyTimeoutError:Ya.transitional(Ya.boolean)},!1),s!=null&&(v.isFunction(s)?o.paramsSerializer={serialize:s}:Ym.assertOptions(s,{encode:Ya.function,serialize:Ya.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let r=i&&v.merge(i.common,i[o.method]);i&&v.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),o.headers=Oa.concat(r,i);const c=[];let h=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(o)===!1||(h=h&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const d=[];this.interceptors.response.forEach(function(y){d.push(y.fulfilled,y.rejected)});let l,m=0,p;if(!h){const y=[H_.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),p=y.length,l=Promise.resolve(o);m<p;)l=l.then(y[m++],y[m++]);return l}p=c.length;let g=o;for(m=0;m<p;){const y=c[m++],u=c[m++];try{g=y(g)}catch(f){u.call(this,f);break}}try{l=H_.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,p=d.length;m<p;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=vo(this.defaults,a);const o=j_(a.baseURL,a.url);return O_(o,a.params,a.paramsSerializer)}};v.forEach(["delete","get","head","options"],function(e){Er.prototype[e]=function(a,o){return this.request(vo(o||{},{method:e,url:a,data:(o||{}).data}))}}),v.forEach(["post","put","patch"],function(e){function a(o){return function(n,s,i){return this.request(vo(i||{},{method:e,headers:o?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))}}Er.prototype[e]=a(),Er.prototype[e+"Form"]=a(!0)});const Nr=Er,JZ=class Vk{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(s){o=s});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const r=new Promise(c=>{n.subscribe(c),i=c}).then(s);return r.cancel=function(){n.unsubscribe(i)},r},a(function(s,i,r){n.reason||(n.reason=new os(s,i,r),o(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const o=this._listeners.indexOf(a);o!==-1&&this._listeners.splice(o,1)}static source(){let a;return{token:new Vk(function(o){a=o}),cancel:a}}};function XZ(e){return function(a){return e.apply(null,a)}}function ZZ(e){return v.isObject(e)&&e.isAxiosError===!0}const Km={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Km).forEach(([e,a])=>{Km[a]=e});const YZ=Km;function q_(e){const a=new Nr(e),o=u_(Nr.prototype.request,a);return v.extend(o,Nr.prototype,a,{allOwnKeys:!0}),v.extend(o,a,null,{allOwnKeys:!0}),o.create=function(n){return q_(vo(e,n))},o}const Ge=q_(Gm);Ge.Axios=Nr,Ge.CanceledError=os,Ge.CancelToken=JZ,Ge.isCancel=D_,Ge.VERSION=G_,Ge.toFormData=Cr,Ge.AxiosError=he,Ge.Cancel=Ge.CanceledError,Ge.all=function(e){return Promise.all(e)},Ge.spread=XZ,Ge.isAxiosError=ZZ,Ge.mergeConfig=vo,Ge.AxiosHeaders=Oa,Ge.formToJSON=e=>R_(v.isHTMLForm(e)?new FormData(e):e),Ge.getAdapter=M_.getAdapter,Ge.HttpStatusCode=YZ,Ge.default=Ge;const KZ=Ge;function QZ(e){const a=t.ref({width:0,height:0});function o(){const n=e.value.getBoundingClientRect();a.value.width=n.width,a.value.height=n.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const $r="/contorno-escudo.svg",eY="_item_1sf6y_4",tY="_cardDgs_1sf6y_15",aY="_teams_1sf6y_33",oY="_homeTeam_1sf6y_42",nY="_vectorStrokeIcon_1sf6y_51",sY="_homeTeamChild_1sf6y_58",iY="_centrosParent_1sf6y_69",rY="_centros_1sf6y_69",lY="_chivasYAtlas_1sf6y_87",cY="_btnPlay_1sf6y_103",dY="_icnPlayIcon_1sf6y_128",mY="_logoHomeTeamIcon_1sf6y_134",pY="_logoHomeTeamIcon1_1sf6y_148",hY={item:eY,"item-game":"_item-game_1sf6y_10",cardDgs:tY,teams:aY,homeTeam:oY,vectorStrokeIcon:nY,homeTeamChild:sY,centrosParent:iY,centros:rY,chivasYAtlas:lY,btnPlay:cY,icnPlayIcon:dY,logoHomeTeamIcon:mY,logoHomeTeamIcon1:pY},J_=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},yY={components:{},props:{data:{type:Object,default:()=>{}},isSlider:{type:Boolean,default:!1}},data(){return{}},computed:{},methods:{},mounted(){}},gY=e=>(t.pushScopeId("data-v-bfce3c20"),e=e(),t.popScopeId(),e),uY=["src"],fY=["src"],_Y=["src"],bY=["src"],wY=gY(()=>t.createElementVNode("path",{d:"M0.53523 17.021C0.399977 16.944 0.286929 16.8291 0.208272 16.6885C0.129614 16.5479 0.0883312 16.387 0.0888724 16.2231V1.77477C0.0890584 1.61149 0.130612 1.45132 0.209115 1.31128C0.287618 1.17124 0.400138 1.05657 0.534712 0.979447C0.669286 0.902329 0.820885 0.86565 0.973393 0.873309C1.1259 0.880968 1.27362 0.932678 1.40084 1.02294L11.5348 8.24798C11.6505 8.33029 11.7454 8.44192 11.8111 8.57294C11.8767 8.70396 11.9111 8.85031 11.9111 8.99896C11.9111 9.14761 11.8767 9.29395 11.8111 9.42497C11.7454 9.55599 11.6505 9.66762 11.5348 9.74993L1.40084 16.9767C1.27381 17.0671 1.12621 17.119 0.973768 17.1268C0.821326 17.1347 0.66976 17.0981 0.53523 17.021Z",fill:"#CBEE6B"},null,-1)),CY=[wY],kY=["src"],SY=["src"],EY=["src"],NY=["src"];function $Y(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.item),style:t.normalizeStyle(o.isSlider?"margin: 0 25px 0 0":"")},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.item-e.game)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardDgs),style:t.normalizeStyle(e.index%2==0?"background: #193346;":"background: #122736;")},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teams),id:"container-teams"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.data.tops[0]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[0]+".png"},null,10,uY)],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.data.bottoms[0]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[0]+".png"},null,10,fY)],64)):t.createCommentVNode("",!0)],64))],2),o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.data.tops[1]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[1]+".png"},null,10,_Y)],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.data.bottoms[1]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{style:t.normalizeStyle(o.data.mention_type==1?"visibility: hidden;":""),class:t.normalizeClass(e.$style.vectorStrokeIcon),alt:"",src:$r},null,6),t.createElementVNode("img",{class:t.normalizeClass(e.$style.homeTeamChild),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[1]+".png"},null,10,bY)],2)):t.createCommentVNode("",!0)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.centrosParent),id:"container-info"},[t.createElementVNode("h3",{class:t.normalizeClass(e.$style.centros),id:"title-card"},t.toDisplayString(o.data.title),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.chivasYAtlas),style:t.normalizeStyle(o.isSlider?"width: 280px; padding: 0 10px;":"")},t.toDisplayString(o.data.mention),7)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnPlay)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.icnPlayIcon),width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},CY,2))],2),o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.data.tops[0]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[0]+".png"},null,10,kY)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.data.bottoms[0]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[0]+".png"},null,10,SY)):t.createCommentVNode("",!0)],64)),o.data.mention_type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[o.data.tops[1]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon1),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.tops[1]+".png"},null,10,EY)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[o.data.bottoms[1]?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.logoHomeTeamIcon1),alt:"",src:"https://az755631.vo.msecnd.net/teams-150/"+o.data.bottoms[1]+".png"},null,10,NY)):t.createCommentVNode("",!0)],64))],6)],2)],6)}const BY={$style:hY},xY=J_(yY,[["render",$Y],["__cssModules",BY],["__scopeId","data-v-bfce3c20"]]);function X_(e,a){return function(){return e.apply(a,arguments)}}const{toString:VY}=Object.prototype,{getPrototypeOf:Qm}=Object,Br=(e=>a=>{const o=VY.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ia=e=>(e=e.toLowerCase(),a=>Br(a)===e),xr=e=>a=>typeof a===e,{isArray:Mo}=Array,ns=xr("undefined");function IY(e){return e!==null&&!ns(e)&&e.constructor!==null&&!ns(e.constructor)&&It(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Z_=ia("ArrayBuffer");function AY(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Z_(e.buffer),a}const OY=xr("string"),It=xr("function"),Y_=xr("number"),Vr=e=>e!==null&&typeof e=="object",TY=e=>e===!0||e===!1,Ir=e=>{if(Br(e)!=="object")return!1;const a=Qm(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zY=ia("Date"),FY=ia("File"),RY=ia("Blob"),PY=ia("FileList"),DY=e=>Vr(e)&&It(e.pipe),jY=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||It(e.append)&&((a=Br(e))==="formdata"||a==="object"&&It(e.toString)&&e.toString()==="[object FormData]"))},LY=ia("URLSearchParams"),vY=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ss(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Mo(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function K_(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const Q_=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),e2=e=>!ns(e)&&e!==Q_;function ep(){const{caseless:e}=e2(this)&&this||{},a={},o=(n,s)=>{const i=e&&K_(a,s)||s;Ir(a[i])&&Ir(n)?a[i]=ep(a[i],n):Ir(n)?a[i]=ep({},n):Mo(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&ss(arguments[n],o);return a}const MY=(e,a,o,{allOwnKeys:n}={})=>(ss(a,(s,i)=>{o&&It(s)?e[i]=X_(s,o):e[i]=s},{allOwnKeys:n}),e),HY=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),UY=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},GY=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Qm(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},WY=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},qY=e=>{if(!e)return null;if(Mo(e))return e;let a=e.length;if(!Y_(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},JY=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Qm(Uint8Array)),XY=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},ZY=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},YY=ia("HTMLFormElement"),KY=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),t2=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),QY=ia("RegExp"),a2=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};ss(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},eK=e=>{a2(e,(a,o)=>{if(It(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(It(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},tK=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Mo(e)?n(e):n(String(e).split(a)),o},aK=()=>{},oK=(e,a)=>(e=+e,Number.isFinite(e)?e:a),tp="abcdefghijklmnopqrstuvwxyz",o2="0123456789",n2={DIGIT:o2,ALPHA:tp,ALPHA_DIGIT:tp+tp.toUpperCase()+o2},nK=(e=16,a=n2.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function sK(e){return!!(e&&It(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const iK=e=>{const a=new Array(10),o=(n,s)=>{if(Vr(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Mo(n)?[]:{};return ss(n,(r,c)=>{const h=o(r,s+1);!ns(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},rK=ia("AsyncFunction"),lK=e=>e&&(Vr(e)||It(e))&&It(e.then)&&It(e.catch),M={isArray:Mo,isArrayBuffer:Z_,isBuffer:IY,isFormData:jY,isArrayBufferView:AY,isString:OY,isNumber:Y_,isBoolean:TY,isObject:Vr,isPlainObject:Ir,isUndefined:ns,isDate:zY,isFile:FY,isBlob:RY,isRegExp:QY,isFunction:It,isStream:DY,isURLSearchParams:LY,isTypedArray:JY,isFileList:PY,forEach:ss,merge:ep,extend:MY,trim:vY,stripBOM:HY,inherits:UY,toFlatObject:GY,kindOf:Br,kindOfTest:ia,endsWith:WY,toArray:qY,forEachEntry:XY,matchAll:ZY,isHTMLForm:YY,hasOwnProperty:t2,hasOwnProp:t2,reduceDescriptors:a2,freezeMethods:eK,toObjectSet:tK,toCamelCase:KY,noop:aK,toFiniteNumber:oK,findKey:K_,global:Q_,isContextDefined:e2,ALPHABET:n2,generateString:nK,isSpecCompliantForm:sK,toJSONObject:iK,isAsyncFn:rK,isThenable:lK};function ye(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}M.inherits(ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const s2=ye.prototype,i2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{i2[e]={value:e}}),Object.defineProperties(ye,i2),Object.defineProperty(s2,"isAxiosError",{value:!0}),ye.from=(e,a,o,n,s,i)=>{const r=Object.create(s2);return M.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),ye.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const cK=null;function ap(e){return M.isPlainObject(e)||M.isArray(e)}function r2(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function l2(e,a,o){return e?e.concat(a).map(function(n,s){return n=r2(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function dK(e){return M.isArray(e)&&!e.some(ap)}const mK=M.toFlatObject(M,{},null,function(e){return/^is[A-Z]/.test(e)});function Ar(e,a,o){if(!M.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=M.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!M.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(a);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(M.isDate(g))return g.toISOString();if(!c&&M.isBlob(g))throw new ye("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(g)||M.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(M.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(M.isArray(g)&&dK(g)||(M.isFileList(g)||M.endsWith(y,"[]"))&&(f=M.toArray(g)))return y=r2(y),f.forEach(function(b,k){!(M.isUndefined(b)||b===null)&&a.append(r===!0?l2([y],k,i):r===null?y:y+"[]",h(b))}),!1}return ap(g)?!0:(a.append(l2(u,y,i),h(g)),!1)}const l=[],m=Object.assign(mK,{defaultVisitor:d,convertValue:h,isVisitable:ap});function p(g,y){if(!M.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),M.forEach(g,function(u,f){(!(M.isUndefined(u)||u===null)&&s.call(a,u,M.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return p(e),a}function c2(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function op(e,a){this._pairs=[],e&&Ar(e,this,a)}const d2=op.prototype;d2.append=function(e,a){this._pairs.push([e,a])},d2.toString=function(e){const a=e?function(o){return e.call(this,o,c2)}:c2;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function pK(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function m2(e,a,o){if(!a)return e;const n=o&&o.encode||pK,s=o&&o.serialize;let i;if(s?i=s(a,o):i=M.isURLSearchParams(a)?a.toString():new op(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const p2=class{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){M.forEach(this.handlers,function(o){o!==null&&a(o)})}},h2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hK=typeof URLSearchParams<"u"?URLSearchParams:op,yK=typeof FormData<"u"?FormData:null,gK=typeof Blob<"u"?Blob:null,uK={isBrowser:!0,classes:{URLSearchParams:hK,FormData:yK,Blob:gK},protocols:["http","https","file","blob","url","data"]},y2=typeof window<"u"&&typeof document<"u",fK=(e=>y2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),_K=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bK=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:y2,hasStandardBrowserEnv:fK,hasStandardBrowserWebWorkerEnv:_K},Symbol.toStringTag,{value:"Module"})),ra={...bK,...uK};function wK(e,a){return Ar(e,new ra.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ra.isNode&&M.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function CK(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function kK(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function g2(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&M.isArray(s)?s.length:r,h?(M.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!M.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&M.isArray(s[r])&&(s[r]=kK(s[r])),!c)}if(M.isFormData(e)&&M.isFunction(e.entries)){const o={};return M.forEachEntry(e,(n,s)=>{a(CK(n),s,o,0)}),o}return null}function SK(e,a,o){if(M.isString(e))try{return(a||JSON.parse)(e),M.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const np={transitional:h2,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=M.isObject(e);if(s&&M.isHTMLForm(e)&&(e=new FormData(e)),M.isFormData(e))return n&&n?JSON.stringify(g2(e)):e;if(M.isArrayBuffer(e)||M.isBuffer(e)||M.isStream(e)||M.isFile(e)||M.isBlob(e))return e;if(M.isArrayBufferView(e))return e.buffer;if(M.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return wK(e,this.formSerializer).toString();if((i=M.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Ar(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),SK(e)):e}],transformResponse:[function(e){const a=this.transitional||np.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&M.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?ye.from(i,ye.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ra.classes.FormData,Blob:ra.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{np.headers[e]={}});const sp=np,EK=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),NK=e=>{const a={};let o,n,s;return e&&e.split(`
36
36
  `).forEach(function(i){s=i.indexOf(":"),o=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!o||a[o]&&EK[o])&&(o==="set-cookie"?a[o]?a[o].push(n):a[o]=[n]:a[o]=a[o]?a[o]+", "+n:n)}),a},u2=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function Or(e){return e===!1||e==null?e:M.isArray(e)?e.map(Or):String(e)}function $K(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=o.exec(e);)a[n[1]]=n[2];return a}const BK=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ip(e,a,o,n,s){if(M.isFunction(n))return n.call(this,a,o);if(s&&(a=o),!!M.isString(a)){if(M.isString(n))return a.indexOf(n)!==-1;if(M.isRegExp(n))return n.test(a)}}function xK(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,n)=>o.toUpperCase()+n)}function VK(e,a){const o=M.toCamelCase(" "+a);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+o,{value:function(s,i,r){return this[n].call(this,a,s,i,r)},configurable:!0})})}let Tr=class{constructor(a){a&&this.set(a)}set(a,o,n){const s=this;function i(c,h,d){const l=is(h);if(!l)throw new Error("header name must be a non-empty string");const m=M.findKey(s,l);(!m||s[m]===void 0||d===!0||d===void 0&&s[m]!==!1)&&(s[m||h]=Or(c))}const r=(c,h)=>M.forEach(c,(d,l)=>i(d,l,h));return M.isPlainObject(a)||a instanceof this.constructor?r(a,o):M.isString(a)&&(a=a.trim())&&!BK(a)?r(NK(a),o):a!=null&&i(o,a,n),this}get(a,o){if(a=is(a),a){const n=M.findKey(this,a);if(n){const s=this[n];if(!o)return s;if(o===!0)return $K(s);if(M.isFunction(o))return o.call(this,s,n);if(M.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=is(a),a){const n=M.findKey(this,a);return!!(n&&this[n]!==void 0&&(!o||ip(this,this[n],n,o)))}return!1}delete(a,o){const n=this;let s=!1;function i(r){if(r=is(r),r){const c=M.findKey(n,r);c&&(!o||ip(n,n[c],c,o))&&(delete n[c],s=!0)}}return M.isArray(a)?a.forEach(i):i(a),s}clear(a){const o=Object.keys(this);let n=o.length,s=!1;for(;n--;){const i=o[n];(!a||ip(this,this[i],i,a,!0))&&(delete this[i],s=!0)}return s}normalize(a){const o=this,n={};return M.forEach(this,(s,i)=>{const r=M.findKey(n,i);if(r){o[r]=Or(s),delete o[i];return}const c=a?xK(i):String(i).trim();c!==i&&delete o[i],o[c]=Or(s),n[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return M.forEach(this,(n,s)=>{n!=null&&n!==!1&&(o[s]=a&&M.isArray(n)?n.join(", "):n)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
37
37
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const n=new this(a);return o.forEach(s=>n.set(s)),n}static accessor(a){const o=(this[u2]=this[u2]={accessors:{}}).accessors,n=this.prototype;function s(i){const r=is(i);o[r]||(VK(n,i),o[r]=!0)}return M.isArray(a)?a.forEach(s):s(a),this}};Tr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),M.reduceDescriptors(Tr.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),M.freezeMethods(Tr);const Ta=Tr;function rp(e,a){const o=this||sp,n=a||o,s=Ta.from(n.headers);let i=n.data;return M.forEach(e,function(r){i=r.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function f2(e){return!!(e&&e.__CANCEL__)}function rs(e,a,o){ye.call(this,e??"canceled",ye.ERR_CANCELED,a,o),this.name="CanceledError"}M.inherits(rs,ye,{__CANCEL__:!0});function IK(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new ye("Request failed with status code "+o.status,[ye.ERR_BAD_REQUEST,ye.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const AK=ra.hasStandardBrowserEnv?{write(e,a,o,n,s,i){const r=[e+"="+encodeURIComponent(a)];M.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),M.isString(n)&&r.push("path="+n),M.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function OK(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function TK(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function _2(e,a){return e&&!OK(a)?TK(e,a):a}const zK=ra.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function n(s){let i=s;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=n(window.location.href),function(s){const i=M.isString(s)?n(s):s;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function FK(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function RK(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=n[i];r||(r=h),o[s]=c,n[s]=h;let l=i,m=0;for(;l!==s;)m+=o[l++],l=l%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function b2(e,a){let o=0;const n=RK(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const PK=typeof XMLHttpRequest<"u",DK=PK&&function(e){return new Promise(function(a,o){let n=e.data;const s=Ta.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(M.isFormData(n)){if(ra.hasStandardBrowserEnv||ra.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[y,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([y||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+u))}const m=_2(e.baseURL,e.url);l.open(e.method.toUpperCase(),m2(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const y=Ta.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:e,request:l};IK(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new ye("Request aborted",ye.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new ye("Network Error",ye.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||h2;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),o(new ye(y,u.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,l)),l=null},ra.hasStandardBrowserEnv&&(r&&M.isFunction(r)&&(r=r(e)),r||r!==!1&&zK(m))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&AK.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}n===void 0&&s.setContentType(null),"setRequestHeader"in l&&M.forEach(s.toJSON(),function(y,u){l.setRequestHeader(u,y)}),M.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",b2(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",b2(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=y=>{l&&(o(!y||y.type?new rs(null,e,l):y),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const g=FK(m);if(g&&ra.protocols.indexOf(g)===-1){o(new ye("Unsupported protocol "+g+":",ye.ERR_BAD_REQUEST,e));return}l.send(n||null)})},lp={http:cK,xhr:DK};M.forEach(lp,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const w2=e=>`- ${e}`,jK=e=>M.isFunction(e)||e===null||e===!1,C2={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!jK(o)&&(n=lp[(r=String(o)).toLowerCase()],n===void 0))throw new ye(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
38
38
  `+i.map(w2).join(`
@@ -40,7 +40,7 @@
40
40
  * Vue 3 Carousel 0.3.1
41
41
  * (c) 2023
42
42
  * @license MIT
43
- */const ct={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},B2={itemsToShow:{default:ct.itemsToShow,type:Number},itemsToScroll:{default:ct.itemsToScroll,type:Number},wrapAround:{default:ct.wrapAround,type:Boolean},throttle:{default:ct.throttle,type:Number},snapAlign:{default:ct.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ct.transition,type:Number},breakpoints:{default:ct.breakpoints,type:Object},autoplay:{default:ct.autoplay,type:Number},pauseAutoplayOnHover:{default:ct.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ct.mouseDrag,type:Boolean},touchDrag:{default:ct.touchDrag,type:Boolean},dir:{default:ct.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ct.i18n,type:Object},settings:{default(){return{}},type:Object}};function WK({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function qK({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function hp({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function JK({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:hp({val:r,max:o-i,min:0})}function x2(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...x2(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function yp({val:e,max:a,min:o=0}){return e>a?yp({val:e-(a+1),max:a,min:o}):e<o?yp({val:e+(a+1),max:a,min:o}):e}function XK(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function ZK(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function YK(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var KK=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},ct))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},YK(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),QK=t.defineComponent({name:"Carousel",props:B2,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},ct));let l=Object.assign({},ct),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=ZK(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=WK({config:d,slidesCount:h.value}),f.value=qK({config:d,slidesCount:h.value}),d.wrapAround||(p.value=hp({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=XK(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:hp({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=yp({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>JK({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(B2).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=x2(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(KK)])}}}),V2;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(V2||(V2={}));var eQ=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},ct))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const tQ=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},aQ=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),oQ={class:"gsc-carousel"},nQ={key:0},sQ=aQ(()=>t.createElementVNode("div",null,"no hay",-1)),iQ=[sQ],rQ={class:"gsc-carousel__2d__slides"},lQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cQ=["fill"],dQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mQ=["fill"],pQ={class:"gsc-carousel__2d__navigation"},hQ={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yQ=["stroke"],gQ={key:1,class:"gsc-carousel__2d__navigation__pagination"},uQ=["onClick"],fQ={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_Q=["stroke"],bQ={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(s,u=>{u&&c.value?(c.value=!1,h(n.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>n.items,u=>{s.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&s.value){if(n.defaultItemByProp){const f=n.items.findIndex(b=>b[n.defaultItemByProp.propName]===n.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=n.defaultItemByIndex,i.value=u[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){s.value&&s.value.next()}function l(){s.value&&s.value.prev()}function m(){s.value&&s.value.updateSlideWidth()}function p(u){s.value&&s.value.slideTo(u)}function g(u){s.value.slideTo(u)}function y(u){const f=u.slidingToIndex<0?n.items.length-1:u.slidingToIndex===n.items.length?0:u.slidingToIndex;r.value=f,i.value=n.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",oQ,[n.is3d?(t.openBlock(),t.createElementBlock("div",nQ,iQ)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",rQ,[t.createVNode(t.unref(QK),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createBlock(t.unref(eQ),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:b},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=b=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",lQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,cQ)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=b=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",dQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,mQ)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",pQ,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=b=>l())},[(t.openBlock(),t.createElementBlock("svg",hQ,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,yQ)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",gQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===k?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===k?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:B=>g(k)},null,12,uQ))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=b=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",fQ,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,_Q)]))])):t.createCommentVNode("",!0)])],2))]))}},wQ=tQ(bQ,[["__scopeId","data-v-dd3cbf69"]]);function CQ(e){const a=t.ref({width:0,height:0});function o(){const n=e.value.getBoundingClientRect();a.value.width=n.width,a.value.height=n.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const kQ="_tarjetaDatosGsDesktoptype4_1jj6f_107",SQ="_tarjetaDatosGsDesktop500type4_1jj6f_127",EQ="_tarjetaDatosGs414type4_1jj6f_135",NQ="_tarjetaDatosGs414500type4_1jj6f_159",$Q="_tarjetaDatosGs414380type4_1jj6f_183",BQ="_tarjetaDatosGs320type4_1jj6f_191",xQ="_tarjetaDatosGs320380type4_1jj6f_215",VQ="_dataBox8type4_1jj6f_239",IQ="_dataBox8380type4_1jj6f_275",AQ="_dataBoxtype4_1jj6f_313",OQ="_dataBox520type4_1jj6f_355",TQ="_dataBox480type4_1jj6f_399",zQ="_dataBox3type4_1jj6f_441",FQ="_dataBox3520type4_1jj6f_483",RQ="_dataBox4type4_1jj6f_493",PQ="_dataBox4500type4_1jj6f_537",DQ="_dataBox6type4_1jj6f_585",jQ="_dataBox6500type4_1jj6f_631",LQ="_dataContainertype4_1jj6f_685",vQ="_dataContainer520type4_1jj6f_713",MQ="_dataContainer1type4_1jj6f_745",HQ="_dataContainer1500type4_1jj6f_773",UQ="_dataBox7type4_1jj6f_803",GQ="_dataBox7380type4_1jj6f_839",WQ="_div15type4_1jj6f_881",qQ="_div15380type4_1jj6f_899",JQ="_btnShareIcontype4_1jj6f_917",XQ="_btnSharetype4_1jj6f_929",ZQ="_bakgBaseIcontype4_1jj6f_959",YQ="_roleCharacterIcontype4_1jj6f_983",KQ="_verVideostype4_1jj6f_999",QQ="_btnVideostype4_1jj6f_1013",eee="_playerNametype4_1jj6f_1063",tee="_elJugadortype4_1jj6f_1081",aee="_aSeguirtype4_1jj6f_1089",oee="_elJugadorAContainertype4_1jj6f_1099",nee="_titletype4_1jj6f_1119",see="_baseCardtype4_1jj6f_1147",iee="_imagePlayerIcontype4_1jj6f_1177",ree="_arrowGraphIcontype4_1jj6f_1203",lee="_divtype4_1jj6f_1215",cee="_totaltype4_1jj6f_1229",dee="_div1type4_1jj6f_1245",mee="_btnShareIcon1type4_1jj6f_1267",pee="_btnShare1type4_1jj6f_1279",hee="_bakgBaseIcon1type4_1jj6f_1307",yee="_bakgBaseIcon2type4_1jj6f_1331",gee="_roleCharacterIcon1type4_1jj6f_1355",uee="_btnVideos1type4_1jj6f_1371",fee="_playerName1type4_1jj6f_1413",_ee="_elJugadorAContainer1type4_1jj6f_1423",bee="_title1type4_1jj6f_1443",wee="_baseCard1type4_1jj6f_1469",Cee="_imagePlayerIcon1type4_1jj6f_1497",kee="_total4type4_1jj6f_1519",See="_div9type4_1jj6f_1535",Eee="_roleCharacterIcon2type4_1jj6f_1551",Nee="_btnVideos2type4_1jj6f_1567",$ee="_elJugadorAContainer2type4_1jj6f_1605",Bee="_title2type4_1jj6f_1625",xee="_imagePlayerIcon2type4_1jj6f_1653",Vee="_dataContainer2type4_1jj6f_1675",Iee="_tarjetaDatosGstype4_1jj6f_1705",Aee={tarjetaDatosGsDesktoptype4:kQ,tarjetaDatosGsDesktop500type4:SQ,tarjetaDatosGs414type4:EQ,tarjetaDatosGs414500type4:NQ,tarjetaDatosGs414380type4:$Q,tarjetaDatosGs320type4:BQ,tarjetaDatosGs320380type4:xQ,dataBox8type4:VQ,dataBox8380type4:IQ,dataBoxtype4:AQ,dataBox520type4:OQ,dataBox480type4:TQ,dataBox3type4:zQ,dataBox3520type4:FQ,dataBox4type4:RQ,dataBox4500type4:PQ,dataBox6type4:DQ,dataBox6500type4:jQ,dataContainertype4:LQ,dataContainer520type4:vQ,dataContainer1type4:MQ,dataContainer1500type4:HQ,dataBox7type4:UQ,dataBox7380type4:GQ,div15type4:WQ,div15380type4:qQ,btnShareIcontype4:JQ,btnSharetype4:XQ,bakgBaseIcontype4:ZQ,roleCharacterIcontype4:YQ,verVideostype4:KQ,btnVideostype4:QQ,playerNametype4:eee,elJugadortype4:tee,aSeguirtype4:aee,elJugadorAContainertype4:oee,titletype4:nee,baseCardtype4:see,imagePlayerIcontype4:iee,arrowGraphIcontype4:ree,divtype4:lee,totaltype4:cee,div1type4:dee,btnShareIcon1type4:mee,btnShare1type4:pee,bakgBaseIcon1type4:hee,bakgBaseIcon2type4:yee,roleCharacterIcon1type4:gee,btnVideos1type4:uee,playerName1type4:fee,elJugadorAContainer1type4:_ee,title1type4:bee,baseCard1type4:wee,imagePlayerIcon1type4:Cee,total4type4:kee,div9type4:See,roleCharacterIcon2type4:Eee,btnVideos2type4:Nee,elJugadorAContainer2type4:$ee,title2type4:Bee,imagePlayerIcon2type4:xee,dataContainer2type4:Vee,tarjetaDatosGstype4:Iee},I2=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},gp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=CQ(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},A2=()=>{t.useCssVars(e=>({"5d5814e9":e.data.background_color_cards!=null&&e.customizeColors?e.data.background_color_cards:"#1b3649","297cb29a":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"#293744","087e4d9e":e.customizeColors?"":"#cbee6b","0ea0ed80":e.colorcard,a129c3bc:e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff"}))},O2=gp.setup;gp.setup=O2?(e,a)=>(A2(),O2(e,a)):A2;const Oee=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Tee=[Oee],zee=["src"],Fee={"clip-path":"url(#clip0_59_831)"},Ree=["fill"],Pee=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Dee=["src"],jee=["fill"],Lee=["fill"],vee=["fill"],Mee=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Hee=[Mee],Uee=["src"],Gee=["fill"],Wee=["src"],qee=["fill"],Jee=["fill"],Xee=["fill"],Zee=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Yee=[Zee],Kee=["src"],Qee=["fill"],ete=["src"],tte=["fill"],ate=["fill"],ote=["fill"];function nte(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,zee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",Fee,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Ree)]),Pee],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,Dee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Lee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,vee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,Uee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Gee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,Wee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,qee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Xee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,Kee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Qee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,ete)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,tte)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,ate)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,ote)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2)],2)}const ste={$style:Aee},ite=I2(gp,[["render",nte],["__cssModules",ste]]),rte={components:{GSCCarousel:wQ,GSCCardData:ite},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},prematch:{type:Boolean,default:!1},teamSelected:{type:Number,default:0},colorCardByTeam:{type:Boolean,default:!1},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{}}},computed:{},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.category:e.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.category:e.type==3?e.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.category:e.category!=0?a=e.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);let n={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:"",mainCategoryId:e.category||0}};console.log(n),this.$emit("openmedia",n)},async getStats(){const e=await GK.create({headers:{Authorization:`${this.token}`}}).get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+this.data.season+"/games/"+this.data.game);console.log(e.data.games[0]);for(let a=0;a<e.data.games[0].players.length;a++)this.type==0?this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_default_players[0],player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:"https://az755631.vo.msecnd.net/players-profile/"+e.data.games[0].players[a].player_id+".png",category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[0],main_title:(this.prematch,"Jugador"),second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color}]):this.teamSelected==e.data.games[0].players[a].team_id&&this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"",player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:"",category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[1],main_title:this.prematch?"El jugador":"Jugador",second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color}])},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCard(e){this.$emit("onClickCard",e)},onClickCategory(e){this.$emit("onClickCategory",e)},clickMore(){this.$emit("onViewMore",!0)}}},lte=e=>(t.pushScopeId("data-v-eda22ae1"),e=e(),t.popScopeId(),e),cte={class:"gsdata"},dte={class:"gsc-gsdata-carrousel"},mte={key:0,class:"title-header"},pte=lte(()=>t.createElementVNode("div",{class:"title-header-title"},"Datos GolStats",-1)),hte={class:"row-table-carrousel"};function yte(e,a,o,n,s,i){const r=t.resolveComponent("GSCCardData"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",cte,[t.createElementVNode("div",dte,[o.teamSelected==0?(t.openBlock(),t.createElementBlock("div",mte,[pte,t.createElementVNode("div",{class:"title-header-btn",onClick:a[0]||(a[0]=(...h)=>i.clickMore&&i.clickMore(...h))},"Ver más")])):t.createCommentVNode("",!0),t.createVNode(c,{items:s.pages,wrapAround:!0,itemsToShow:1.1,areSlidesArrowsVisible:!0,areNavigationArrowsVisible:!1,isMainSlidePriority:!0,areSlidesArrowsRounded:!1,isPaginationVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",hte,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h,(d,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:l},[o.colorCardByTeam?(t.openBlock(),t.createBlock(r,{key:1,type:4,colorcard:d.color,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["colorcard","click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"])):(t.openBlock(),t.createBlock(r,{key:0,type:4,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"]))],64))),128))])]),_:1},8,["items"])])])}const gte=I2(rte,[["render",yte],["__scopeId","data-v-eda22ae1"]]),ute=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},up={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},T2=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},z2=up.setup;up.setup=z2?(e,a)=>(T2(),z2(e,a)):T2;const fte=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),_te=["src"],bte={key:1,class:"text"},wte=["src"],Cte={class:"stats"},kte=fte(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),Ste={class:"numstats"},Ete={class:"leyend"};function Nte(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",s.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,s.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,_te)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",bte,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,wte)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",Cte,[kte,t.createElementVNode("div",Ste,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",Ete,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const $te=ute(up,[["render",Nte],["__scopeId","data-v-fb269a1e"]]);function ls(e){const a=t.ref({width:0,height:0});function o(){const n=e.value.getBoundingClientRect();a.value.width=n.width,a.value.height=n.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const Bte="_cardFrecuentConnectionstype0_8eub9_57",xte="_cardFrecuentConnectionsDesktype0_8eub9_85",Vte="_cardFrecuentConnectionsDesk360type0_8eub9_103",Ite="_imgPlayerParenttype0_8eub9_123",Ate="_imgPlayerIcontype0_8eub9_149",Ote="_imgPlayerIcon360type0_8eub9_163",Tte="_playerInfotype0_8eub9_177",zte="_benjaminEvalenttype0_8eub9_195",Fte="_frameParenttype0_8eub9_207",Rte="_union9Wrappertype0_8eub9_223",Pte="_union9Icontype0_8eub9_251",Dte="_benjaminEvalent1type0_8eub9_263",jte="_benjaminEvalent1360type0_8eub9_277",Lte={cardFrecuentConnectionstype0:Bte,cardFrecuentConnectionsDesktype0:xte,cardFrecuentConnectionsDesk360type0:Vte,imgPlayerParenttype0:Ite,imgPlayerIcontype0:Ate,imgPlayerIcon360type0:Ote,playerInfotype0:Tte,benjaminEvalenttype0:zte,frameParenttype0:Fte,union9Wrappertype0:Rte,union9Icontype0:Pte,benjaminEvalent1type0:Dte,benjaminEvalent1360type0:jte},Uo=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},vte={components:{GSCButton:$te},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1}},computed:{cardFrecuentConnectionsDeskClass(){return this.elementSize.width<=360?this.$style.cardFrecuentConnectionsDesk360type0:this.$style.cardFrecuentConnectionsDesktype0},imgPlayerIconClass(){return this.elementSize.width<=360?this.$style.imgPlayerIcon360type0:this.$style.imgPlayerIcontype0},benjaminEvalent1Class(){return this.elementSize.width<=360?this.$style.benjaminEvalent1360type0:this.$style.benjaminEvalent1type0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype0"),{elementSize:a}=ls(e);return{myDivRefCardtype0:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickPlayer",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},Mte={ref:"myDivRefCardtype0"},Hte=["alt","src"];function Ute(e,a,o,n,s,i){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",Mte,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardFrecuentConnectionstype0),onClick:a[1]||(a[1]=c=>i.clickPlayer({player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardFrecuentConnectionsDeskClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgPlayerParenttype0)},[t.createElementVNode("img",{class:t.normalizeClass(i.imgPlayerIconClass),alt:o.data.player_name,src:o.data.player_photo},null,10,Hte),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerInfotype0)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.benjaminEvalenttype0)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParenttype0)},[t.createVNode(r,{icon:"/play-icn.svg","icon-size":"9px","icon-position":"left",width:"18px",height:"18px","border-radius":"18px","border-width":"1","background-color":"transparent","border-color":"#FFFFFF",onClick:a[0]||(a[0]=c=>i.clickVideos({player_id:o.data.player_id}))}),t.createElementVNode("div",{class:t.normalizeClass(i.benjaminEvalent1Class)},t.toDisplayString(o.data.player_stat),3)],2)],2)],2)],2)],2)],512)}const Gte={$style:Lte},Wte=Uo(vte,[["render",Ute],["__cssModules",Gte]]),qte="_cardVideosJugadorestype1_hyx6z_59",Jte="_cardDesktoptype1_hyx6z_87",Xte="_cardDesktop460type1_hyx6z_113",Zte="_backgroundImageParenttype1_hyx6z_137",Yte="_backgroundImageParent460type1_hyx6z_171",Kte="_backgroundImageIcontype1_hyx6z_205",Qte="_loMejorDeContainertype1_hyx6z_225",eae="_loMejorDeContainer460type1_hyx6z_249",tae="_loMejorDeContainer420type1_hyx6z_273",aae="_loMejorDetype1_hyx6z_297",oae="_btnPlaytype1_hyx6z_303",nae="_btnPlay460_hyx6z_357",sae="_btnPlay460type1_hyx6z_363",iae="_roleCharacterIcontype1_hyx6z_409",rae="_reproducirtype1_hyx6z_423",lae="_playerTeamDesktopIcontype1_hyx6z_435",cae="_playerTeamDesktopIcon1200type1_hyx6z_455",dae="_playerTeamDesktopIcon460type1_hyx6z_479",mae={cardVideosJugadorestype1:qte,cardDesktoptype1:Jte,cardDesktop460type1:Xte,backgroundImageParenttype1:Zte,backgroundImageParent460type1:Yte,backgroundImageIcontype1:Kte,loMejorDeContainertype1:Qte,loMejorDeContainer460type1:eae,loMejorDeContainer420type1:tae,loMejorDetype1:aae,btnPlaytype1:oae,btnPlay460:nae,btnPlay460type1:sae,roleCharacterIcontype1:iae,reproducirtype1:rae,playerTeamDesktopIcontype1:lae,playerTeamDesktopIcon1200type1:cae,playerTeamDesktopIcon460type1:dae},fp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#000000"},colorTitle:{type:String,default:"#000000"},borderColor:{type:String,default:"#000000"},backgroundImg:{type:String,default:""},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{cardDesktopClass(){return this.elementSize.width<=460?this.$style.cardDesktop460type1:this.$style.cardDesktoptype1},backgroundImageParentClass(){return this.elementSize.width<=460?this.$style.backgroundImageParent460type1:this.$style.backgroundImageParenttype1},btnPlayClass(){return this.elementSize.width<=460?this.$style.btnPlay460type1:this.$style.btnPlaytype1},loMejorDeContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.loMejorDeContainer420type1:e<=460?this.$style.loMejorDeContainer460type1:this.$style.loMejorDeContainertype1},playerTeamDesktopIconClass(){const e=this.elementSize.width;return e<=460?this.$style.playerTeamDesktopIcon460type1:e<=1200?this.$style.playerTeamDesktopIcon1200type1:this.$style.playerTeamDesktopIcontype1}},setup(){const e=t.ref("myDivRefCardtype1"),{elementSize:a}=ls(e);return{myDivRefCardtype1:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},F2=()=>{t.useCssVars(e=>({"3c445abf":e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff","418009b6":e.backgroundColor,"392b4ed3":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"rgba(255, 255, 255, 0.08)","47279a32":e.borderColor}))},R2=fp.setup;fp.setup=R2?(e,a)=>(F2(),R2(e,a)):F2;const pae={ref:"myDivRefCardtype1"},hae=["src"],yae={"clip-path":"url(#clip0_59_831)"},gae=["fill"],uae=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),fae=["src"];function _ae(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",pae,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardVideosJugadorestype1),onClick:a[1]||(a[1]=r=>i.clickPlayer({player_id:o.data.player_id,team_id:o.data.team_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundImageParentClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backgroundImageIcontype1),src:o.backgroundImg},null,10,hae),t.createElementVNode("h2",{class:t.normalizeClass(i.loMejorDeContainerClass),id:"title-card"},[n.elementSize.width>380?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor de ",2)):t.createCommentVNode("",!0),n.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor",2)):t.createCommentVNode("",!0),n.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.loMejorDetype1)},"de ",2)):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(e.$style.loMejorDetype1)},t.toDisplayString(o.data.team_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.btnPlayClass),onClick:a[0]||(a[0]=r=>i.clickVideos({player_id:o.data.player_id,team_id:o.data.team_id}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",yae,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,gae)]),uae],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.reproducirtype1)},"Reproducir",2)],2)],2),t.createElementVNode("img",{class:t.normalizeClass(i.playerTeamDesktopIconClass),src:o.data.player_photo},null,10,fae)],2)],2)],512)}const bae={$style:mae},wae=Uo(fp,[["render",_ae],["__cssModules",bae]]),Cae="_tarjetaHighlightsPostmatchtype2_2xqhb_7",kae="_tarjetaHighlightsPostmatch780type2_2xqhb_35",Sae="_tarjetaHighlightsPostmatch640type2_2xqhb_65",Eae="_tarjetaHighlightsPostmatch520type2_2xqhb_97",Nae="_tarjetaHighlightsPostmatch350type2_2xqhb_131",$ae="_tarjetaHighlightsPostmatch420type2_2xqhb_161",Bae="_tarjetaHighlightsPostmatch320type2_2xqhb_197",xae="_backgroundtype2_2xqhb_233",Vae="_background640type2_2xqhb_253",Iae="_btnPlaytype2_2xqhb_277",Aae="_btnPlay1_2xqhb_301",Oae="_btnPlay1type2_2xqhb_309",Tae="_icnPlaytype2_2xqhb_351",zae="_union6Icontype2_2xqhb_369",Fae={tarjetaHighlightsPostmatchtype2:Cae,tarjetaHighlightsPostmatch780type2:kae,tarjetaHighlightsPostmatch640type2:Sae,tarjetaHighlightsPostmatch520type2:Eae,tarjetaHighlightsPostmatch350type2:Nae,tarjetaHighlightsPostmatch420type2:$ae,tarjetaHighlightsPostmatch320type2:Bae,backgroundtype2:xae,background640type2:Vae,btnPlaytype2:Iae,btnPlay1:Aae,btnPlay1type2:Oae,icnPlaytype2:Tae,union6Icontype2:zae},Rae={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundImg:{type:String,default:""}},computed:{tarjetaHighlightsPostmatchClass(){const e=this.elementSize.width;return e<=320?this.$style.tarjetaHighlightsPostmatch320type2:e<=350?this.$style.tarjetaHighlightsPostmatch350type2:e<=420?this.$style.tarjetaHighlightsPostmatch420type2:e<=520?this.$style.tarjetaHighlightsPostmatch520type2:e<=640?this.$style.tarjetaHighlightsPostmatch640type2:e<=780?this.$style.tarjetaHighlightsPostmatch780type2:this.$style.tarjetaHighlightsPostmatchtype2},backgroundClass(){return this.elementSize.width<=640?this.$style.background640type2:this.$style.backgroundtype2}},setup(){const e=t.ref("myDivRefCardtype2"),{elementSize:a}=ls(e);return{myDivRefCardtype2:e,elementSize:a}},data(){return{}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},Pae={ref:"myDivRefCardtype2"},Dae=t.createStaticVNode('<svg width="20" height="20" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_59_831)"><path d="M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z" fill="#CBEE6B"></path></g><defs><clipPath id="clip0_59_831"><rect width="12" height="12" fill="white" transform="translate(0.375 0.637695)"></rect></clipPath></defs></svg>',1),jae=[Dae];function Lae(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",Pae,[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaHighlightsPostmatchClass),onClick:a[1]||(a[1]=r=>i.clickPlayer({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundClass),id:"image-video",style:t.normalizeStyle({"background-image":"url("+o.backgroundImg+")"})},null,6),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnPlaytype2)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlay1type2),id:"btn-play",onClick:a[0]||(a[0]=r=>i.clickVideos({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.icnPlaytype2)},jae,2)],2)],2)],2)],512)}const vae={$style:Fae},Mae=Uo(Rae,[["render",Lae],["__cssModules",vae]]),Hae="_tarjetaDatosGsDesktoptype4_1y3cy_107",Uae="_tarjetaDatosGsDesktop500type4_1y3cy_127",Gae="_tarjetaDatosGs414type4_1y3cy_135",Wae="_tarjetaDatosGs414500type4_1y3cy_159",qae="_tarjetaDatosGs414380type4_1y3cy_183",Jae="_tarjetaDatosGs320type4_1y3cy_191",Xae="_tarjetaDatosGs320380type4_1y3cy_215",Zae="_dataBox8type4_1y3cy_239",Yae="_dataBox8380type4_1y3cy_275",Kae="_dataBoxtype4_1y3cy_313",Qae="_dataBox520type4_1y3cy_353",eoe="_dataBox480type4_1y3cy_395",toe="_dataBox3type4_1y3cy_437",aoe="_dataBox3520type4_1y3cy_479",ooe="_dataBox4type4_1y3cy_489",noe="_dataBox4500type4_1y3cy_533",soe="_dataBox6type4_1y3cy_581",ioe="_dataBox6500type4_1y3cy_627",roe="_dataContainertype4_1y3cy_681",loe="_dataContainer520type4_1y3cy_709",coe="_dataContainer1type4_1y3cy_741",doe="_dataContainer1500type4_1y3cy_769",moe="_dataBox7type4_1y3cy_799",poe="_dataBox7380type4_1y3cy_835",hoe="_div15type4_1y3cy_877",yoe="_div15380type4_1y3cy_895",goe="_btnShareIcontype4_1y3cy_913",uoe="_btnSharetype4_1y3cy_925",foe="_bakgBaseIcontype4_1y3cy_955",_oe="_roleCharacterIcontype4_1y3cy_979",boe="_verVideostype4_1y3cy_995",woe="_btnVideostype4_1y3cy_1009",Coe="_playerNametype4_1y3cy_1059",koe="_elJugadortype4_1y3cy_1077",Soe="_aSeguirtype4_1y3cy_1085",Eoe="_elJugadorAContainertype4_1y3cy_1095",Noe="_titletype4_1y3cy_1115",$oe="_baseCardtype4_1y3cy_1143",Boe="_imagePlayerIcontype4_1y3cy_1173",xoe="_arrowGraphIcontype4_1y3cy_1199",Voe="_divtype4_1y3cy_1211",Ioe="_totaltype4_1y3cy_1225",Aoe="_div1type4_1y3cy_1241",Ooe="_btnShareIcon1type4_1y3cy_1263",Toe="_btnShare1type4_1y3cy_1275",zoe="_bakgBaseIcon1type4_1y3cy_1303",Foe="_bakgBaseIcon2type4_1y3cy_1327",Roe="_roleCharacterIcon1type4_1y3cy_1351",Poe="_btnVideos1type4_1y3cy_1367",Doe="_playerName1type4_1y3cy_1409",joe="_elJugadorAContainer1type4_1y3cy_1419",Loe="_title1type4_1y3cy_1439",voe="_baseCard1type4_1y3cy_1465",Moe="_imagePlayerIcon1type4_1y3cy_1493",Hoe="_total4type4_1y3cy_1515",Uoe="_div9type4_1y3cy_1531",Goe="_roleCharacterIcon2type4_1y3cy_1547",Woe="_btnVideos2type4_1y3cy_1563",qoe="_elJugadorAContainer2type4_1y3cy_1601",Joe="_title2type4_1y3cy_1621",Xoe="_imagePlayerIcon2type4_1y3cy_1649",Zoe="_dataContainer2type4_1y3cy_1671",Yoe="_tarjetaDatosGstype4_1y3cy_1701",Koe={tarjetaDatosGsDesktoptype4:Hae,tarjetaDatosGsDesktop500type4:Uae,tarjetaDatosGs414type4:Gae,tarjetaDatosGs414500type4:Wae,tarjetaDatosGs414380type4:qae,tarjetaDatosGs320type4:Jae,tarjetaDatosGs320380type4:Xae,dataBox8type4:Zae,dataBox8380type4:Yae,dataBoxtype4:Kae,dataBox520type4:Qae,dataBox480type4:eoe,dataBox3type4:toe,dataBox3520type4:aoe,dataBox4type4:ooe,dataBox4500type4:noe,dataBox6type4:soe,dataBox6500type4:ioe,dataContainertype4:roe,dataContainer520type4:loe,dataContainer1type4:coe,dataContainer1500type4:doe,dataBox7type4:moe,dataBox7380type4:poe,div15type4:hoe,div15380type4:yoe,btnShareIcontype4:goe,btnSharetype4:uoe,bakgBaseIcontype4:foe,roleCharacterIcontype4:_oe,verVideostype4:boe,btnVideostype4:woe,playerNametype4:Coe,elJugadortype4:koe,aSeguirtype4:Soe,elJugadorAContainertype4:Eoe,titletype4:Noe,baseCardtype4:$oe,imagePlayerIcontype4:Boe,arrowGraphIcontype4:xoe,divtype4:Voe,totaltype4:Ioe,div1type4:Aoe,btnShareIcon1type4:Ooe,btnShare1type4:Toe,bakgBaseIcon1type4:zoe,bakgBaseIcon2type4:Foe,roleCharacterIcon1type4:Roe,btnVideos1type4:Poe,playerName1type4:Doe,elJugadorAContainer1type4:joe,title1type4:Loe,baseCard1type4:voe,imagePlayerIcon1type4:Moe,total4type4:Hoe,div9type4:Uoe,roleCharacterIcon2type4:Goe,btnVideos2type4:Woe,elJugadorAContainer2type4:qoe,title2type4:Joe,imagePlayerIcon2type4:Xoe,dataContainer2type4:Zoe,tarjetaDatosGstype4:Yoe},_p={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=ls(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},P2=()=>{t.useCssVars(e=>({"40b66d68":e.data.background_color_cards!=null?e.data.background_color_cards:"rgba(255, 255, 255, 0.16)","4700064c":e.data.background_color_buttons!=null?e.data.background_color_buttons:"rgba(255, 255, 255, 0.16)","7e0c833c":e.colorcard,"176277fe":e.data.font_color!=null?e.data.font_color:"#fff"}))},D2=_p.setup;_p.setup=D2?(e,a)=>(P2(),D2(e,a)):P2;const Qoe=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),ene=[Qoe],tne=["src"],ane={"clip-path":"url(#clip0_59_831)"},one=["fill"],nne=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),sne=["src"],ine=["fill"],rne=["fill"],lne=["fill"],cne=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),dne=[cne],mne=["src"],pne=["fill"],hne=["src"],yne=["fill"],gne=["fill"],une=["fill"],fne=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),_ne=[fne],bne=["src"],wne=["fill"],Cne=["src"],kne=["fill"],Sne=["fill"],Ene=["fill"];function Nne(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ene,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,tne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",ane,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,one)]),nne],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,sne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,ine)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,rne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,lne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dne,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,mne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,pne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,hne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,yne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,gne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,une)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_ne,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,bne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,wne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,Cne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,kne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,Sne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,Ene)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2)],2)}const $ne={$style:Koe},Bne=Uo(_p,[["render",Nne],["__cssModules",$ne]]),xne="_cardVideotype3_1geoc_47",Vne="_cardVideo540type3_1geoc_73",Ine="_ligaMx2Icontype3_1geoc_101",Ane="_roleCharacterIcontype3_1geoc_121",One="_btnPlaytype3_1geoc_135",Tne="_videoThumbnailtype3_1geoc_183",zne="_chivasIcontype3_1geoc_209",Fne="_teamtype3_1geoc_221",Rne="_playerChildtype3_1geoc_251",Pne="_playertype3_1geoc_265",Dne="_teamPlayertype3_1geoc_297",jne="_mintype3_1geoc_309",Lne="_teamPlayerParenttype3_1geoc_317",vne="_icnGoalsIcontype3_1geoc_333",Mne="_min1type3_1geoc_343",Hne="_actionstype3_1geoc_351",Une="_footerCardVideotype3_1geoc_367",Gne={cardVideotype3:xne,cardVideo540type3:Vne,ligaMx2Icontype3:Ine,roleCharacterIcontype3:Ane,btnPlaytype3:One,videoThumbnailtype3:Tne,chivasIcontype3:zne,teamtype3:Fne,playerChildtype3:Rne,playertype3:Pne,teamPlayertype3:Dne,mintype3:jne,teamPlayerParenttype3:Lne,icnGoalsIcontype3:vne,min1type3:Mne,actionstype3:Hne,footerCardVideotype3:Une},bp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#000000"},playerPhoto:{type:Boolean,default:!0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype3"),{elementSize:a}=ls(e);return{myDivRefCardtype3:e,elementSize:a}},computed:{cardVideoClass(){return this.elementSize.width<=540?this.$style.cardVideo540type3:this.$style.cardVideotype3}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},j2=()=>{t.useCssVars(e=>({fe7b7fd8:e.backgroundColor}))},L2=bp.setup;bp.setup=L2?(e,a)=>(j2(),L2(e,a)):j2;const Wne=["src"],qne=t.createElementVNode("g",{"clip-path":"url(#clip0_59_831)"},[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:"#CBEE6B"})],-1),Jne=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Xne=[qne,Jne],Zne=["src"],Yne=["src"],Kne=["src"];function Qne(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(i.cardVideoClass),ref:"myDivRefCardtype3",onClick:a[1]||(a[1]=r=>i.clickPlayer({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.videoThumbnailtype3),id:"container-video"},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.ligaMx2Icontype3),alt:"",src:o.data.background_card},null,10,Wne),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlaytype3),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id})),id:"btn-play-video"},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype3),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Xne,2))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.footerCardVideotype3),id:"footer-card-video",style:t.normalizeStyle({background:o.backgroundColor})},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayerParenttype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayertype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamtype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.chivasIcontype3),alt:"",src:o.data.team_logo},null,10,Zne)],2),o.playerPhoto?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.playertype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.playerChildtype3),alt:"",src:o.data.player_photo},null,10,Yne)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.mintype3)},t.toDisplayString(o.data.player_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.actionstype3)},[o.categoryIcon?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.icnGoalsIcontype3),alt:"",src:o.data.icon_stat},null,10,Kne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.min1type3)},t.toDisplayString(o.data.stat),3)],2)],6)],2)}const ese={$style:Gne},tse=Uo(bp,[["render",Qne],["__cssModules",ese]]),ase={components:{GSCCardFrecuentConnections:Wte,GSCCardVideosPlayers:wae,GSCHighlightsPostmatch:Mae,GSCPlays:tse,GSCDataGS:Bne},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},playerPhoto:{type:Boolean,default:!0},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#cf152d"},backgroundImg:{type:String,default:""},colorTitle:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},colorCard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{},methods:{onClickPlayer(e){this.$emit("onClickCard",e)},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCategory(e){this.$emit("onClickCategory",e)}}};function ose(e,a,o,n,s,i){const r=t.resolveComponent("GSCCardFrecuentConnections"),c=t.resolveComponent("GSCCardVideosPlayers"),h=t.resolveComponent("GSCHighlightsPostmatch"),d=t.resolveComponent("GSCPlays"),l=t.resolveComponent("GSCDataGS");return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createBlock(r,{key:0,data:o.data,"click-card":o.clickCard,onOnClickPlayer:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","onOnClickPlayer","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createBlock(c,{key:1,data:o.data,"click-card":o.clickCard,"background-color":o.backgroundColor,"color-title":o.colorTitle,"border-color":o.borderColor,"background-img":o.backgroundImg,"customize-colors":o.customizeColors,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-color","color-title","border-color","background-img","customize-colors","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createBlock(h,{key:2,data:o.data,"click-card":o.clickCard,"background-img":o.backgroundImg,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-img","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==3?(t.openBlock(),t.createBlock(d,{key:3,data:o.data,"click-card":o.clickCard,"player-photo":o.playerPhoto,"category-icon":o.categoryIcon,"background-color":o.backgroundColor,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","player-photo","category-icon","background-color","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==4?(t.openBlock(),t.createBlock(l,{key:4,data:o.data,"show-share-button":o.showShareButton,"click-card":o.clickCard,colorcard:o.colorCard,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos,onOnClickCategory:i.onClickCategory},null,8,["data","show-share-button","click-card","colorcard","onOnClickCard","onOnClickVideos","onOnClickCategory"])):t.createCommentVNode("",!0)])}const nse=Uo(ase,[["render",ose],["__scopeId","data-v-b1f26d64"]]),sse=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},wp={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},v2=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},M2=wp.setup;wp.setup=M2?(e,a)=>(v2(),M2(e,a)):v2;const ise={ref:"gscScrollableContainer",class:"scrollable-container"},rse={class:"scrollable-arrows"},lse=["width","height","viewBox"],cse=["stroke"],dse={class:"scrollable-wrapper"},mse={class:"scrollable-arrows"},pse=["width","height","viewBox"],hse=["stroke"];function yse(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",ise,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",rse,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,cse)],8,lse))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",dse,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",mse,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,hse)],8,pse))])],2)):t.createCommentVNode("",!0)],512)}const gse=sse(wp,[["render",yse],["__scopeId","data-v-b548a08d"]]),use="_templateDataGS_1w6kr_7",fse="_gridCompo480_1w6kr_33",_se="_gridCompo_1w6kr_33",bse="_grid_1w6kr_33",wse="_grid768_1w6kr_115",Cse="_grid480_1w6kr_137",kse="_specialsMobile_1w6kr_161",Sse="_gridClass_1w6kr_177",Ese={templateDataGS:use,gridCompo480:fse,gridCompo:_se,grid:bse,grid768:wse,grid480:Cse,specialsMobile:kse,gridClass:Sse},Nse={components:{GSCData:gte,GSCCard:nse,GSCSlider:gse,GSCMentionsCards:xY},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef2GSDa"),{elementSize:a}=QZ(e);return{myDivRef2GSDa:e,elementSize:a}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{},specials:[]}},computed:{gridCompoClass(){return this.elementSize.width<=720?this.$style.gridCompo480:this.$style.gridCompo},gridClass(){const e=this.elementSize.width;return e<=620?this.$style.grid480:e<=900?this.$style.grid768:this.$style.grid}},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{openmedia(e){console.log("ObjectVR"),console.log(e),this.$emit("openmedia",e)},onclickPlayVideos(e){console.log("LLEGO HASTA AQUI"),console.log(e);var a=[];e.type==2?e.position_id==1?e.category==0?a=[39,55,41,42,264,304,306,608,324,323,362,371,380,355,49,50,267,308]:a=e.category:e.category==0?a=[12,19,31,32,13,25,6,11,23,4,5,24,15,607,10,27,216,217,155,164,173,30,98,101,104,105,109,112,115,116,17,2,20]:a=e.category:e.type==3?e.category==0?a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308]:a=e.category:e.category!=0?a=e.category:a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308];const o=[1,2,3];let n={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.category!==0&&(n.advancedFilter.mainCategoryId=e.category),console.log("vr final json"),console.log(n),this.$emit("openmedia",n)},async getStats(e){const a=KZ.create({headers:{Authorization:`${this.token}`}}),o=await a.get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+e.season+"/games/"+e.game),n=await a.get("https://55sbpmq0f5.execute-api.us-west-2.amazonaws.com/prod/specialMentions/"+e.game);for(let s=0;s<o.data.games[0].players.length;s++)e.home_team_id==o.data.games[0].players[s].team_id&&this.homeTeam.push({id_season:o.data.games[0].players[s].season_id,color:o.data.games[0].players[s].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[s].player_id,player_name:o.data.games[0].players[s].player_name,background:o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]:"",player_photo:o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]:"",category_stats_1:this.prematch?o.data.games[0].players[s].games_played:o.data.games[0].players[s].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[s].minutes_played:o.data.games[0].players[s].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[s].categories[0].total:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[s].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[s].categories[0].categories:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[s].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[s].categories[0].category_name:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[s].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[s].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[s].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[s].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[s].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[s].info_thumbnails.colors.font_color}),e.away_team_id==o.data.games[0].players[s].team_id&&this.awayTeam.push({id_season:o.data.games[0].players[s].season_id,color:o.data.games[0].players[s].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[s].player_id,player_name:o.data.games[0].players[s].player_name,background:o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]:"",player_photo:o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]:"",category_stats_1:this.prematch?o.data.games[0].players[s].games_played:o.data.games[0].players[s].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[s].minutes_played:o.data.games[0].players[s].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[s].categories[0].total:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[s].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[s].categories[0].categories:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[s].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[s].categories[0].category_name:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[s].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[s].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[s].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[s].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[s].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[s].info_thumbnails.colors.font_color});this.specials=n.data.data}}},$se={style:{margin:"0 auto",width:"100%"}},Bse={style:{margin:"0 auto",width:"100%"}};function xse(e,a,o,n,s,i){const r=t.resolveComponent("GSCData"),c=t.resolveComponent("GSCMentionsCards"),h=t.resolveComponent("GSCSlider"),d=t.resolveComponent("GSCCard");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.templateDataGS),ref:"myDivRef2GSDa"},[o.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-80)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[t.createElementVNode("div",$se,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.home_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4),t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-80)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[t.createElementVNode("div",Bse,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.away_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.specialsMobile)},[t.createVNode(h,{"px-scroll":305,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"none",arrowsContainerBgR:"none",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd","background-color":"#172531"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l,"is-slider":!0},null,8,["data"]))),128))]),_:1})],2),t.createElementVNode("div",{class:t.normalizeClass([i.gridClass,e.$style.gridClass])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l},null,8,["data"]))),128))],2)],64)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-50)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.homeTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4),t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-50)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.awayTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4)],2))],2)}const Vse={$style:Ese},H2=J_(Nse,[["render",xse],["__cssModules",Vse],["__scopeId","data-v-27e3cfd3"]]),zMe="",FMe="",Ise={class:"datagame-container"},Ase=Ae({__name:"GSCDatosGSMain",props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,n=t.ref(0);t.watch(()=>o.game,i=>{n.value=i.gameId},{deep:!0,immediate:!0});function s(i){a("openmedia",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",Ise,[e.game.status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:s,key:n.value,type:0,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:1}},null,8,["data"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:s,key:n.value,type:1,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2}},null,8,["data"])):t.createCommentVNode("",!0)],64))]))}},[["__scopeId","data-v-987ca510"]]);function U2(e,a){return function(){return e.apply(a,arguments)}}const{toString:Ose}=Object.prototype,{getPrototypeOf:Cp}=Object,Rr=(e=>a=>{const o=Ose.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),la=e=>(e=e.toLowerCase(),a=>Rr(a)===e),Pr=e=>a=>typeof a===e,{isArray:Go}=Array,cs=Pr("undefined");function Tse(e){return e!==null&&!cs(e)&&e.constructor!==null&&!cs(e.constructor)&&At(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const G2=la("ArrayBuffer");function zse(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&G2(e.buffer),a}const Fse=Pr("string"),At=Pr("function"),W2=Pr("number"),Dr=e=>e!==null&&typeof e=="object",Rse=e=>e===!0||e===!1,jr=e=>{if(Rr(e)!=="object")return!1;const a=Cp(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Pse=la("Date"),Dse=la("File"),jse=la("Blob"),Lse=la("FileList"),vse=e=>Dr(e)&&At(e.pipe),Mse=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||At(e.append)&&((a=Rr(e))==="formdata"||a==="object"&&At(e.toString)&&e.toString()==="[object FormData]"))},Hse=la("URLSearchParams"),Use=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ds(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Go(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function q2(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const J2=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),X2=e=>!cs(e)&&e!==J2;function kp(){const{caseless:e}=X2(this)&&this||{},a={},o=(n,s)=>{const i=e&&q2(a,s)||s;jr(a[i])&&jr(n)?a[i]=kp(a[i],n):jr(n)?a[i]=kp({},n):Go(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&ds(arguments[n],o);return a}const Gse=(e,a,o,{allOwnKeys:n}={})=>(ds(a,(s,i)=>{o&&At(s)?e[i]=U2(s,o):e[i]=s},{allOwnKeys:n}),e),Wse=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),qse=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},Jse=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Cp(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},Xse=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},Zse=e=>{if(!e)return null;if(Go(e))return e;let a=e.length;if(!W2(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},Yse=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Cp(Uint8Array)),Kse=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},Qse=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},eie=la("HTMLFormElement"),tie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),Z2=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),aie=la("RegExp"),Y2=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};ds(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},oie=e=>{Y2(e,(a,o)=>{if(At(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(At(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},nie=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Go(e)?n(e):n(String(e).split(a)),o},sie=()=>{},iie=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Sp="abcdefghijklmnopqrstuvwxyz",K2="0123456789",Q2={DIGIT:K2,ALPHA:Sp,ALPHA_DIGIT:Sp+Sp.toUpperCase()+K2},rie=(e=16,a=Q2.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function lie(e){return!!(e&&At(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cie=e=>{const a=new Array(10),o=(n,s)=>{if(Dr(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Go(n)?[]:{};return ds(n,(r,c)=>{const h=o(r,s+1);!cs(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},die=la("AsyncFunction"),mie=e=>e&&(Dr(e)||At(e))&&At(e.then)&&At(e.catch),H={isArray:Go,isArrayBuffer:G2,isBuffer:Tse,isFormData:Mse,isArrayBufferView:zse,isString:Fse,isNumber:W2,isBoolean:Rse,isObject:Dr,isPlainObject:jr,isUndefined:cs,isDate:Pse,isFile:Dse,isBlob:jse,isRegExp:aie,isFunction:At,isStream:vse,isURLSearchParams:Hse,isTypedArray:Yse,isFileList:Lse,forEach:ds,merge:kp,extend:Gse,trim:Use,stripBOM:Wse,inherits:qse,toFlatObject:Jse,kindOf:Rr,kindOfTest:la,endsWith:Xse,toArray:Zse,forEachEntry:Kse,matchAll:Qse,isHTMLForm:eie,hasOwnProperty:Z2,hasOwnProp:Z2,reduceDescriptors:Y2,freezeMethods:oie,toObjectSet:nie,toCamelCase:tie,noop:sie,toFiniteNumber:iie,findKey:q2,global:J2,isContextDefined:X2,ALPHABET:Q2,generateString:rie,isSpecCompliantForm:lie,toJSONObject:cie,isAsyncFn:die,isThenable:mie};function ge(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}H.inherits(ge,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const eb=ge.prototype,tb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{tb[e]={value:e}}),Object.defineProperties(ge,tb),Object.defineProperty(eb,"isAxiosError",{value:!0}),ge.from=(e,a,o,n,s,i)=>{const r=Object.create(eb);return H.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),ge.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const pie=null;function Ep(e){return H.isPlainObject(e)||H.isArray(e)}function ab(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function ob(e,a,o){return e?e.concat(a).map(function(n,s){return n=ab(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function hie(e){return H.isArray(e)&&!e.some(Ep)}const yie=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function Lr(e,a,o){if(!H.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=H.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!H.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(a);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(H.isDate(g))return g.toISOString();if(!c&&H.isBlob(g))throw new ge("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(g)||H.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(H.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(H.isArray(g)&&hie(g)||(H.isFileList(g)||H.endsWith(y,"[]"))&&(f=H.toArray(g)))return y=ab(y),f.forEach(function(b,k){!(H.isUndefined(b)||b===null)&&a.append(r===!0?ob([y],k,i):r===null?y:y+"[]",h(b))}),!1}return Ep(g)?!0:(a.append(ob(u,y,i),h(g)),!1)}const l=[],m=Object.assign(yie,{defaultVisitor:d,convertValue:h,isVisitable:Ep});function p(g,y){if(!H.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),H.forEach(g,function(u,f){(!(H.isUndefined(u)||u===null)&&s.call(a,u,H.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return p(e),a}function nb(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Np(e,a){this._pairs=[],e&&Lr(e,this,a)}const sb=Np.prototype;sb.append=function(e,a){this._pairs.push([e,a])},sb.toString=function(e){const a=e?function(o){return e.call(this,o,nb)}:nb;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function gie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ib(e,a,o){if(!a)return e;const n=o&&o.encode||gie,s=o&&o.serialize;let i;if(s?i=s(a,o):i=H.isURLSearchParams(a)?a.toString():new Np(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const rb=class{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){H.forEach(this.handlers,function(o){o!==null&&a(o)})}},lb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uie=typeof URLSearchParams<"u"?URLSearchParams:Np,fie=typeof FormData<"u"?FormData:null,_ie=typeof Blob<"u"?Blob:null,bie={isBrowser:!0,classes:{URLSearchParams:uie,FormData:fie,Blob:_ie},protocols:["http","https","file","blob","url","data"]},cb=typeof window<"u"&&typeof document<"u",wie=(e=>cb&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Cie=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),kie=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:cb,hasStandardBrowserEnv:wie,hasStandardBrowserWebWorkerEnv:Cie},Symbol.toStringTag,{value:"Module"})),ca={...kie,...bie};function Sie(e,a){return Lr(e,new ca.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ca.isNode&&H.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Eie(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Nie(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function db(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&H.isArray(s)?s.length:r,h?(H.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!H.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&H.isArray(s[r])&&(s[r]=Nie(s[r])),!c)}if(H.isFormData(e)&&H.isFunction(e.entries)){const o={};return H.forEachEntry(e,(n,s)=>{a(Eie(n),s,o,0)}),o}return null}function $ie(e,a,o){if(H.isString(e))try{return(a||JSON.parse)(e),H.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const $p={transitional:lb,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=H.isObject(e);if(s&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return n&&n?JSON.stringify(db(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Sie(e,this.formSerializer).toString();if((i=H.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Lr(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),$ie(e)):e}],transformResponse:[function(e){const a=this.transitional||$p.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&H.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?ge.from(i,ge.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ca.classes.FormData,Blob:ca.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],e=>{$p.headers[e]={}});const Bp=$p,Bie=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xie=e=>{const a={};let o,n,s;return e&&e.split(`
43
+ */const ct={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},B2={itemsToShow:{default:ct.itemsToShow,type:Number},itemsToScroll:{default:ct.itemsToScroll,type:Number},wrapAround:{default:ct.wrapAround,type:Boolean},throttle:{default:ct.throttle,type:Number},snapAlign:{default:ct.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ct.transition,type:Number},breakpoints:{default:ct.breakpoints,type:Object},autoplay:{default:ct.autoplay,type:Number},pauseAutoplayOnHover:{default:ct.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ct.mouseDrag,type:Boolean},touchDrag:{default:ct.touchDrag,type:Boolean},dir:{default:ct.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ct.i18n,type:Object},settings:{default(){return{}},type:Object}};function WK({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function qK({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function hp({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function JK({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:hp({val:r,max:o-i,min:0})}function x2(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...x2(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function yp({val:e,max:a,min:o=0}){return e>a?yp({val:e-(a+1),max:a,min:o}):e<o?yp({val:e+(a+1),max:a,min:o}):e}function XK(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function ZK(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function YK(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var KK=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},ct))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},YK(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),QK=t.defineComponent({name:"Carousel",props:B2,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},ct));let l=Object.assign({},ct),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=ZK(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=WK({config:d,slidesCount:h.value}),f.value=qK({config:d,slidesCount:h.value}),d.wrapAround||(p.value=hp({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=XK(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:hp({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=yp({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>JK({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(B2).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=x2(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(KK)])}}}),V2;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(V2||(V2={}));var eQ=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},ct))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const tQ=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},aQ=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),oQ={class:"gsc-carousel"},nQ={key:0},sQ=aQ(()=>t.createElementVNode("div",null,"no hay",-1)),iQ=[sQ],rQ={class:"gsc-carousel__2d__slides"},lQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cQ=["fill"],dQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mQ=["fill"],pQ={class:"gsc-carousel__2d__navigation"},hQ={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yQ=["stroke"],gQ={key:1,class:"gsc-carousel__2d__navigation__pagination"},uQ=["onClick"],fQ={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_Q=["stroke"],bQ={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(s,u=>{u&&c.value?(c.value=!1,h(n.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>n.items,u=>{s.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&s.value){if(n.defaultItemByProp){const f=n.items.findIndex(b=>b[n.defaultItemByProp.propName]===n.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=n.defaultItemByIndex,i.value=u[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){s.value&&s.value.next()}function l(){s.value&&s.value.prev()}function m(){s.value&&s.value.updateSlideWidth()}function p(u){s.value&&s.value.slideTo(u)}function g(u){s.value.slideTo(u)}function y(u){const f=u.slidingToIndex<0?n.items.length-1:u.slidingToIndex===n.items.length?0:u.slidingToIndex;r.value=f,i.value=n.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",oQ,[n.is3d?(t.openBlock(),t.createElementBlock("div",nQ,iQ)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",rQ,[t.createVNode(t.unref(QK),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createBlock(t.unref(eQ),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:b},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=b=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",lQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,cQ)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=b=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",dQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,mQ)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",pQ,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=b=>l())},[(t.openBlock(),t.createElementBlock("svg",hQ,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,yQ)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",gQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===k?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===k?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:B=>g(k)},null,12,uQ))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=b=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",fQ,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,_Q)]))])):t.createCommentVNode("",!0)])],2))]))}},wQ=tQ(bQ,[["__scopeId","data-v-dd3cbf69"]]);function CQ(e){const a=t.ref({width:0,height:0});function o(){const n=e.value.getBoundingClientRect();a.value.width=n.width,a.value.height=n.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const kQ="_tarjetaDatosGsDesktoptype4_1jj6f_107",SQ="_tarjetaDatosGsDesktop500type4_1jj6f_127",EQ="_tarjetaDatosGs414type4_1jj6f_135",NQ="_tarjetaDatosGs414500type4_1jj6f_159",$Q="_tarjetaDatosGs414380type4_1jj6f_183",BQ="_tarjetaDatosGs320type4_1jj6f_191",xQ="_tarjetaDatosGs320380type4_1jj6f_215",VQ="_dataBox8type4_1jj6f_239",IQ="_dataBox8380type4_1jj6f_275",AQ="_dataBoxtype4_1jj6f_313",OQ="_dataBox520type4_1jj6f_355",TQ="_dataBox480type4_1jj6f_399",zQ="_dataBox3type4_1jj6f_441",FQ="_dataBox3520type4_1jj6f_483",RQ="_dataBox4type4_1jj6f_493",PQ="_dataBox4500type4_1jj6f_537",DQ="_dataBox6type4_1jj6f_585",jQ="_dataBox6500type4_1jj6f_631",LQ="_dataContainertype4_1jj6f_685",vQ="_dataContainer520type4_1jj6f_713",MQ="_dataContainer1type4_1jj6f_745",HQ="_dataContainer1500type4_1jj6f_773",UQ="_dataBox7type4_1jj6f_803",GQ="_dataBox7380type4_1jj6f_839",WQ="_div15type4_1jj6f_881",qQ="_div15380type4_1jj6f_899",JQ="_btnShareIcontype4_1jj6f_917",XQ="_btnSharetype4_1jj6f_929",ZQ="_bakgBaseIcontype4_1jj6f_959",YQ="_roleCharacterIcontype4_1jj6f_983",KQ="_verVideostype4_1jj6f_999",QQ="_btnVideostype4_1jj6f_1013",eee="_playerNametype4_1jj6f_1063",tee="_elJugadortype4_1jj6f_1081",aee="_aSeguirtype4_1jj6f_1089",oee="_elJugadorAContainertype4_1jj6f_1099",nee="_titletype4_1jj6f_1119",see="_baseCardtype4_1jj6f_1147",iee="_imagePlayerIcontype4_1jj6f_1177",ree="_arrowGraphIcontype4_1jj6f_1203",lee="_divtype4_1jj6f_1215",cee="_totaltype4_1jj6f_1229",dee="_div1type4_1jj6f_1245",mee="_btnShareIcon1type4_1jj6f_1267",pee="_btnShare1type4_1jj6f_1279",hee="_bakgBaseIcon1type4_1jj6f_1307",yee="_bakgBaseIcon2type4_1jj6f_1331",gee="_roleCharacterIcon1type4_1jj6f_1355",uee="_btnVideos1type4_1jj6f_1371",fee="_playerName1type4_1jj6f_1413",_ee="_elJugadorAContainer1type4_1jj6f_1423",bee="_title1type4_1jj6f_1443",wee="_baseCard1type4_1jj6f_1469",Cee="_imagePlayerIcon1type4_1jj6f_1497",kee="_total4type4_1jj6f_1519",See="_div9type4_1jj6f_1535",Eee="_roleCharacterIcon2type4_1jj6f_1551",Nee="_btnVideos2type4_1jj6f_1567",$ee="_elJugadorAContainer2type4_1jj6f_1605",Bee="_title2type4_1jj6f_1625",xee="_imagePlayerIcon2type4_1jj6f_1653",Vee="_dataContainer2type4_1jj6f_1675",Iee="_tarjetaDatosGstype4_1jj6f_1705",Aee={tarjetaDatosGsDesktoptype4:kQ,tarjetaDatosGsDesktop500type4:SQ,tarjetaDatosGs414type4:EQ,tarjetaDatosGs414500type4:NQ,tarjetaDatosGs414380type4:$Q,tarjetaDatosGs320type4:BQ,tarjetaDatosGs320380type4:xQ,dataBox8type4:VQ,dataBox8380type4:IQ,dataBoxtype4:AQ,dataBox520type4:OQ,dataBox480type4:TQ,dataBox3type4:zQ,dataBox3520type4:FQ,dataBox4type4:RQ,dataBox4500type4:PQ,dataBox6type4:DQ,dataBox6500type4:jQ,dataContainertype4:LQ,dataContainer520type4:vQ,dataContainer1type4:MQ,dataContainer1500type4:HQ,dataBox7type4:UQ,dataBox7380type4:GQ,div15type4:WQ,div15380type4:qQ,btnShareIcontype4:JQ,btnSharetype4:XQ,bakgBaseIcontype4:ZQ,roleCharacterIcontype4:YQ,verVideostype4:KQ,btnVideostype4:QQ,playerNametype4:eee,elJugadortype4:tee,aSeguirtype4:aee,elJugadorAContainertype4:oee,titletype4:nee,baseCardtype4:see,imagePlayerIcontype4:iee,arrowGraphIcontype4:ree,divtype4:lee,totaltype4:cee,div1type4:dee,btnShareIcon1type4:mee,btnShare1type4:pee,bakgBaseIcon1type4:hee,bakgBaseIcon2type4:yee,roleCharacterIcon1type4:gee,btnVideos1type4:uee,playerName1type4:fee,elJugadorAContainer1type4:_ee,title1type4:bee,baseCard1type4:wee,imagePlayerIcon1type4:Cee,total4type4:kee,div9type4:See,roleCharacterIcon2type4:Eee,btnVideos2type4:Nee,elJugadorAContainer2type4:$ee,title2type4:Bee,imagePlayerIcon2type4:xee,dataContainer2type4:Vee,tarjetaDatosGstype4:Iee},I2=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},gp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=CQ(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},A2=()=>{t.useCssVars(e=>({"5d5814e9":e.data.background_color_cards!=null&&e.customizeColors?e.data.background_color_cards:"#1b3649","297cb29a":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"#293744","087e4d9e":e.customizeColors?"":"#cbee6b","0ea0ed80":e.colorcard,a129c3bc:e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff"}))},O2=gp.setup;gp.setup=O2?(e,a)=>(A2(),O2(e,a)):A2;const Oee=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Tee=[Oee],zee=["src"],Fee={"clip-path":"url(#clip0_59_831)"},Ree=["fill"],Pee=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Dee=["src"],jee=["fill"],Lee=["fill"],vee=["fill"],Mee=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Hee=[Mee],Uee=["src"],Gee=["fill"],Wee=["src"],qee=["fill"],Jee=["fill"],Xee=["fill"],Zee=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Yee=[Zee],Kee=["src"],Qee=["fill"],ete=["src"],tte=["fill"],ate=["fill"],ote=["fill"];function nte(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,zee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",Fee,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Ree)]),Pee],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,Dee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Lee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,vee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,Uee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Gee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,Wee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,qee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Xee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,Kee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Qee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,ete)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,tte)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,ate)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,ote)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2)],2)}const ste={$style:Aee},ite=I2(gp,[["render",nte],["__cssModules",ste]]),rte={components:{GSCCarousel:wQ,GSCCardData:ite},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},prematch:{type:Boolean,default:!1},teamSelected:{type:Number,default:0},colorCardByTeam:{type:Boolean,default:!1},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{}}},computed:{},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.category:e.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.category:e.type==3?e.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.category:e.category!=0?a=e.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);let n={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:"",mainCategoryId:e.category||0}};console.log(n),this.$emit("openmedia",n)},async getStats(){const e=await GK.create({headers:{Authorization:`${this.token}`}}).get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+this.data.season+"/games/"+this.data.game);console.log(e.data.games[0]);for(let a=0;a<e.data.games[0].players.length;a++)this.type==0?this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_default_players[0],player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:"https://az755631.vo.msecnd.net/players-profile/"+e.data.games[0].players[a].player_id+".png",category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[0],main_title:(this.prematch,"Jugador"),second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color}]):this.teamSelected==e.data.games[0].players[a].team_id&&this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"",player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:"",category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[1],main_title:this.prematch?"El jugador":"Jugador",second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color}])},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCard(e){this.$emit("onClickCard",e)},onClickCategory(e){this.$emit("onClickCategory",e)},clickMore(){this.$emit("onViewMore",!0)}}},lte=e=>(t.pushScopeId("data-v-eda22ae1"),e=e(),t.popScopeId(),e),cte={class:"gsdata"},dte={class:"gsc-gsdata-carrousel"},mte={key:0,class:"title-header"},pte=lte(()=>t.createElementVNode("div",{class:"title-header-title"},"Datos GolStats",-1)),hte={class:"row-table-carrousel"};function yte(e,a,o,n,s,i){const r=t.resolveComponent("GSCCardData"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",cte,[t.createElementVNode("div",dte,[o.teamSelected==0?(t.openBlock(),t.createElementBlock("div",mte,[pte,t.createElementVNode("div",{class:"title-header-btn",onClick:a[0]||(a[0]=(...h)=>i.clickMore&&i.clickMore(...h))},"Ver más")])):t.createCommentVNode("",!0),t.createVNode(c,{items:s.pages,wrapAround:!0,itemsToShow:1.1,areSlidesArrowsVisible:!0,areNavigationArrowsVisible:!1,isMainSlidePriority:!0,areSlidesArrowsRounded:!1,isPaginationVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",hte,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h,(d,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:l},[o.colorCardByTeam?(t.openBlock(),t.createBlock(r,{key:1,type:4,colorcard:d.color,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["colorcard","click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"])):(t.openBlock(),t.createBlock(r,{key:0,type:4,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"]))],64))),128))])]),_:1},8,["items"])])])}const gte=I2(rte,[["render",yte],["__scopeId","data-v-eda22ae1"]]),ute=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},up={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},T2=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},z2=up.setup;up.setup=z2?(e,a)=>(T2(),z2(e,a)):T2;const fte=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),_te=["src"],bte={key:1,class:"text"},wte=["src"],Cte={class:"stats"},kte=fte(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),Ste={class:"numstats"},Ete={class:"leyend"};function Nte(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",s.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,s.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,_te)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",bte,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,wte)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",Cte,[kte,t.createElementVNode("div",Ste,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",Ete,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const $te=ute(up,[["render",Nte],["__scopeId","data-v-fb269a1e"]]);function ls(e){const a=t.ref({width:0,height:0});function o(){const n=e.value.getBoundingClientRect();a.value.width=n.width,a.value.height=n.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const Bte="_cardFrecuentConnectionstype0_8eub9_57",xte="_cardFrecuentConnectionsDesktype0_8eub9_85",Vte="_cardFrecuentConnectionsDesk360type0_8eub9_103",Ite="_imgPlayerParenttype0_8eub9_123",Ate="_imgPlayerIcontype0_8eub9_149",Ote="_imgPlayerIcon360type0_8eub9_163",Tte="_playerInfotype0_8eub9_177",zte="_benjaminEvalenttype0_8eub9_195",Fte="_frameParenttype0_8eub9_207",Rte="_union9Wrappertype0_8eub9_223",Pte="_union9Icontype0_8eub9_251",Dte="_benjaminEvalent1type0_8eub9_263",jte="_benjaminEvalent1360type0_8eub9_277",Lte={cardFrecuentConnectionstype0:Bte,cardFrecuentConnectionsDesktype0:xte,cardFrecuentConnectionsDesk360type0:Vte,imgPlayerParenttype0:Ite,imgPlayerIcontype0:Ate,imgPlayerIcon360type0:Ote,playerInfotype0:Tte,benjaminEvalenttype0:zte,frameParenttype0:Fte,union9Wrappertype0:Rte,union9Icontype0:Pte,benjaminEvalent1type0:Dte,benjaminEvalent1360type0:jte},Uo=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},vte={components:{GSCButton:$te},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1}},computed:{cardFrecuentConnectionsDeskClass(){return this.elementSize.width<=360?this.$style.cardFrecuentConnectionsDesk360type0:this.$style.cardFrecuentConnectionsDesktype0},imgPlayerIconClass(){return this.elementSize.width<=360?this.$style.imgPlayerIcon360type0:this.$style.imgPlayerIcontype0},benjaminEvalent1Class(){return this.elementSize.width<=360?this.$style.benjaminEvalent1360type0:this.$style.benjaminEvalent1type0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype0"),{elementSize:a}=ls(e);return{myDivRefCardtype0:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickPlayer",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},Mte={ref:"myDivRefCardtype0"},Hte=["alt","src"];function Ute(e,a,o,n,s,i){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",Mte,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardFrecuentConnectionstype0),onClick:a[1]||(a[1]=c=>i.clickPlayer({player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardFrecuentConnectionsDeskClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgPlayerParenttype0)},[t.createElementVNode("img",{class:t.normalizeClass(i.imgPlayerIconClass),alt:o.data.player_name,src:o.data.player_photo},null,10,Hte),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerInfotype0)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.benjaminEvalenttype0)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParenttype0)},[t.createVNode(r,{icon:"/play-icn.svg","icon-size":"9px","icon-position":"left",width:"18px",height:"18px","border-radius":"18px","border-width":"1","background-color":"transparent","border-color":"#FFFFFF",onClick:a[0]||(a[0]=c=>i.clickVideos({player_id:o.data.player_id}))}),t.createElementVNode("div",{class:t.normalizeClass(i.benjaminEvalent1Class)},t.toDisplayString(o.data.player_stat),3)],2)],2)],2)],2)],2)],512)}const Gte={$style:Lte},Wte=Uo(vte,[["render",Ute],["__cssModules",Gte]]),qte="_cardVideosJugadorestype1_hyx6z_59",Jte="_cardDesktoptype1_hyx6z_87",Xte="_cardDesktop460type1_hyx6z_113",Zte="_backgroundImageParenttype1_hyx6z_137",Yte="_backgroundImageParent460type1_hyx6z_171",Kte="_backgroundImageIcontype1_hyx6z_205",Qte="_loMejorDeContainertype1_hyx6z_225",eae="_loMejorDeContainer460type1_hyx6z_249",tae="_loMejorDeContainer420type1_hyx6z_273",aae="_loMejorDetype1_hyx6z_297",oae="_btnPlaytype1_hyx6z_303",nae="_btnPlay460_hyx6z_357",sae="_btnPlay460type1_hyx6z_363",iae="_roleCharacterIcontype1_hyx6z_409",rae="_reproducirtype1_hyx6z_423",lae="_playerTeamDesktopIcontype1_hyx6z_435",cae="_playerTeamDesktopIcon1200type1_hyx6z_455",dae="_playerTeamDesktopIcon460type1_hyx6z_479",mae={cardVideosJugadorestype1:qte,cardDesktoptype1:Jte,cardDesktop460type1:Xte,backgroundImageParenttype1:Zte,backgroundImageParent460type1:Yte,backgroundImageIcontype1:Kte,loMejorDeContainertype1:Qte,loMejorDeContainer460type1:eae,loMejorDeContainer420type1:tae,loMejorDetype1:aae,btnPlaytype1:oae,btnPlay460:nae,btnPlay460type1:sae,roleCharacterIcontype1:iae,reproducirtype1:rae,playerTeamDesktopIcontype1:lae,playerTeamDesktopIcon1200type1:cae,playerTeamDesktopIcon460type1:dae},fp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#000000"},colorTitle:{type:String,default:"#000000"},borderColor:{type:String,default:"#000000"},backgroundImg:{type:String,default:""},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{cardDesktopClass(){return this.elementSize.width<=460?this.$style.cardDesktop460type1:this.$style.cardDesktoptype1},backgroundImageParentClass(){return this.elementSize.width<=460?this.$style.backgroundImageParent460type1:this.$style.backgroundImageParenttype1},btnPlayClass(){return this.elementSize.width<=460?this.$style.btnPlay460type1:this.$style.btnPlaytype1},loMejorDeContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.loMejorDeContainer420type1:e<=460?this.$style.loMejorDeContainer460type1:this.$style.loMejorDeContainertype1},playerTeamDesktopIconClass(){const e=this.elementSize.width;return e<=460?this.$style.playerTeamDesktopIcon460type1:e<=1200?this.$style.playerTeamDesktopIcon1200type1:this.$style.playerTeamDesktopIcontype1}},setup(){const e=t.ref("myDivRefCardtype1"),{elementSize:a}=ls(e);return{myDivRefCardtype1:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},F2=()=>{t.useCssVars(e=>({"3c445abf":e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff","418009b6":e.backgroundColor,"392b4ed3":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"rgba(255, 255, 255, 0.08)","47279a32":e.borderColor}))},R2=fp.setup;fp.setup=R2?(e,a)=>(F2(),R2(e,a)):F2;const pae={ref:"myDivRefCardtype1"},hae=["src"],yae={"clip-path":"url(#clip0_59_831)"},gae=["fill"],uae=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),fae=["src"];function _ae(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",pae,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardVideosJugadorestype1),onClick:a[1]||(a[1]=r=>i.clickPlayer({player_id:o.data.player_id,team_id:o.data.team_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundImageParentClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backgroundImageIcontype1),src:o.backgroundImg},null,10,hae),t.createElementVNode("h2",{class:t.normalizeClass(i.loMejorDeContainerClass),id:"title-card"},[n.elementSize.width>380?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor de ",2)):t.createCommentVNode("",!0),n.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor",2)):t.createCommentVNode("",!0),n.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.loMejorDetype1)},"de ",2)):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(e.$style.loMejorDetype1)},t.toDisplayString(o.data.team_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.btnPlayClass),onClick:a[0]||(a[0]=r=>i.clickVideos({player_id:o.data.player_id,team_id:o.data.team_id}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",yae,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,gae)]),uae],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.reproducirtype1)},"Reproducir",2)],2)],2),t.createElementVNode("img",{class:t.normalizeClass(i.playerTeamDesktopIconClass),src:o.data.player_photo},null,10,fae)],2)],2)],512)}const bae={$style:mae},wae=Uo(fp,[["render",_ae],["__cssModules",bae]]),Cae="_tarjetaHighlightsPostmatchtype2_2xqhb_7",kae="_tarjetaHighlightsPostmatch780type2_2xqhb_35",Sae="_tarjetaHighlightsPostmatch640type2_2xqhb_65",Eae="_tarjetaHighlightsPostmatch520type2_2xqhb_97",Nae="_tarjetaHighlightsPostmatch350type2_2xqhb_131",$ae="_tarjetaHighlightsPostmatch420type2_2xqhb_161",Bae="_tarjetaHighlightsPostmatch320type2_2xqhb_197",xae="_backgroundtype2_2xqhb_233",Vae="_background640type2_2xqhb_253",Iae="_btnPlaytype2_2xqhb_277",Aae="_btnPlay1_2xqhb_301",Oae="_btnPlay1type2_2xqhb_309",Tae="_icnPlaytype2_2xqhb_351",zae="_union6Icontype2_2xqhb_369",Fae={tarjetaHighlightsPostmatchtype2:Cae,tarjetaHighlightsPostmatch780type2:kae,tarjetaHighlightsPostmatch640type2:Sae,tarjetaHighlightsPostmatch520type2:Eae,tarjetaHighlightsPostmatch350type2:Nae,tarjetaHighlightsPostmatch420type2:$ae,tarjetaHighlightsPostmatch320type2:Bae,backgroundtype2:xae,background640type2:Vae,btnPlaytype2:Iae,btnPlay1:Aae,btnPlay1type2:Oae,icnPlaytype2:Tae,union6Icontype2:zae},Rae={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundImg:{type:String,default:""}},computed:{tarjetaHighlightsPostmatchClass(){const e=this.elementSize.width;return e<=320?this.$style.tarjetaHighlightsPostmatch320type2:e<=350?this.$style.tarjetaHighlightsPostmatch350type2:e<=420?this.$style.tarjetaHighlightsPostmatch420type2:e<=520?this.$style.tarjetaHighlightsPostmatch520type2:e<=640?this.$style.tarjetaHighlightsPostmatch640type2:e<=780?this.$style.tarjetaHighlightsPostmatch780type2:this.$style.tarjetaHighlightsPostmatchtype2},backgroundClass(){return this.elementSize.width<=640?this.$style.background640type2:this.$style.backgroundtype2}},setup(){const e=t.ref("myDivRefCardtype2"),{elementSize:a}=ls(e);return{myDivRefCardtype2:e,elementSize:a}},data(){return{}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},Pae={ref:"myDivRefCardtype2"},Dae=t.createStaticVNode('<svg width="20" height="20" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_59_831)"><path d="M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z" fill="#CBEE6B"></path></g><defs><clipPath id="clip0_59_831"><rect width="12" height="12" fill="white" transform="translate(0.375 0.637695)"></rect></clipPath></defs></svg>',1),jae=[Dae];function Lae(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",Pae,[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaHighlightsPostmatchClass),onClick:a[1]||(a[1]=r=>i.clickPlayer({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundClass),id:"image-video",style:t.normalizeStyle({"background-image":"url("+o.backgroundImg+")"})},null,6),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnPlaytype2)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlay1type2),id:"btn-play",onClick:a[0]||(a[0]=r=>i.clickVideos({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.icnPlaytype2)},jae,2)],2)],2)],2)],512)}const vae={$style:Fae},Mae=Uo(Rae,[["render",Lae],["__cssModules",vae]]),Hae="_tarjetaDatosGsDesktoptype4_1y3cy_107",Uae="_tarjetaDatosGsDesktop500type4_1y3cy_127",Gae="_tarjetaDatosGs414type4_1y3cy_135",Wae="_tarjetaDatosGs414500type4_1y3cy_159",qae="_tarjetaDatosGs414380type4_1y3cy_183",Jae="_tarjetaDatosGs320type4_1y3cy_191",Xae="_tarjetaDatosGs320380type4_1y3cy_215",Zae="_dataBox8type4_1y3cy_239",Yae="_dataBox8380type4_1y3cy_275",Kae="_dataBoxtype4_1y3cy_313",Qae="_dataBox520type4_1y3cy_353",eoe="_dataBox480type4_1y3cy_395",toe="_dataBox3type4_1y3cy_437",aoe="_dataBox3520type4_1y3cy_479",ooe="_dataBox4type4_1y3cy_489",noe="_dataBox4500type4_1y3cy_533",soe="_dataBox6type4_1y3cy_581",ioe="_dataBox6500type4_1y3cy_627",roe="_dataContainertype4_1y3cy_681",loe="_dataContainer520type4_1y3cy_709",coe="_dataContainer1type4_1y3cy_741",doe="_dataContainer1500type4_1y3cy_769",moe="_dataBox7type4_1y3cy_799",poe="_dataBox7380type4_1y3cy_835",hoe="_div15type4_1y3cy_877",yoe="_div15380type4_1y3cy_895",goe="_btnShareIcontype4_1y3cy_913",uoe="_btnSharetype4_1y3cy_925",foe="_bakgBaseIcontype4_1y3cy_955",_oe="_roleCharacterIcontype4_1y3cy_979",boe="_verVideostype4_1y3cy_995",woe="_btnVideostype4_1y3cy_1009",Coe="_playerNametype4_1y3cy_1059",koe="_elJugadortype4_1y3cy_1077",Soe="_aSeguirtype4_1y3cy_1085",Eoe="_elJugadorAContainertype4_1y3cy_1095",Noe="_titletype4_1y3cy_1115",$oe="_baseCardtype4_1y3cy_1143",Boe="_imagePlayerIcontype4_1y3cy_1173",xoe="_arrowGraphIcontype4_1y3cy_1199",Voe="_divtype4_1y3cy_1211",Ioe="_totaltype4_1y3cy_1225",Aoe="_div1type4_1y3cy_1241",Ooe="_btnShareIcon1type4_1y3cy_1263",Toe="_btnShare1type4_1y3cy_1275",zoe="_bakgBaseIcon1type4_1y3cy_1303",Foe="_bakgBaseIcon2type4_1y3cy_1327",Roe="_roleCharacterIcon1type4_1y3cy_1351",Poe="_btnVideos1type4_1y3cy_1367",Doe="_playerName1type4_1y3cy_1409",joe="_elJugadorAContainer1type4_1y3cy_1419",Loe="_title1type4_1y3cy_1439",voe="_baseCard1type4_1y3cy_1465",Moe="_imagePlayerIcon1type4_1y3cy_1493",Hoe="_total4type4_1y3cy_1515",Uoe="_div9type4_1y3cy_1531",Goe="_roleCharacterIcon2type4_1y3cy_1547",Woe="_btnVideos2type4_1y3cy_1563",qoe="_elJugadorAContainer2type4_1y3cy_1601",Joe="_title2type4_1y3cy_1621",Xoe="_imagePlayerIcon2type4_1y3cy_1649",Zoe="_dataContainer2type4_1y3cy_1671",Yoe="_tarjetaDatosGstype4_1y3cy_1701",Koe={tarjetaDatosGsDesktoptype4:Hae,tarjetaDatosGsDesktop500type4:Uae,tarjetaDatosGs414type4:Gae,tarjetaDatosGs414500type4:Wae,tarjetaDatosGs414380type4:qae,tarjetaDatosGs320type4:Jae,tarjetaDatosGs320380type4:Xae,dataBox8type4:Zae,dataBox8380type4:Yae,dataBoxtype4:Kae,dataBox520type4:Qae,dataBox480type4:eoe,dataBox3type4:toe,dataBox3520type4:aoe,dataBox4type4:ooe,dataBox4500type4:noe,dataBox6type4:soe,dataBox6500type4:ioe,dataContainertype4:roe,dataContainer520type4:loe,dataContainer1type4:coe,dataContainer1500type4:doe,dataBox7type4:moe,dataBox7380type4:poe,div15type4:hoe,div15380type4:yoe,btnShareIcontype4:goe,btnSharetype4:uoe,bakgBaseIcontype4:foe,roleCharacterIcontype4:_oe,verVideostype4:boe,btnVideostype4:woe,playerNametype4:Coe,elJugadortype4:koe,aSeguirtype4:Soe,elJugadorAContainertype4:Eoe,titletype4:Noe,baseCardtype4:$oe,imagePlayerIcontype4:Boe,arrowGraphIcontype4:xoe,divtype4:Voe,totaltype4:Ioe,div1type4:Aoe,btnShareIcon1type4:Ooe,btnShare1type4:Toe,bakgBaseIcon1type4:zoe,bakgBaseIcon2type4:Foe,roleCharacterIcon1type4:Roe,btnVideos1type4:Poe,playerName1type4:Doe,elJugadorAContainer1type4:joe,title1type4:Loe,baseCard1type4:voe,imagePlayerIcon1type4:Moe,total4type4:Hoe,div9type4:Uoe,roleCharacterIcon2type4:Goe,btnVideos2type4:Woe,elJugadorAContainer2type4:qoe,title2type4:Joe,imagePlayerIcon2type4:Xoe,dataContainer2type4:Zoe,tarjetaDatosGstype4:Yoe},_p={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=ls(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},P2=()=>{t.useCssVars(e=>({"40b66d68":e.data.background_color_cards!=null?e.data.background_color_cards:"rgba(255, 255, 255, 0.16)","4700064c":e.data.background_color_buttons!=null?e.data.background_color_buttons:"rgba(255, 255, 255, 0.16)","7e0c833c":e.colorcard,"176277fe":e.data.font_color!=null?e.data.font_color:"#fff"}))},D2=_p.setup;_p.setup=D2?(e,a)=>(P2(),D2(e,a)):P2;const Qoe=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),ene=[Qoe],tne=["src"],ane={"clip-path":"url(#clip0_59_831)"},one=["fill"],nne=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),sne=["src"],ine=["fill"],rne=["fill"],lne=["fill"],cne=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),dne=[cne],mne=["src"],pne=["fill"],hne=["src"],yne=["fill"],gne=["fill"],une=["fill"],fne=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),_ne=[fne],bne=["src"],wne=["fill"],Cne=["src"],kne=["fill"],Sne=["fill"],Ene=["fill"];function Nne(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ene,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,tne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",ane,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,one)]),nne],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,sne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,ine)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,rne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,lne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dne,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,mne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,pne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,hne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,yne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,gne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,une)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_ne,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,bne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,wne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,Cne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,kne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,Sne)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],2),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,Ene)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],2)):t.createCommentVNode("",!0)],2)],2)],2)}const $ne={$style:Koe},Bne=Uo(_p,[["render",Nne],["__cssModules",$ne]]),xne="_cardVideotype3_1geoc_47",Vne="_cardVideo540type3_1geoc_73",Ine="_ligaMx2Icontype3_1geoc_101",Ane="_roleCharacterIcontype3_1geoc_121",One="_btnPlaytype3_1geoc_135",Tne="_videoThumbnailtype3_1geoc_183",zne="_chivasIcontype3_1geoc_209",Fne="_teamtype3_1geoc_221",Rne="_playerChildtype3_1geoc_251",Pne="_playertype3_1geoc_265",Dne="_teamPlayertype3_1geoc_297",jne="_mintype3_1geoc_309",Lne="_teamPlayerParenttype3_1geoc_317",vne="_icnGoalsIcontype3_1geoc_333",Mne="_min1type3_1geoc_343",Hne="_actionstype3_1geoc_351",Une="_footerCardVideotype3_1geoc_367",Gne={cardVideotype3:xne,cardVideo540type3:Vne,ligaMx2Icontype3:Ine,roleCharacterIcontype3:Ane,btnPlaytype3:One,videoThumbnailtype3:Tne,chivasIcontype3:zne,teamtype3:Fne,playerChildtype3:Rne,playertype3:Pne,teamPlayertype3:Dne,mintype3:jne,teamPlayerParenttype3:Lne,icnGoalsIcontype3:vne,min1type3:Mne,actionstype3:Hne,footerCardVideotype3:Une},bp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#000000"},playerPhoto:{type:Boolean,default:!0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype3"),{elementSize:a}=ls(e);return{myDivRefCardtype3:e,elementSize:a}},computed:{cardVideoClass(){return this.elementSize.width<=540?this.$style.cardVideo540type3:this.$style.cardVideotype3}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},j2=()=>{t.useCssVars(e=>({fe7b7fd8:e.backgroundColor}))},L2=bp.setup;bp.setup=L2?(e,a)=>(j2(),L2(e,a)):j2;const Wne=["src"],qne=t.createElementVNode("g",{"clip-path":"url(#clip0_59_831)"},[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:"#CBEE6B"})],-1),Jne=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Xne=[qne,Jne],Zne=["src"],Yne=["src"],Kne=["src"];function Qne(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(i.cardVideoClass),ref:"myDivRefCardtype3",onClick:a[1]||(a[1]=r=>i.clickPlayer({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.videoThumbnailtype3),id:"container-video"},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.ligaMx2Icontype3),alt:"",src:o.data.background_card},null,10,Wne),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlaytype3),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id})),id:"btn-play-video"},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype3),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Xne,2))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.footerCardVideotype3),id:"footer-card-video",style:t.normalizeStyle({background:o.backgroundColor})},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayerParenttype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayertype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamtype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.chivasIcontype3),alt:"",src:o.data.team_logo},null,10,Zne)],2),o.playerPhoto?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.playertype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.playerChildtype3),alt:"",src:o.data.player_photo},null,10,Yne)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.mintype3)},t.toDisplayString(o.data.player_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.actionstype3)},[o.categoryIcon?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.icnGoalsIcontype3),alt:"",src:o.data.icon_stat},null,10,Kne)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.min1type3)},t.toDisplayString(o.data.stat),3)],2)],6)],2)}const ese={$style:Gne},tse=Uo(bp,[["render",Qne],["__cssModules",ese]]),ase={components:{GSCCardFrecuentConnections:Wte,GSCCardVideosPlayers:wae,GSCHighlightsPostmatch:Mae,GSCPlays:tse,GSCDataGS:Bne},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},playerPhoto:{type:Boolean,default:!0},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#cf152d"},backgroundImg:{type:String,default:""},colorTitle:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},colorCard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{},methods:{onClickPlayer(e){this.$emit("onClickCard",e)},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCategory(e){this.$emit("onClickCategory",e)}}};function ose(e,a,o,n,s,i){const r=t.resolveComponent("GSCCardFrecuentConnections"),c=t.resolveComponent("GSCCardVideosPlayers"),h=t.resolveComponent("GSCHighlightsPostmatch"),d=t.resolveComponent("GSCPlays"),l=t.resolveComponent("GSCDataGS");return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createBlock(r,{key:0,data:o.data,"click-card":o.clickCard,onOnClickPlayer:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","onOnClickPlayer","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createBlock(c,{key:1,data:o.data,"click-card":o.clickCard,"background-color":o.backgroundColor,"color-title":o.colorTitle,"border-color":o.borderColor,"background-img":o.backgroundImg,"customize-colors":o.customizeColors,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-color","color-title","border-color","background-img","customize-colors","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createBlock(h,{key:2,data:o.data,"click-card":o.clickCard,"background-img":o.backgroundImg,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-img","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==3?(t.openBlock(),t.createBlock(d,{key:3,data:o.data,"click-card":o.clickCard,"player-photo":o.playerPhoto,"category-icon":o.categoryIcon,"background-color":o.backgroundColor,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","player-photo","category-icon","background-color","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==4?(t.openBlock(),t.createBlock(l,{key:4,data:o.data,"show-share-button":o.showShareButton,"click-card":o.clickCard,colorcard:o.colorCard,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos,onOnClickCategory:i.onClickCategory},null,8,["data","show-share-button","click-card","colorcard","onOnClickCard","onOnClickVideos","onOnClickCategory"])):t.createCommentVNode("",!0)])}const nse=Uo(ase,[["render",ose],["__scopeId","data-v-b1f26d64"]]),sse=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},wp={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},v2=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},M2=wp.setup;wp.setup=M2?(e,a)=>(v2(),M2(e,a)):v2;const ise={ref:"gscScrollableContainer",class:"scrollable-container"},rse={class:"scrollable-arrows"},lse=["width","height","viewBox"],cse=["stroke"],dse={class:"scrollable-wrapper"},mse={class:"scrollable-arrows"},pse=["width","height","viewBox"],hse=["stroke"];function yse(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",ise,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",rse,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,cse)],8,lse))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",dse,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",mse,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,hse)],8,pse))])],2)):t.createCommentVNode("",!0)],512)}const gse=sse(wp,[["render",yse],["__scopeId","data-v-b548a08d"]]),use="_templateDataGS_xdmfq_4",fse="_gridCompo480_xdmfq_17",_se="_gridCompo_xdmfq_17",bse="_grid_xdmfq_17",wse="_grid768_xdmfq_58",Cse="_grid480_xdmfq_69",kse="_specialsMobile_xdmfq_81",Sse="_gridClass_xdmfq_89",Ese={templateDataGS:use,gridCompo480:fse,gridCompo:_se,grid:bse,grid768:wse,grid480:Cse,specialsMobile:kse,gridClass:Sse},Nse={components:{GSCData:gte,GSCCard:nse,GSCSlider:gse,GSCMentionsCards:xY},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef2GSDa"),{elementSize:a}=QZ(e);return{myDivRef2GSDa:e,elementSize:a}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{},specials:[]}},computed:{gridCompoClass(){return this.elementSize.width<=720?this.$style.gridCompo480:this.$style.gridCompo},gridClass(){const e=this.elementSize.width;return e<=620?this.$style.grid480:e<=900?this.$style.grid768:this.$style.grid}},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{openmedia(e){this.$emit("openmedia",e)},onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[39,55,41,42,264,304,306,608,324,323,362,371,380,355,49,50,267,308]:a=e.category:e.category==0?a=[12,19,31,32,13,25,6,11,23,4,5,24,15,607,10,27,216,217,155,164,173,30,98,101,104,105,109,112,115,116,17,2,20]:a=e.category:e.type==3?e.category==0?a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308]:a=e.category:e.category!=0?a=e.category:a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308],a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);const o=[1,2,3];let n={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.category!==0&&(n.advancedFilter.mainCategoryId=e.category),this.$emit("openmedia",n)},async getStats(e){const a=KZ.create({headers:{Authorization:`${this.token}`}}),o=await a.get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+e.season+"/games/"+e.game),n=await a.get("https://55sbpmq0f5.execute-api.us-west-2.amazonaws.com/prod/specialMentions/"+e.game);for(let s=0;s<o.data.games[0].players.length;s++)e.home_team_id==o.data.games[0].players[s].team_id&&this.homeTeam.push({id_season:o.data.games[0].players[s].season_id,color:o.data.games[0].players[s].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[s].player_id,player_name:o.data.games[0].players[s].player_name,background:o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]:"",player_photo:o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]:"",category_stats_1:this.prematch?o.data.games[0].players[s].games_played:o.data.games[0].players[s].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[s].minutes_played:o.data.games[0].players[s].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[s].categories[0].total:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[s].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[s].categories[0].categories:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[s].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[s].categories[0].category_name:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[s].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[s].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[s].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[s].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[s].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[s].info_thumbnails.colors.font_color}),e.away_team_id==o.data.games[0].players[s].team_id&&this.awayTeam.push({id_season:o.data.games[0].players[s].season_id,color:o.data.games[0].players[s].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[s].player_id,player_name:o.data.games[0].players[s].player_name,background:o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.background_player_in_action[0]:"",player_photo:o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[s].info_thumbnails.images.player_in_action[0]:"",category_stats_1:this.prematch?o.data.games[0].players[s].games_played:o.data.games[0].players[s].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[s].minutes_played:o.data.games[0].players[s].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[s].categories[0].total:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[s].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[s].categories[0].categories:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[s].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[s].categories[0].category_name:o.data.games[0].players[s].categories[1]?o.data.games[0].players[s].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[s].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[s].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[s].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[s].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[s].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[s].info_thumbnails.colors.font_color});this.specials=n.data.data}}},$se={style:{margin:"0 auto",width:"100%"}},Bse={style:{margin:"0 auto",width:"100%"}};function xse(e,a,o,n,s,i){const r=t.resolveComponent("GSCData"),c=t.resolveComponent("GSCMentionsCards"),h=t.resolveComponent("GSCSlider"),d=t.resolveComponent("GSCCard");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.templateDataGS),ref:"myDivRef2GSDa"},[o.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-80)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[t.createElementVNode("div",$se,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.home_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4),t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-80)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[t.createElementVNode("div",Bse,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.away_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.specialsMobile)},[t.createVNode(h,{"px-scroll":305,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"none",arrowsContainerBgR:"none",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd","background-color":"#172531"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l,"is-slider":!0},null,8,["data"]))),128))]),_:1})],2),t.createElementVNode("div",{class:t.normalizeClass([i.gridClass,e.$style.gridClass])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l},null,8,["data"]))),128))],2)],64)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-50)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.homeTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4),t.createElementVNode("div",{style:t.normalizeStyle(n.elementSize.width>720?"width:"+(n.elementSize.width-50)/2+"px":"width:"+(n.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.awayTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4)],2))],2)}const Vse={$style:Ese},H2=J_(Nse,[["render",xse],["__cssModules",Vse],["__scopeId","data-v-f2e12e9a"]]),zMe="",FMe="",Ise={class:"datagame-container"},Ase=Ae({__name:"GSCDatosGSMain",props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,n=t.ref(0);t.watch(()=>o.game,i=>{n.value=i.gameId},{deep:!0,immediate:!0});function s(i){a("openmedia",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",Ise,[e.game.status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:s,key:n.value,type:0,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:1}},null,8,["data"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:s,key:n.value,type:1,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2}},null,8,["data"])):t.createCommentVNode("",!0)],64))]))}},[["__scopeId","data-v-987ca510"]]);function U2(e,a){return function(){return e.apply(a,arguments)}}const{toString:Ose}=Object.prototype,{getPrototypeOf:Cp}=Object,Rr=(e=>a=>{const o=Ose.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),la=e=>(e=e.toLowerCase(),a=>Rr(a)===e),Pr=e=>a=>typeof a===e,{isArray:Go}=Array,cs=Pr("undefined");function Tse(e){return e!==null&&!cs(e)&&e.constructor!==null&&!cs(e.constructor)&&At(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const G2=la("ArrayBuffer");function zse(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&G2(e.buffer),a}const Fse=Pr("string"),At=Pr("function"),W2=Pr("number"),Dr=e=>e!==null&&typeof e=="object",Rse=e=>e===!0||e===!1,jr=e=>{if(Rr(e)!=="object")return!1;const a=Cp(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Pse=la("Date"),Dse=la("File"),jse=la("Blob"),Lse=la("FileList"),vse=e=>Dr(e)&&At(e.pipe),Mse=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||At(e.append)&&((a=Rr(e))==="formdata"||a==="object"&&At(e.toString)&&e.toString()==="[object FormData]"))},Hse=la("URLSearchParams"),Use=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ds(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Go(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function q2(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const J2=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),X2=e=>!cs(e)&&e!==J2;function kp(){const{caseless:e}=X2(this)&&this||{},a={},o=(n,s)=>{const i=e&&q2(a,s)||s;jr(a[i])&&jr(n)?a[i]=kp(a[i],n):jr(n)?a[i]=kp({},n):Go(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&ds(arguments[n],o);return a}const Gse=(e,a,o,{allOwnKeys:n}={})=>(ds(a,(s,i)=>{o&&At(s)?e[i]=U2(s,o):e[i]=s},{allOwnKeys:n}),e),Wse=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),qse=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},Jse=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Cp(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},Xse=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},Zse=e=>{if(!e)return null;if(Go(e))return e;let a=e.length;if(!W2(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},Yse=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Cp(Uint8Array)),Kse=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},Qse=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},eie=la("HTMLFormElement"),tie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),Z2=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),aie=la("RegExp"),Y2=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};ds(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},oie=e=>{Y2(e,(a,o)=>{if(At(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(At(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},nie=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Go(e)?n(e):n(String(e).split(a)),o},sie=()=>{},iie=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Sp="abcdefghijklmnopqrstuvwxyz",K2="0123456789",Q2={DIGIT:K2,ALPHA:Sp,ALPHA_DIGIT:Sp+Sp.toUpperCase()+K2},rie=(e=16,a=Q2.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function lie(e){return!!(e&&At(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cie=e=>{const a=new Array(10),o=(n,s)=>{if(Dr(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Go(n)?[]:{};return ds(n,(r,c)=>{const h=o(r,s+1);!cs(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},die=la("AsyncFunction"),mie=e=>e&&(Dr(e)||At(e))&&At(e.then)&&At(e.catch),H={isArray:Go,isArrayBuffer:G2,isBuffer:Tse,isFormData:Mse,isArrayBufferView:zse,isString:Fse,isNumber:W2,isBoolean:Rse,isObject:Dr,isPlainObject:jr,isUndefined:cs,isDate:Pse,isFile:Dse,isBlob:jse,isRegExp:aie,isFunction:At,isStream:vse,isURLSearchParams:Hse,isTypedArray:Yse,isFileList:Lse,forEach:ds,merge:kp,extend:Gse,trim:Use,stripBOM:Wse,inherits:qse,toFlatObject:Jse,kindOf:Rr,kindOfTest:la,endsWith:Xse,toArray:Zse,forEachEntry:Kse,matchAll:Qse,isHTMLForm:eie,hasOwnProperty:Z2,hasOwnProp:Z2,reduceDescriptors:Y2,freezeMethods:oie,toObjectSet:nie,toCamelCase:tie,noop:sie,toFiniteNumber:iie,findKey:q2,global:J2,isContextDefined:X2,ALPHABET:Q2,generateString:rie,isSpecCompliantForm:lie,toJSONObject:cie,isAsyncFn:die,isThenable:mie};function ge(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}H.inherits(ge,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const eb=ge.prototype,tb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{tb[e]={value:e}}),Object.defineProperties(ge,tb),Object.defineProperty(eb,"isAxiosError",{value:!0}),ge.from=(e,a,o,n,s,i)=>{const r=Object.create(eb);return H.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),ge.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const pie=null;function Ep(e){return H.isPlainObject(e)||H.isArray(e)}function ab(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function ob(e,a,o){return e?e.concat(a).map(function(n,s){return n=ab(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function hie(e){return H.isArray(e)&&!e.some(Ep)}const yie=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function Lr(e,a,o){if(!H.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=H.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!H.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(a);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(H.isDate(g))return g.toISOString();if(!c&&H.isBlob(g))throw new ge("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(g)||H.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(H.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(H.isArray(g)&&hie(g)||(H.isFileList(g)||H.endsWith(y,"[]"))&&(f=H.toArray(g)))return y=ab(y),f.forEach(function(b,k){!(H.isUndefined(b)||b===null)&&a.append(r===!0?ob([y],k,i):r===null?y:y+"[]",h(b))}),!1}return Ep(g)?!0:(a.append(ob(u,y,i),h(g)),!1)}const l=[],m=Object.assign(yie,{defaultVisitor:d,convertValue:h,isVisitable:Ep});function p(g,y){if(!H.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),H.forEach(g,function(u,f){(!(H.isUndefined(u)||u===null)&&s.call(a,u,H.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return p(e),a}function nb(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Np(e,a){this._pairs=[],e&&Lr(e,this,a)}const sb=Np.prototype;sb.append=function(e,a){this._pairs.push([e,a])},sb.toString=function(e){const a=e?function(o){return e.call(this,o,nb)}:nb;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function gie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ib(e,a,o){if(!a)return e;const n=o&&o.encode||gie,s=o&&o.serialize;let i;if(s?i=s(a,o):i=H.isURLSearchParams(a)?a.toString():new Np(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const rb=class{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){H.forEach(this.handlers,function(o){o!==null&&a(o)})}},lb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uie=typeof URLSearchParams<"u"?URLSearchParams:Np,fie=typeof FormData<"u"?FormData:null,_ie=typeof Blob<"u"?Blob:null,bie={isBrowser:!0,classes:{URLSearchParams:uie,FormData:fie,Blob:_ie},protocols:["http","https","file","blob","url","data"]},cb=typeof window<"u"&&typeof document<"u",wie=(e=>cb&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Cie=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),kie=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:cb,hasStandardBrowserEnv:wie,hasStandardBrowserWebWorkerEnv:Cie},Symbol.toStringTag,{value:"Module"})),ca={...kie,...bie};function Sie(e,a){return Lr(e,new ca.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ca.isNode&&H.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Eie(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Nie(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function db(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&H.isArray(s)?s.length:r,h?(H.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!H.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&H.isArray(s[r])&&(s[r]=Nie(s[r])),!c)}if(H.isFormData(e)&&H.isFunction(e.entries)){const o={};return H.forEachEntry(e,(n,s)=>{a(Eie(n),s,o,0)}),o}return null}function $ie(e,a,o){if(H.isString(e))try{return(a||JSON.parse)(e),H.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const $p={transitional:lb,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=H.isObject(e);if(s&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return n&&n?JSON.stringify(db(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Sie(e,this.formSerializer).toString();if((i=H.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Lr(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),$ie(e)):e}],transformResponse:[function(e){const a=this.transitional||$p.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&H.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?ge.from(i,ge.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ca.classes.FormData,Blob:ca.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],e=>{$p.headers[e]={}});const Bp=$p,Bie=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xie=e=>{const a={};let o,n,s;return e&&e.split(`
44
44
  `).forEach(function(i){s=i.indexOf(":"),o=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!o||a[o]&&Bie[o])&&(o==="set-cookie"?a[o]?a[o].push(n):a[o]=[n]:a[o]=a[o]?a[o]+", "+n:n)}),a},mb=Symbol("internals");function ms(e){return e&&String(e).trim().toLowerCase()}function vr(e){return e===!1||e==null?e:H.isArray(e)?e.map(vr):String(e)}function Vie(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=o.exec(e);)a[n[1]]=n[2];return a}const Iie=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xp(e,a,o,n,s){if(H.isFunction(n))return n.call(this,a,o);if(s&&(a=o),!!H.isString(a)){if(H.isString(n))return a.indexOf(n)!==-1;if(H.isRegExp(n))return n.test(a)}}function Aie(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,n)=>o.toUpperCase()+n)}function Oie(e,a){const o=H.toCamelCase(" "+a);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+o,{value:function(s,i,r){return this[n].call(this,a,s,i,r)},configurable:!0})})}let Mr=class{constructor(a){a&&this.set(a)}set(a,o,n){const s=this;function i(c,h,d){const l=ms(h);if(!l)throw new Error("header name must be a non-empty string");const m=H.findKey(s,l);(!m||s[m]===void 0||d===!0||d===void 0&&s[m]!==!1)&&(s[m||h]=vr(c))}const r=(c,h)=>H.forEach(c,(d,l)=>i(d,l,h));return H.isPlainObject(a)||a instanceof this.constructor?r(a,o):H.isString(a)&&(a=a.trim())&&!Iie(a)?r(xie(a),o):a!=null&&i(o,a,n),this}get(a,o){if(a=ms(a),a){const n=H.findKey(this,a);if(n){const s=this[n];if(!o)return s;if(o===!0)return Vie(s);if(H.isFunction(o))return o.call(this,s,n);if(H.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=ms(a),a){const n=H.findKey(this,a);return!!(n&&this[n]!==void 0&&(!o||xp(this,this[n],n,o)))}return!1}delete(a,o){const n=this;let s=!1;function i(r){if(r=ms(r),r){const c=H.findKey(n,r);c&&(!o||xp(n,n[c],c,o))&&(delete n[c],s=!0)}}return H.isArray(a)?a.forEach(i):i(a),s}clear(a){const o=Object.keys(this);let n=o.length,s=!1;for(;n--;){const i=o[n];(!a||xp(this,this[i],i,a,!0))&&(delete this[i],s=!0)}return s}normalize(a){const o=this,n={};return H.forEach(this,(s,i)=>{const r=H.findKey(n,i);if(r){o[r]=vr(s),delete o[i];return}const c=a?Aie(i):String(i).trim();c!==i&&delete o[i],o[c]=vr(s),n[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return H.forEach(this,(n,s)=>{n!=null&&n!==!1&&(o[s]=a&&H.isArray(n)?n.join(", "):n)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
45
45
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const n=new this(a);return o.forEach(s=>n.set(s)),n}static accessor(a){const o=(this[mb]=this[mb]={accessors:{}}).accessors,n=this.prototype;function s(i){const r=ms(i);o[r]||(Oie(n,i),o[r]=!0)}return H.isArray(a)?a.forEach(s):s(a),this}};Mr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(Mr.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),H.freezeMethods(Mr);const za=Mr;function Vp(e,a){const o=this||Bp,n=a||o,s=za.from(n.headers);let i=n.data;return H.forEach(e,function(r){i=r.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function pb(e){return!!(e&&e.__CANCEL__)}function ps(e,a,o){ge.call(this,e??"canceled",ge.ERR_CANCELED,a,o),this.name="CanceledError"}H.inherits(ps,ge,{__CANCEL__:!0});function Tie(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new ge("Request failed with status code "+o.status,[ge.ERR_BAD_REQUEST,ge.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const zie=ca.hasStandardBrowserEnv?{write(e,a,o,n,s,i){const r=[e+"="+encodeURIComponent(a)];H.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),H.isString(n)&&r.push("path="+n),H.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Fie(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Rie(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function hb(e,a){return e&&!Fie(a)?Rie(e,a):a}const Pie=ca.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function n(s){let i=s;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=n(window.location.href),function(s){const i=H.isString(s)?n(s):s;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function Die(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function jie(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=n[i];r||(r=h),o[s]=c,n[s]=h;let l=i,m=0;for(;l!==s;)m+=o[l++],l=l%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function yb(e,a){let o=0;const n=jie(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const Lie=typeof XMLHttpRequest<"u",vie=Lie&&function(e){return new Promise(function(a,o){let n=e.data;const s=za.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(H.isFormData(n)){if(ca.hasStandardBrowserEnv||ca.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[y,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([y||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+u))}const m=hb(e.baseURL,e.url);l.open(e.method.toUpperCase(),ib(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const y=za.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:e,request:l};Tie(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new ge("Request aborted",ge.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new ge("Network Error",ge.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||lb;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),o(new ge(y,u.clarifyTimeoutError?ge.ETIMEDOUT:ge.ECONNABORTED,e,l)),l=null},ca.hasStandardBrowserEnv&&(r&&H.isFunction(r)&&(r=r(e)),r||r!==!1&&Pie(m))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&zie.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}n===void 0&&s.setContentType(null),"setRequestHeader"in l&&H.forEach(s.toJSON(),function(y,u){l.setRequestHeader(u,y)}),H.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",yb(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",yb(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=y=>{l&&(o(!y||y.type?new ps(null,e,l):y),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const g=Die(m);if(g&&ca.protocols.indexOf(g)===-1){o(new ge("Unsupported protocol "+g+":",ge.ERR_BAD_REQUEST,e));return}l.send(n||null)})},Ip={http:pie,xhr:vie};H.forEach(Ip,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const gb=e=>`- ${e}`,Mie=e=>H.isFunction(e)||e===null||e===!1,ub={getAdapter:e=>{e=H.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!Mie(o)&&(n=Ip[(r=String(o)).toLowerCase()],n===void 0))throw new ge(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
46
46
  `+i.map(gb).join(`
@@ -57,7 +57,7 @@
57
57
  * Vue 3 Carousel 0.3.1
58
58
  * (c) 2023
59
59
  * @license MIT
60
- */const dt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},p4={itemsToShow:{default:dt.itemsToShow,type:Number},itemsToScroll:{default:dt.itemsToScroll,type:Number},wrapAround:{default:dt.wrapAround,type:Boolean},throttle:{default:dt.throttle,type:Number},snapAlign:{default:dt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:dt.transition,type:Number},breakpoints:{default:dt.breakpoints,type:Object},autoplay:{default:dt.autoplay,type:Number},pauseAutoplayOnHover:{default:dt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:dt.mouseDrag,type:Boolean},touchDrag:{default:dt.touchDrag,type:Boolean},dir:{default:dt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:dt.i18n,type:Object},settings:{default(){return{}},type:Object}};function Ege({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function Nge({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function Ch({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function $ge({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:Ch({val:r,max:o-i,min:0})}function h4(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...h4(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function kh({val:e,max:a,min:o=0}){return e>a?kh({val:e-(a+1),max:a,min:o}):e<o?kh({val:e+(a+1),max:a,min:o}):e}function Bge(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function xge(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function Vge(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var Ige=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},dt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},Vge(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),Age=t.defineComponent({name:"Carousel",props:p4,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},dt));let l=Object.assign({},dt),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=xge(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=Ege({config:d,slidesCount:h.value}),f.value=Nge({config:d,slidesCount:h.value}),d.wrapAround||(p.value=Ch({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=Bge(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:Ch({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=kh({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>$ge({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(p4).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=h4(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(Ige)])}}}),y4;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(y4||(y4={}));var Oge=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},dt))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const Tge=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},zge=e=>(t.pushScopeId("data-v-90e920a8"),e=e(),t.popScopeId(),e),Fge={class:"gsc-carousel"},Rge={key:0},Pge=zge(()=>t.createElementVNode("div",null,"no hay",-1)),Dge=[Pge],jge={class:"gsc-carousel__2d__slides"},Lge={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vge=["fill"],Mge={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hge=["fill"],Uge={class:"gsc-carousel__2d__navigation"},Gge={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Wge=["stroke"],qge={key:1,class:"gsc-carousel__2d__navigation__pagination"},Jge=["onClick"],Xge={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zge=["stroke"],Yge={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(p=>({"626419c6":e.slideLeftArrowBackgroundImage,"33615c64":e.slidesArrowsLeftAndRight,a34210f6:e.slideRightArrowBackgroundImage,"01877491":e.marginTop,"09f1302b":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0);t.watch(s,p=>{p&&p.slideTo&&p.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,p=>{r.value!==p&&d(p)}),t.watch(()=>n.items,p=>{if(p&&p.length&&s.value){if(n.defaultItemByProp){const g=n.items.findIndex(y=>y[n.defaultItemByProp.propName]===n.defaultItemByProp.value);g!==-1?(r.value=g,i.value=p[g]):(r.value=0,i.value=p[0])}else r.value=n.defaultItemByIndex,i.value=p[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}},{immediate:!0});function c(){s.value&&s.value.next()}function h(){s.value&&s.value.prev()}function d(p){s.value&&s.value.slideTo(p)}function l(p){s.value.slideTo(p)}function m(p){const g=p.slidingToIndex<0?n.items.length-1:p.slidingToIndex===n.items.length?0:p.slidingToIndex;r.value=g,i.value=n.items[g],o("update:currentItemIndex",g),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:h,next:c,slideTo:d}),(p,g)=>(t.openBlock(),t.createElementBlock("div",Fge,[n.is3d?(t.openBlock(),t.createElementBlock("div",Rge,Dge)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",jge,[t.createVNode(t.unref(Age),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:m},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(y,u)=>(t.openBlock(),t.createBlock(t.unref(Oge),{key:u},{default:t.withCtx(()=>[t.renderSlot(p.$slots,"default",{item:y},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:g[0]||(g[0]=y=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",Lge,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,vge)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:g[1]||(g[1]=y=>s.value.next())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",Mge,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,Hge)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",Uge,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:g[2]||(g[2]=y=>s.value.prev())},[(t.openBlock(),t.createElementBlock("svg",Gge,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,Wge)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",qge,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${u}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===u?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===u?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:f=>l(u)},null,12,Jge))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:g[3]||(g[3]=y=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",Xge,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,Zge)]))])):t.createCommentVNode("",!0)])],2))]))}},Kge=Tge(Yge,[["__scopeId","data-v-90e920a8"]]),Sh=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o};let g4=null;const Eh={components:{},props:{titleCategory:{type:String,default:"RESUMEN"},dateGame:{type:String,default:""},colorBackgroundHome:{type:String,default:"#000000"},colorBackgroundAway:{type:String,default:"#FFFFFF"},logoHome:{type:String,default:""},matchday:{type:String,default:""},seasonName:{type:String,default:""},logoAway:{type:String,default:""},score:{type:String,default:""},background:{type:String,default:""}},data(){return{gamesContainerWidth:0}},computed:{date(){const e=this.gamesContainerWidth;return e<=400?"date400":e<=540?"date540":e<=650?"date650":"date"},seasoncontainer(){const e=this.gamesContainerWidth;return e<=400?"season-container400":e<=540?"season-container540":e<=650?"season-container650":"season-container"},matchcontainer(){const e=this.gamesContainerWidth;return e<=400?"match-container400":e<=540?"match-container540":e<=650?"match-container650":"match-container"},containerinfogame(){const e=this.gamesContainerWidth;return e<=400?"container-info-game400":e<=540?"container-info-game540":e<=650?"container-info-game650":"container-info-game"},playbutton(){const e=this.gamesContainerWidth;return e<=400?"play-button400":e<=540?"play-button540":e<=650?"play-button650":"play-button"},baselogo(){const e=this.gamesContainerWidth;return e<=400?"base-logo400":e<=540?"base-logo540":e<=650?"base-logo650":"base-logo"},baselogoright(){const e=this.gamesContainerWidth;return e<=400?"base-logo-right400":e<=540?"base-logo-right540":e<=650?"base-logo-right650":"base-logo-right"},thumbnailhighlights(){const e=this.gamesContainerWidth;return e<=400?"thumbnail-highlights400":e<=540?"thumbnail-highlights540":e<=650?"thumbnail-highlights650":"thumbnail-highlights"},teamlogo(){const e=this.gamesContainerWidth;return e<=400?"team-logo400":e<=540?"team-logo540":e<=650?"team-logo650":"team-logo"},logoright(){const e=this.gamesContainerWidth;return e<=400?"logo-right400":e<=540?"logo-right540":e<=650?"logo-right650":"logo-right"},secondline(){const e=this.gamesContainerWidth;return e<=400?"second-line400":e<=540?"second-line540":e<=650?"second-line650":"second-line"},titlename(){const e=this.gamesContainerWidth;return e<=400?"title-name400":e<=540?"title-name540":e<=650?"title-name650":"title-name"}},methods:{onclickPlayVideos(){console.log("LLegada nuevomer 3"),this.$emit("onclickPlayVideos")},setUpResizeObserver(){if(window.ResizeObserver)g4=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),g4.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")}},mounted(){setTimeout(()=>{this.setUpResizeObserver()},100)}},u4=()=>{t.useCssVars(e=>({"137b6428":e.colorBackgroundHome+"45","627a5d86":e.colorBackgroundAway+"45",b17f6084:e.colorBackgroundHome,b1858466:e.colorBackgroundAway}))},f4=Eh.setup;Eh.setup=f4?(e,a)=>(u4(),f4(e,a)):u4;const gl=e=>(t.pushScopeId("data-v-ec783198"),e=e(),t.popScopeId(),e),Qge=gl(()=>t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[t.createElementVNode("path",{d:"M6.6041 22.8554C6.42105 22.7512 6.26805 22.5956 6.1616 22.4053C6.05515 22.215 5.99927 21.9973 6.00001 21.7755V2.22137C6.00026 2.00039 6.0565 1.78362 6.16274 1.59409C6.26899 1.40456 6.42127 1.24936 6.6034 1.14499C6.78553 1.04062 6.9907 0.990981 7.1971 1.00135C7.4035 1.01171 7.60342 1.0817 7.77561 1.20386L21.4907 10.9821C21.6473 11.0935 21.7758 11.2446 21.8646 11.4219C21.9535 11.5992 22 11.7973 22 11.9985C22 12.1996 21.9535 12.3977 21.8646 12.575C21.7758 12.7523 21.6473 12.9034 21.4907 13.0148L7.77561 22.7954C7.60369 22.9178 7.40392 22.988 7.19761 22.9986C6.9913 23.0092 6.78617 22.9597 6.6041 22.8554ZM7.14347 21.7779L20.8585 11.9996L7.14347 21.7779Z",fill:"#CBEE6B"})],-1)),e0e=[Qge],t0e=gl(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/paper-texture.png",alt:"",class:"paper-texture position-image"},null,-1)),a0e=["src"],o0e=gl(()=>t.createElementVNode("div",{class:"gradient-back position-image"},null,-1)),n0e=gl(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/halftone-texture.png",alt:"",class:"halftone-texture position-image"},null,-1)),s0e=["src"],i0e=["src"],r0e={class:"text-container"};function l0e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{ref:"gamesContainer",class:t.normalizeClass(i.thumbnailhighlights)},[t.createElementVNode("div",{class:t.normalizeClass(i.playbutton),onClick:a[0]||(a[0]=(...r)=>i.onclickPlayVideos&&i.onclickPlayVideos(...r))},e0e,2),o.dateGame!=""?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.date)},t.toDisplayString(o.dateGame),3)):t.createCommentVNode("",!0),o.matchday!=""&&o.seasonName!=""?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containerinfogame)},[o.matchday!=""?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.matchcontainer)},t.toDisplayString(o.matchday),3)):t.createCommentVNode("",!0),o.seasonName!=""?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.seasoncontainer)},t.toDisplayString(o.seasonName),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),t0e,t.createElementVNode("img",{src:o.background,alt:"",class:"bkg-blackwhite position-image"},null,8,a0e),t.createElementVNode("div",{class:t.normalizeClass([i.baselogo,"position-image"])},null,2),t.createElementVNode("div",{class:t.normalizeClass(i.baselogoright)},null,2),o0e,n0e,t.createElementVNode("img",{src:o.logoHome,alt:"",class:t.normalizeClass(i.teamlogo)},null,10,s0e),t.createElementVNode("img",{src:o.logoAway,alt:"",class:t.normalizeClass(i.logoright)},null,10,i0e),t.createElementVNode("div",r0e,[t.createElementVNode("span",{class:t.normalizeClass(i.secondline)},t.toDisplayString(o.score),3),t.createElementVNode("div",{class:t.normalizeClass(i.titlename)},t.toDisplayString(o.titleCategory),3)])],2)}const c0e=Sh(Eh,[["render",l0e],["__scopeId","data-v-ec783198"]]);let _4=null;const Nh={components:{},props:{type:{type:Number,default:0},colorBackgroundHome:{type:String,default:"#000000"},colorBackgroundAway:{type:String,default:"#FFFFFF"},nameCategory:{type:String,default:""},photoProfile:{type:String,default:""},logoHome:{type:String,default:""},logoAway:{type:String,default:""},scoreHome:{type:String,default:""},scoreAway:{type:String,default:""},background:{type:String,default:""},typeImg:{type:Number,default:0},nameHomeTeam:{type:String,default:""},nameAwayTeam:{type:String,default:""},namePlayer:{type:String,default:""}},data(){return{gamesContainerWidth:0}},computed:{playbutton(){const e=this.gamesContainerWidth;return e<=400?"play-button400":e<=540?"play-button540":e<=650?"play-button650":"play-button"},points(){const e=this.gamesContainerWidth;return e<=400?"points400":e<=540?"points540":e<=650?"points650":"points"},teamname(){const e=this.gamesContainerWidth;return e<=400?"team-name400":e<=540?"team-name540":e<=650?"team-name650":"team-name"},teamscore(){const e=this.gamesContainerWidth;return e<=400?"team-score400":e<=540?"team-score540":e<=650?"team-score650":"team-score"},teamlogo(){const e=this.gamesContainerWidth;return e<=400?"team-logo400":e<=540?"team-logo540":e<=650?"team-logo650":"team-logo"},hometeam(){const e=this.gamesContainerWidth;return e<=400?"home-team400":e<=540?"home-team540":e<=650?"home-team650":"home-team"},awayteam(){const e=this.gamesContainerWidth;return e<=400?"away-team400":e<=540?"away-team540":e<=650?"away-team650":"away-team"},texttitle(){const e=this.gamesContainerWidth;return e<=400?"text-title400":e<=540?"text-title540":e<=650?"text-title650":"text-title"},texttitle2(){const e=this.gamesContainerWidth;return e<=300?"text-title2400":e<=540?"text-title2540":e<=650?"text-title2650":"text-title2"},playerimage(){const e=this.gamesContainerWidth;return e<=400?"player-image400":e<=540?"player-image540":e<=650?"player-image650":"player-image"},thumbnailhighlights(){const e=this.gamesContainerWidth;return e<=400?"thumbnail-highlights400":e<=540?"thumbnail-highlights540":e<=650?"thumbnail-highlights650":"thumbnail-highlights"}},methods:{onclickPlayVideos(){this.$emit("onclickPlayVideos")},setUpResizeObserver(){if(window.ResizeObserver)_4=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),_4.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")}},mounted(){setTimeout(()=>{this.setUpResizeObserver()},100)}},b4=()=>{t.useCssVars(e=>({"0e80afc1":e.colorBackgroundHome,"0e7d9dd0":e.colorBackgroundAway,"7445fb82":e.colorBackgroundAway+"62","254717b2":e.colorBackgroundHome+"36"}))},w4=Nh.setup;Nh.setup=w4?(e,a)=>(b4(),w4(e,a)):b4;const ul=e=>(t.pushScopeId("data-v-b80320df"),e=e(),t.popScopeId(),e),d0e=ul(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/paper-texture.png",alt:"",class:"paper-texture position-image"},null,-1)),m0e=ul(()=>t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[t.createElementVNode("path",{d:"M6.6041 22.8554C6.42105 22.7512 6.26805 22.5956 6.1616 22.4053C6.05515 22.215 5.99927 21.9973 6.00001 21.7755V2.22137C6.00026 2.00039 6.0565 1.78362 6.16274 1.59409C6.26899 1.40456 6.42127 1.24936 6.6034 1.14499C6.78553 1.04062 6.9907 0.990981 7.1971 1.00135C7.4035 1.01171 7.60342 1.0817 7.77561 1.20386L21.4907 10.9821C21.6473 11.0935 21.7758 11.2446 21.8646 11.4219C21.9535 11.5992 22 11.7973 22 11.9985C22 12.1996 21.9535 12.3977 21.8646 12.575C21.7758 12.7523 21.6473 12.9034 21.4907 13.0148L7.77561 22.7954C7.60369 22.9178 7.40392 22.988 7.19761 22.9986C6.9913 23.0092 6.78617 22.9597 6.6041 22.8554ZM7.14347 21.7779L20.8585 11.9996L7.14347 21.7779Z",fill:"#CBEE6B"})],-1)),p0e=[m0e],h0e={class:"player-container"},y0e=["src"],g0e=["src"],u0e=["src"],f0e={class:"container-score"},_0e=["src"],b0e=["src"],w0e=["src"],C0e=ul(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/halftone-texture.png",alt:"",class:"halftone-texture position-image"},null,-1)),k0e=ul(()=>t.createElementVNode("div",{class:"gradient-color"},null,-1));function S0e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{ref:"gamesContainer",class:t.normalizeClass(i.thumbnailhighlights)},[d0e,t.createElementVNode("div",{class:t.normalizeClass(i.playbutton),onClick:a[0]||(a[0]=(...r)=>i.onclickPlayVideos&&i.onclickPlayVideos(...r))},p0e,2),t.createElementVNode("div",h0e,[o.type==0?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(i.texttitle)},t.toDisplayString(o.nameCategory),3)):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(i.texttitle2)},t.toDisplayString(o.nameCategory),3)),o.typeImg==0?(t.openBlock(),t.createElementBlock("img",{key:2,src:o.photoProfile,class:t.normalizeClass(i.playerimage)},null,10,y0e)):t.createCommentVNode("",!0),o.typeImg==1?(t.openBlock(),t.createElementBlock("img",{key:3,src:o.photoProfile,alt:""},null,8,g0e)):t.createCommentVNode("",!0),o.typeImg==2?(t.openBlock(),t.createElementBlock("img",{key:4,src:o.photoProfile,class:"img-number"},null,8,u0e)):t.createCommentVNode("",!0),t.createElementVNode("div",f0e,[t.createElementVNode("div",{class:t.normalizeClass(i.hometeam)},[t.createElementVNode("span",{class:t.normalizeClass(i.teamname)},t.toDisplayString(o.nameHomeTeam),3),t.createElementVNode("img",{src:o.logoHome,alt:"",class:t.normalizeClass(i.teamlogo)},null,10,_0e),t.createElementVNode("span",{class:t.normalizeClass(i.teamscore)},t.toDisplayString(o.scoreHome),3)],2),t.createElementVNode("span",{class:t.normalizeClass(i.points)},":",2),t.createElementVNode("div",{class:t.normalizeClass(i.awayteam)},[t.createElementVNode("span",{class:t.normalizeClass(i.teamscore)},t.toDisplayString(o.scoreAway),3),t.createElementVNode("img",{src:o.logoAway,alt:"",class:t.normalizeClass(i.teamlogo)},null,10,b0e),t.createElementVNode("span",{class:t.normalizeClass(i.teamname)},t.toDisplayString(o.nameAwayTeam),3)],2)])]),t.createElementVNode("img",{src:o.background,alt:"",class:"bkg-blackwhite position-image"},null,8,w0e),C0e,k0e],2)}const E0e=Sh(Nh,[["render",S0e],["__scopeId","data-v-b80320df"]]),N0e={components:{GSCCarousel:Kge,GSCThumbnailHighlightGameHistoric:c0e,GSCThumbnailHighlightGamePlayer:E0e},props:{items:{type:Array,default:()=>[1,2,3]},data:{type:Object,default:()=>{}},title:{type:String,default:"TODAS SUS JUGADAS"}},data(){return{highlightsWidth:0,printData:[],resizeObserverGSCH:null,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE"}},watch:{data:{immediate:!0,handler(e){this.getData(e)}}},computed:{isMobile(){return this.highlightsWidth<580},carouselProps(){return this.isMobile?{wrapAround:!0,itemsToShow:1.2,isMainSlidePriority:!0,areSlidesArrowsVisible:!1,areSlidesArrowsRounded:!1,areNavigationArrowsVisible:!1,isPaginationVisible:!0}:{wrapAround:!0,itemsToShow:1.8,isMainSlidePriority:!0,areSlidesArrowsVisible:!0,areSlidesArrowsRounded:!0,areNavigationArrowsVisible:!1}}},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.data.position_id==1?e.data.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.data.category:e.data.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.data.category:e.type==3?e.data.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.data.category:e.data.category!=0?a=e.data.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];let n={seasonId:e.data.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.data.game_id?[e.data.game_id]:null,playerIds:e.data.position_id!=1?e.data.player_id?[e.data.player_id]:[]:[],goalkeeperIds:e.data.position_id==1?e.data.player_id?[e.data.player_id]:[]:[],teamId:e.data.team_id?[e.data.team_id]:0,matchResult:e.data.matchResult?[data.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.data.category!==0&&(n.advancedFilter.mainCategoryId=e.data.category),this.$emit("openmedia",n)},play(e){this.$emit("play",e)},async getData(e){const a=Sge.create({headers:{Authorization:`${this.token}`}});var o=[],n={};if(e.type=="player"){const s=await a.get("https://uof4tt5l46.execute-api.us-west-2.amazonaws.com/prod/v3/playerInfo/"+e.season+"/"+e.player);for(let i=0;i<s.data.seasons[e.season].games_played.length;i++)Math.floor(Math.random()*s.data.seasons[e.season].games_played[i].info_thumbnails.images.background_default_games.length),n={category:0,player_id:s.data.player_id,position_id:s.data.position_id,color:s.data.info_thumbnails.colors.background_color,photo_profile:"https://golstatsimages.blob.core.windows.net/images-library/"+s.data.info_thumbnails.images.player_in_action[0],team_logo:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games_played[i].home_team+".png",player_name:s.data.seasons[e.season].games_played[i].home_team_acronym+" "+s.data.seasons[e.season].games_played[i].home_team_score+" : "+s.data.seasons[e.season].games_played[i].visiting_team_score+" "+s.data.seasons[e.season].games_played[i].visiting_team_acronym,team_id:s.data.team_id,team_id_b:s.data.seasons[e.season].games_played[i].home_team,season_id:s.data.seasons[e.season].games_played[i].season_id,name:s.data.seasons[e.season].games_played[i].player_name,seasonname:s.data.seasons[e.season].name,match:s.data.seasons[e.season].games_played[i].matchday_name.replace("Matchday","Jor"),scorehome:s.data.seasons[e.season].games_played[i].home_team_score,scoreaway:s.data.seasons[e.season].games_played[i].visiting_team_score,hometeamacronym:s.data.seasons[e.season].games_played[i].home_team_acronym,visitingteamacronym:s.data.seasons[e.season].games_played[i].visiting_team_acronym,background:"https://golstatsimages.blob.core.windows.net/images-library/"+s.data.info_thumbnails.images.background_player_in_action[0],backgroundhome:s.data.seasons[e.season].games_played[i].info_thumbnails.home_colors.background_color,backgroundaway:s.data.seasons[e.season].games_played[i].info_thumbnails.away_colors.background_color,logohome:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games_played[i].home_team+".png",logoaway:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games_played[i].visiting_team+".png",total:s.data.seasons[e.season].games_played[i].matchday_abbreviation.replace("M","Jor "),background_card:"https://az755631.vo.msecnd.net/golstats2-teams/"+s.data.seasons[e.season].games_played[i].home_team+"_"+s.data.seasons[e.season].games_played[i].season_id+"_r1.jpg"},o.push(n)}else if(e.type=="historic"){const s=await a.get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/games/"+e.game);for(let r=0;r<s.data.plays.length;r++)n={player:"Jornada "+s.data.plays[r][6],player_name:s.data.plays[r][4],season_id:s.data.plays[r][31],game_id:s.data.plays[r][3],img:"https://img1.wallspic.com/previews/0/9/1/0/20190/20190-football_player-football-fun-player-sports-x750.jpg"},o.length>0?!o.filter(c=>c.game_id===s.data.plays[r][3]).length>0&&o.push(n):o.push(n);const i=s.data.thumbnails;for(let r=0;r<o.length;r++){const c=Math.floor(Math.random()*i[o[r].game_id].info_thumbnails.images.background_default_games.length);o[r].background="https://golstatsimages.blob.core.windows.net/images-library/"+i[o[r].game_id].info_thumbnails.images.background_default_games[c],o[r].backgroundhome=i[o[r].game_id].info_thumbnails.home_colors.background_color,o[r].backgroundaway=i[o[r].game_id].info_thumbnails.away_colors.background_color,o[r].logoaway="https://az755631.vo.msecnd.net/teams-150/"+i[o[r].game_id].info_thumbnails.away_colors.team_id+".png",o[r].logohome="https://az755631.vo.msecnd.net/teams-150/"+i[o[r].game_id].info_thumbnails.home_colors.team_id+".png",o[r].match=i[o[r].game_id].matchday_name.replace("Matchday","Jor"),o[r].seasonname=i[o[r].game_id].season_name,o[r].score=i[o[r].game_id].score[0]+" - "+i[o[r].game_id].score[1],o[r].category=0}}else{const s=await a.get("https://ws8d8ye2ii.execute-api.us-west-2.amazonaws.com/prod/v4/seasonsByTeam/"+e.team);for(let i=0;i<s.data.seasons[e.season].games.length;i++){const r=Math.floor(Math.random()*s.data.seasons[e.season].games[i].info_thumbnails.images.background_default_games.length);n={category:0,game_id:s.data.seasons[e.season].games[i].game_id,photo_profile:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].visiting_team+".png",team_logo:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].home_team+".png",player_name:s.data.seasons[e.season].games[i].home_team_acronym+" "+s.data.seasons[e.season].games[i].home_team_score+" : "+s.data.seasons[e.season].games[i].visiting_team_score+" "+s.data.seasons[e.season].games[i].visiting_team_acronym,team_id_b:s.data.seasons[e.season].games[i].home_team,season_id:s.data.seasons[e.season].games[i].season_id,name:"",seasonname:s.data.seasons[e.season].name,match:s.data.seasons[e.season].games[i].matchday_name.replace("Matchday","Jor"),score:s.data.seasons[e.season].games[i].home_team_score+" : "+s.data.seasons[e.season].games[i].visiting_team_score,background:"https://golstatsimages.blob.core.windows.net/images-library/"+s.data.seasons[e.season].games[i].info_thumbnails.images.background_default_games[r],backgroundhome:s.data.seasons[e.season].games[i].info_thumbnails.home_colors.background_color,backgroundaway:s.data.seasons[e.season].games[i].info_thumbnails.away_colors.background_color,logohome:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].home_team+".png",logoaway:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].visiting_team+".png",total:s.data.seasons[e.season].games[i].matchday_abbreviation.replace("M","Jor "),background_card:"https://az755631.vo.msecnd.net/golstats2-teams/"+s.data.seasons[e.season].games[i].home_team+"_"+s.data.seasons[e.season].games[i].season_id+"_r1.jpg"},o.push(n)}}this.printData=o},setUpResizeObserver(){this.resizeObserverGSCH=new ResizeObserver(e=>{for(const a of e)this.highlightsWidth=a.contentRect.width}),this.resizeObserverGSCH.observe(this.$refs.highlights)}},mounted(){this.setUpResizeObserver()}},$0e={ref:"highlights",class:"carousel-high-lights",id:"carousel-high-lights"};function B0e(e,a,o,n,s,i){const r=t.resolveComponent("GSCThumbnailHighlightGameHistoric"),c=t.resolveComponent("GSCThumbnailHighlightGamePlayer"),h=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",$0e,[t.createVNode(h,t.mergeProps(i.carouselProps,{items:s.printData,slideLeftArrowBackgroundImage:"linear-gradient(to right, rgba(22, 37, 49, 1), rgba(0, 0, 0, 0))",slideRightArrowBackgroundImage:"linear-gradient(to left, rgba(22, 37, 49, 1), rgba(0, 0, 0, 0))",secondarySlidesOpacity:"0.2"}),{default:t.withCtx(({item:d})=>[o.data.type=="team"||o.data.type=="historic"?(t.openBlock(),t.createBlock(r,{key:0,items:d,"color-background-home":d.backgroundhome,"color-background-away":d.backgroundaway,"logo-home":d.logohome,"logo-away":d.logoaway,background:d.background,matchday:d.match,onOnclickPlayVideos:l=>i.onclickPlayVideos({data:d,type:1}),"season-name":d.seasonname,score:d.score},null,8,["items","color-background-home","color-background-away","logo-home","logo-away","background","matchday","onOnclickPlayVideos","season-name","score"])):(t.openBlock(),t.createBlock(c,{key:1,type:"player","name-player":d.name,"type-style":"game","color-background-home":d.backgroundhome,"color-background-away":d.backgroundaway,"type-img":"0",background:d.background,"name-home-team":d.hometeamacronym,"name-away-team":d.visitingteamacronym,"name-category":o.title,onOnclickPlayVideos:l=>i.onclickPlayVideos({data:d,type:2}),"logo-away":d.logoaway,"logo-home":d.logohome,"score-home":d.scorehome,"photo-profile":d.photo_profile,"score-away":d.scoreaway},null,8,["name-player","color-background-home","color-background-away","background","name-home-team","name-away-team","name-category","onOnclickPlayVideos","logo-away","logo-home","score-home","photo-profile","score-away"]))]),_:1},16,["items"])],512)}const x0e=Sh(N0e,[["render",B0e]]);let C4=null;const V0e={components:{GSCHighlights:x0e,GSCPlayerTeamGame:S5,GSCCard:O5},props:{config:{type:Object,default:()=>{}}},computed:{gridcarrouselesitemsClass(){return this.gamesContainerWidth<=900?"grid-carrouseles-items900":"grid-carrouseles-items"},gridcarrouselesitemsitemunoClass(){return this.gamesContainerWidth<=900?"grid-carrouseles-items-itemuno900":"grid-carrouseles-items-itemuno"},gridcarrouselesitemsitemdosClass(){return this.gamesContainerWidth<=900?"grid-carrouseles-items-itemdos900":"grid-carrouseles-items-itemdos"},videopartidopltegadatosClass(){return this.gamesContainerWidth<=900?"video-partido-pltega-datos900":"video-partido-pltega-datos"},videopartidopltegaplayersClass(){return this.gamesContainerWidth<=900?"video-partido-pltega-players620":"video-partido-pltega-players"}},data(){return{gamesContainerWidth:0,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",gameInfo:{},printData:[]}},async mounted(){setTimeout(()=>{this.setUpResizeObserver()},100),this.fillData()},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.data.position_id==1?e.data.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.data.category:e.data.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.data.category:e.type==3?e.data.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.data.category:e.data.category!=0?a=e.data.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];let n={seasonId:e.data.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:null,playerIds:e.data.position_id!=1?e.data.player_id?[e.data.player_id]:[]:[],goalkeeperIds:e.data.position_id==1?e.data.player_id?[e.data.player_id]:[]:[],teamId:e.data.team_id?e.data.team_id:0,matchResult:e.data.matchResult?[data.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.data.category!==0&&(n.advancedFilter.mainCategoryId=e.data.category),this.$emit("openmedia",n)},openmedia(e){this.$emit("openmedia",e)},setUpResizeObserver(){if(window.ResizeObserver)C4=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),C4.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async fillData(){const e=kb.create({headers:{Authorization:`${this.token}`}}),a=await e.get("https://8tvo5bp9ai.execute-api.us-west-2.amazonaws.com/prod/gamesBySeason/"+this.config.season_id),o=a.data.games.findIndex(r=>r.game_id===this.config.game);this.gameInfo=a.data.games[o];var n=[],s={},i=await e.get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+this.config.season_id+"/games/"+this.config.game);for(let r=0;r<i.data.games[0].players.length;r++){const c=Math.floor(Math.random()*i.data.games[0].players[r].info_thumbnails.images.background_player_in_action.length),h=Math.floor(Math.random()*i.data.games[0].players[r].info_thumbnails.images.player_in_action.length);s={background_color_buttons:i.data.games[0].players[r].info_thumbnails.colors.background_color_buttons,background_color_cards:i.data.games[0].players[r].info_thumbnails.colors.background_color_cards,color_icon_play:i.data.games[0].players[r].info_thumbnails.colors.color_icon_play,color_next_back:i.data.games[0].players[r].info_thumbnails.colors.color_next_back,font_color:i.data.games[0].players[r].info_thumbnails.colors.font_color,colorbackgroundhome:i.data.games[0].players[r].info_thumbnails.colors.background_color,colorbackgroundaway:"",nameplayer:i.data.games[0].players[r].player_name,background:"https://golstatsimages.blob.core.windows.net/images-library/"+i.data.games[0].players[r].info_thumbnails.images.background_player_in_action[c],namecategory:"RESUMEN",namehometeam:"",nameawayteam:"",logohome:i.data.games[0].players[r].team_logo,photoprofile:"https://golstatsimages.blob.core.windows.net/images-library/"+i.data.games[0].players[r].info_thumbnails.images.player_in_action[h],logoaway:"",scoreaway:"",scorehome:"",game_id:i.data.games[0].game_id,season_id:i.data.games[0].players[r].season_id,category:0,team_id:i.data.games[0].players[r].team_id},n.push(s)}this.printData=n}}},I0e=e=>(t.pushScopeId("data-v-5118c5a0"),e=e(),t.popScopeId(),e),A0e={ref:"gamesContainer",class:"container"},O0e={class:"video-partido-container"},T0e={class:"video-partido-higthlights"},z0e=I0e(()=>t.createElementVNode("div",{class:"title-video-datos"},"Este torneo:",-1)),F0e={class:"video-partido-pltega-games"},R0e={class:"video-partido-pltega-games-team"};function P0e(e,a,o,n,s,i){const r=t.resolveComponent("GSCHighlights"),c=t.resolveComponent("GSCPlayerTeamGame"),h=t.resolveComponent("GSCCard");return t.openBlock(),t.createElementBlock("div",A0e,[t.createElementVNode("div",O0e,[t.createElementVNode("div",T0e,[t.createVNode(r,{onOpenmedia:i.openmedia,data:{game:o.config.game,season:o.config.season_id,type:"historic"}},null,8,["onOpenmedia","data"])]),t.createElementVNode("div",{class:t.normalizeClass(i.videopartidopltegaplayersClass)},[t.createVNode(c,{onOpenmedia:i.openmedia,style:{"margin-top":"0px"},"background-color":"#172531",type:3,"px-scroll":338,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"linear-gradient(270deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsContainerBgR:"linear-gradient(90deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd",title:"Jugadores (sus mejores jugadas):",data:{season:1772,game:79636},onOnClickVideos:e.onClickVideos,onOnClickCard:e.onClickCard},null,8,["onOpenmedia","onOnClickVideos","onOnClickCard"])],2),t.createElementVNode("div",{class:t.normalizeClass(i.videopartidopltegadatosClass)},[z0e,t.createElementVNode("div",{class:t.normalizeClass(i.gridcarrouselesitemsClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.gridcarrouselesitemsitemunoClass)},[s.printData[0]?(t.openBlock(),t.createBlock(h,{key:0,type:1,onOnClickVideos:a[0]||(a[0]=d=>i.onclickPlayVideos({data:s.printData[0],type:3})),onOnClickCard:a[1]||(a[1]=d=>i.onclickPlayVideos({data:s.printData[0],type:3})),"click-card":!1,borderColor:"rgba(255, 255, 255, 0.16)",backgroundColor:s.printData[0].colorbackgroundhome,"background-img":s.printData[0].background,data:{team_name:s.gameInfo.home_team_name,player_photo:s.printData[0].photoprofile,team_id:s.gameInfo.home_team,background_color_buttons:s.printData[0].background_color_buttons,background_color_cards:s.printData[0].background_color_cards,color_icon_play:s.printData[0].color_icon_play,color_next_back:s.printData[0].color_next_back,font_color:s.printData[0].font_color}},null,8,["backgroundColor","background-img","data"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(i.gridcarrouselesitemsitemdosClass)},[s.printData[1]?(t.openBlock(),t.createBlock(h,{key:0,type:1,onOnClickVideos:a[2]||(a[2]=d=>i.onclickPlayVideos({data:s.printData[1],type:3})),onOnClickCard:a[3]||(a[3]=d=>i.onclickPlayVideos({data:s.printData[1],type:3})),"click-card":!1,borderColor:"rgba(255, 255, 255, 0.16)",backgroundColor:s.printData[1].colorbackgroundhome,"background-img":s.printData[1].background,data:{team_name:s.gameInfo.visiting_team_name,player_photo:s.printData[1].photoprofile,team_id:s.gameInfo.visiting_team,background_color_buttons:s.printData[1].background_color_buttons,background_color_cards:s.printData[1].background_color_cards,color_icon_play:s.printData[1].color_icon_play,color_next_back:s.printData[1].color_next_back,font_color:s.printData[1].font_color}},null,8,["backgroundColor","background-img","data"])):t.createCommentVNode("",!0)],2)],2)],2),t.createElementVNode("div",F0e,[t.createVNode(c,{onOpenmedia:i.openmedia,style:{"margin-top":"0px"},"background-color":"#172531",type:1,"px-scroll":338,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"linear-gradient(270deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsContainerBgR:"linear-gradient(90deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd",title:"Jugadas específicas "+s.gameInfo.home_team_name+":",data:{season:o.config.season_id,team:s.gameInfo.home_team},onOnClickVideos:e.onClickVideos,onOnClickCard:e.onClickCard},null,8,["onOpenmedia","title","data","onOnClickVideos","onOnClickCard"])]),t.createElementVNode("div",R0e,[t.createVNode(c,{onOpenmedia:i.openmedia,style:{"margin-top":"0px"},"background-color":"#172531",type:1,"px-scroll":338,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"linear-gradient(270deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsContainerBgR:"linear-gradient(90deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd",title:"Jugadas específicas "+s.gameInfo.visiting_team_name+":",data:{season:o.config.season_id,team:s.gameInfo.visiting_team},onOnClickVideos:e.onClickVideos,onOnClickCard:e.onClickCard},null,8,["onOpenmedia","title","data","onOnClickVideos","onOnClickCard"])])])],512)}const D0e={components:{GSCVideoGamePreMatch:Gr(V0e,[["render",P0e],["__scopeId","data-v-5118c5a0"]]),GSCVideoGamePostMatch:iye},props:{type:{type:String,default:"Prematch"},config:{type:Object,default:()=>{}}},data(){return{}},computed:{},methods:{openmedia(e){console.log(e),this.$emit("openmedia",e)}}},j0e={style:{margin:"0 auto"}};function L0e(e,a,o,n,s,i){const r=t.resolveComponent("GSCVideoGamePreMatch"),c=t.resolveComponent("GSCVideoGamePostMatch");return t.openBlock(),t.createElementBlock("div",j0e,[o.type==="Prematch"?(t.openBlock(),t.createBlock(r,{key:0,config:o.config,onOpenmedia:i.openmedia},null,8,["config","onOpenmedia"])):t.createCommentVNode("",!0),o.type==="Postmatch"?(t.openBlock(),t.createBlock(c,{key:1,config:o.config,onOpenmedia:i.openmedia},null,8,["config","onOpenmedia"])):t.createCommentVNode("",!0)])}const k4=Gr(D0e,[["render",L0e],["__scopeId","data-v-378bf884"]]),UMe="",GMe="",v0e={class:"datagame-container"},M0e=Ae({__name:"GSCVideoGame",props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,n=t.ref(0);t.watch(()=>o.game,i=>{n.value=i.gameId},{deep:!0,immediate:!0});function s(i){a("openmedia",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",v0e,[e.game.status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(k4),{onOpenmedia:s,key:n.value,type:"Prematch",config:{season_id:e.game.seasonId,game:e.game.gameId}},null,8,["config"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(k4),{onOpenmedia:s,key:n.value,type:"Postmatch",config:{season_id:e.game.seasonId,game:e.game.gameId}},null,8,["config"])):t.createCommentVNode("",!0)],64))]))}},[["__scopeId","data-v-ae729520"]]),H0e=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},$h={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},S4=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},E4=$h.setup;$h.setup=E4?(e,a)=>(S4(),E4(e,a)):S4;const U0e={ref:"gscScrollableContainer",class:"scrollable-container"},G0e={class:"scrollable-arrows"},W0e=["width","height","viewBox"],q0e=["stroke"],J0e={class:"scrollable-wrapper"},X0e={class:"scrollable-arrows"},Z0e=["width","height","viewBox"],Y0e=["stroke"];function K0e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",U0e,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",G0e,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,q0e)],8,W0e))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",J0e,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",X0e,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,Y0e)],8,Z0e))])],2)):t.createCommentVNode("",!0)],512)}const Q0e=H0e($h,[["render",K0e],["__scopeId","data-v-b548a08d"]]);function N4(e,a){return function(){return e.apply(a,arguments)}}const{toString:eue}=Object.prototype,{getPrototypeOf:Bh}=Object,fl=(e=>a=>{const o=eue.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ya=e=>(e=e.toLowerCase(),a=>fl(a)===e),_l=e=>a=>typeof a===e,{isArray:Qo}=Array,Es=_l("undefined");function tue(e){return e!==null&&!Es(e)&&e.constructor!==null&&!Es(e.constructor)&&zt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $4=ya("ArrayBuffer");function aue(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&$4(e.buffer),a}const oue=_l("string"),zt=_l("function"),B4=_l("number"),bl=e=>e!==null&&typeof e=="object",nue=e=>e===!0||e===!1,wl=e=>{if(fl(e)!=="object")return!1;const a=Bh(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sue=ya("Date"),iue=ya("File"),rue=ya("Blob"),lue=ya("FileList"),cue=e=>bl(e)&&zt(e.pipe),due=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||zt(e.append)&&((a=fl(e))==="formdata"||a==="object"&&zt(e.toString)&&e.toString()==="[object FormData]"))},mue=ya("URLSearchParams"),pue=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ns(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Qo(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function x4(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const V4=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),I4=e=>!Es(e)&&e!==V4;function xh(){const{caseless:e}=I4(this)&&this||{},a={},o=(n,s)=>{const i=e&&x4(a,s)||s;wl(a[i])&&wl(n)?a[i]=xh(a[i],n):wl(n)?a[i]=xh({},n):Qo(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Ns(arguments[n],o);return a}const hue=(e,a,o,{allOwnKeys:n}={})=>(Ns(a,(s,i)=>{o&&zt(s)?e[i]=N4(s,o):e[i]=s},{allOwnKeys:n}),e),yue=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gue=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},uue=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Bh(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},fue=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},_ue=e=>{if(!e)return null;if(Qo(e))return e;let a=e.length;if(!B4(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},bue=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Bh(Uint8Array)),wue=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},Cue=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},kue=ya("HTMLFormElement"),Sue=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),A4=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),Eue=ya("RegExp"),O4=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};Ns(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},Nue=e=>{O4(e,(a,o)=>{if(zt(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(zt(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},$ue=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Qo(e)?n(e):n(String(e).split(a)),o},Bue=()=>{},xue=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Vh="abcdefghijklmnopqrstuvwxyz",T4="0123456789",z4={DIGIT:T4,ALPHA:Vh,ALPHA_DIGIT:Vh+Vh.toUpperCase()+T4},Vue=(e=16,a=z4.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function Iue(e){return!!(e&&zt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Aue=e=>{const a=new Array(10),o=(n,s)=>{if(bl(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Qo(n)?[]:{};return Ns(n,(r,c)=>{const h=o(r,s+1);!Es(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},Oue=ya("AsyncFunction"),Tue=e=>e&&(bl(e)||zt(e))&&zt(e.then)&&zt(e.catch),W={isArray:Qo,isArrayBuffer:$4,isBuffer:tue,isFormData:due,isArrayBufferView:aue,isString:oue,isNumber:B4,isBoolean:nue,isObject:bl,isPlainObject:wl,isUndefined:Es,isDate:sue,isFile:iue,isBlob:rue,isRegExp:Eue,isFunction:zt,isStream:cue,isURLSearchParams:mue,isTypedArray:bue,isFileList:lue,forEach:Ns,merge:xh,extend:hue,trim:pue,stripBOM:yue,inherits:gue,toFlatObject:uue,kindOf:fl,kindOfTest:ya,endsWith:fue,toArray:_ue,forEachEntry:wue,matchAll:Cue,isHTMLForm:kue,hasOwnProperty:A4,hasOwnProp:A4,reduceDescriptors:O4,freezeMethods:Nue,toObjectSet:$ue,toCamelCase:Sue,noop:Bue,toFiniteNumber:xue,findKey:x4,global:V4,isContextDefined:I4,ALPHABET:z4,generateString:Vue,isSpecCompliantForm:Iue,toJSONObject:Aue,isAsyncFn:Oue,isThenable:Tue};function _e(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}W.inherits(_e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const F4=_e.prototype,R4={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{R4[e]={value:e}}),Object.defineProperties(_e,R4),Object.defineProperty(F4,"isAxiosError",{value:!0}),_e.from=(e,a,o,n,s,i)=>{const r=Object.create(F4);return W.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),_e.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const zue=null;function Ih(e){return W.isPlainObject(e)||W.isArray(e)}function P4(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function D4(e,a,o){return e?e.concat(a).map(function(n,s){return n=P4(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function Fue(e){return W.isArray(e)&&!e.some(Ih)}const Rue=W.toFlatObject(W,{},null,function(e){return/^is[A-Z]/.test(e)});function Cl(e,a,o){if(!W.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=W.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!W.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(a);if(!W.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(W.isDate(g))return g.toISOString();if(!c&&W.isBlob(g))throw new _e("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(g)||W.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(W.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(W.isArray(g)&&Fue(g)||(W.isFileList(g)||W.endsWith(y,"[]"))&&(f=W.toArray(g)))return y=P4(y),f.forEach(function(b,k){!(W.isUndefined(b)||b===null)&&a.append(r===!0?D4([y],k,i):r===null?y:y+"[]",h(b))}),!1}return Ih(g)?!0:(a.append(D4(u,y,i),h(g)),!1)}const l=[],m=Object.assign(Rue,{defaultVisitor:d,convertValue:h,isVisitable:Ih});function p(g,y){if(!W.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),W.forEach(g,function(u,f){(!(W.isUndefined(u)||u===null)&&s.call(a,u,W.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return p(e),a}function j4(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Ah(e,a){this._pairs=[],e&&Cl(e,this,a)}const L4=Ah.prototype;L4.append=function(e,a){this._pairs.push([e,a])},L4.toString=function(e){const a=e?function(o){return e.call(this,o,j4)}:j4;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function Pue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function v4(e,a,o){if(!a)return e;const n=o&&o.encode||Pue,s=o&&o.serialize;let i;if(s?i=s(a,o):i=W.isURLSearchParams(a)?a.toString():new Ah(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const M4=class{constructor(){this.handlers=[]}use(e,a,o){return this.handlers.push({fulfilled:e,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,function(a){a!==null&&e(a)})}},H4={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Due=typeof URLSearchParams<"u"?URLSearchParams:Ah,jue=typeof FormData<"u"?FormData:null,Lue=typeof Blob<"u"?Blob:null,vue={isBrowser:!0,classes:{URLSearchParams:Due,FormData:jue,Blob:Lue},protocols:["http","https","file","blob","url","data"]},U4=typeof window<"u"&&typeof document<"u",Mue=(e=>U4&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Hue=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Uue=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:U4,hasStandardBrowserEnv:Mue,hasStandardBrowserWebWorkerEnv:Hue},Symbol.toStringTag,{value:"Module"})),ga={...Uue,...vue};function Gue(e,a){return Cl(e,new ga.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ga.isNode&&W.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Wue(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function que(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function G4(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&W.isArray(s)?s.length:r,h?(W.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!W.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&W.isArray(s[r])&&(s[r]=que(s[r])),!c)}if(W.isFormData(e)&&W.isFunction(e.entries)){const o={};return W.forEachEntry(e,(n,s)=>{a(Wue(n),s,o,0)}),o}return null}function Jue(e,a,o){if(W.isString(e))try{return(a||JSON.parse)(e),W.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const Oh={transitional:H4,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=W.isObject(e);if(s&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return n&&n?JSON.stringify(G4(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Gue(e,this.formSerializer).toString();if((i=W.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Cl(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),Jue(e)):e}],transformResponse:[function(e){const a=this.transitional||Oh.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&W.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?_e.from(i,_e.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ga.classes.FormData,Blob:ga.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Oh.headers[e]={}});const Th=Oh,Xue=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zue=e=>{const a={};let o,n,s;return e&&e.split(`
60
+ */const dt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},p4={itemsToShow:{default:dt.itemsToShow,type:Number},itemsToScroll:{default:dt.itemsToScroll,type:Number},wrapAround:{default:dt.wrapAround,type:Boolean},throttle:{default:dt.throttle,type:Number},snapAlign:{default:dt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:dt.transition,type:Number},breakpoints:{default:dt.breakpoints,type:Object},autoplay:{default:dt.autoplay,type:Number},pauseAutoplayOnHover:{default:dt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:dt.mouseDrag,type:Boolean},touchDrag:{default:dt.touchDrag,type:Boolean},dir:{default:dt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:dt.i18n,type:Object},settings:{default(){return{}},type:Object}};function Ege({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function Nge({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function Ch({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function $ge({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:Ch({val:r,max:o-i,min:0})}function h4(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...h4(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function kh({val:e,max:a,min:o=0}){return e>a?kh({val:e-(a+1),max:a,min:o}):e<o?kh({val:e+(a+1),max:a,min:o}):e}function Bge(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function xge(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function Vge(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var Ige=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},dt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},Vge(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),Age=t.defineComponent({name:"Carousel",props:p4,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},dt));let l=Object.assign({},dt),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=xge(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=Ege({config:d,slidesCount:h.value}),f.value=Nge({config:d,slidesCount:h.value}),d.wrapAround||(p.value=Ch({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=Bge(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:Ch({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=kh({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>$ge({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(p4).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=h4(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(Ige)])}}}),y4;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(y4||(y4={}));var Oge=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},dt))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const Tge=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},zge=e=>(t.pushScopeId("data-v-90e920a8"),e=e(),t.popScopeId(),e),Fge={class:"gsc-carousel"},Rge={key:0},Pge=zge(()=>t.createElementVNode("div",null,"no hay",-1)),Dge=[Pge],jge={class:"gsc-carousel__2d__slides"},Lge={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vge=["fill"],Mge={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hge=["fill"],Uge={class:"gsc-carousel__2d__navigation"},Gge={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Wge=["stroke"],qge={key:1,class:"gsc-carousel__2d__navigation__pagination"},Jge=["onClick"],Xge={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zge=["stroke"],Yge={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(p=>({"626419c6":e.slideLeftArrowBackgroundImage,"33615c64":e.slidesArrowsLeftAndRight,a34210f6:e.slideRightArrowBackgroundImage,"01877491":e.marginTop,"09f1302b":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0);t.watch(s,p=>{p&&p.slideTo&&p.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,p=>{r.value!==p&&d(p)}),t.watch(()=>n.items,p=>{if(p&&p.length&&s.value){if(n.defaultItemByProp){const g=n.items.findIndex(y=>y[n.defaultItemByProp.propName]===n.defaultItemByProp.value);g!==-1?(r.value=g,i.value=p[g]):(r.value=0,i.value=p[0])}else r.value=n.defaultItemByIndex,i.value=p[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}},{immediate:!0});function c(){s.value&&s.value.next()}function h(){s.value&&s.value.prev()}function d(p){s.value&&s.value.slideTo(p)}function l(p){s.value.slideTo(p)}function m(p){const g=p.slidingToIndex<0?n.items.length-1:p.slidingToIndex===n.items.length?0:p.slidingToIndex;r.value=g,i.value=n.items[g],o("update:currentItemIndex",g),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:h,next:c,slideTo:d}),(p,g)=>(t.openBlock(),t.createElementBlock("div",Fge,[n.is3d?(t.openBlock(),t.createElementBlock("div",Rge,Dge)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",jge,[t.createVNode(t.unref(Age),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:m},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(y,u)=>(t.openBlock(),t.createBlock(t.unref(Oge),{key:u},{default:t.withCtx(()=>[t.renderSlot(p.$slots,"default",{item:y},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:g[0]||(g[0]=y=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",Lge,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,vge)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:g[1]||(g[1]=y=>s.value.next())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",Mge,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,Hge)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",Uge,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:g[2]||(g[2]=y=>s.value.prev())},[(t.openBlock(),t.createElementBlock("svg",Gge,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,Wge)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",qge,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${u}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===u?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===u?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:f=>l(u)},null,12,Jge))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:g[3]||(g[3]=y=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",Xge,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,Zge)]))])):t.createCommentVNode("",!0)])],2))]))}},Kge=Tge(Yge,[["__scopeId","data-v-90e920a8"]]),Sh=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o};let g4=null;const Eh={components:{},props:{titleCategory:{type:String,default:"RESUMEN"},dateGame:{type:String,default:""},colorBackgroundHome:{type:String,default:"#000000"},colorBackgroundAway:{type:String,default:"#FFFFFF"},logoHome:{type:String,default:""},matchday:{type:String,default:""},seasonName:{type:String,default:""},logoAway:{type:String,default:""},score:{type:String,default:""},background:{type:String,default:""}},data(){return{gamesContainerWidth:0}},computed:{date(){const e=this.gamesContainerWidth;return e<=400?"date400":e<=540?"date540":e<=650?"date650":"date"},seasoncontainer(){const e=this.gamesContainerWidth;return e<=400?"season-container400":e<=540?"season-container540":e<=650?"season-container650":"season-container"},matchcontainer(){const e=this.gamesContainerWidth;return e<=400?"match-container400":e<=540?"match-container540":e<=650?"match-container650":"match-container"},containerinfogame(){const e=this.gamesContainerWidth;return e<=400?"container-info-game400":e<=540?"container-info-game540":e<=650?"container-info-game650":"container-info-game"},playbutton(){const e=this.gamesContainerWidth;return e<=400?"play-button400":e<=540?"play-button540":e<=650?"play-button650":"play-button"},baselogo(){const e=this.gamesContainerWidth;return e<=400?"base-logo400":e<=540?"base-logo540":e<=650?"base-logo650":"base-logo"},baselogoright(){const e=this.gamesContainerWidth;return e<=400?"base-logo-right400":e<=540?"base-logo-right540":e<=650?"base-logo-right650":"base-logo-right"},thumbnailhighlights(){const e=this.gamesContainerWidth;return e<=400?"thumbnail-highlights400":e<=540?"thumbnail-highlights540":e<=650?"thumbnail-highlights650":"thumbnail-highlights"},teamlogo(){const e=this.gamesContainerWidth;return e<=400?"team-logo400":e<=540?"team-logo540":e<=650?"team-logo650":"team-logo"},logoright(){const e=this.gamesContainerWidth;return e<=400?"logo-right400":e<=540?"logo-right540":e<=650?"logo-right650":"logo-right"},secondline(){const e=this.gamesContainerWidth;return e<=400?"second-line400":e<=540?"second-line540":e<=650?"second-line650":"second-line"},titlename(){const e=this.gamesContainerWidth;return e<=400?"title-name400":e<=540?"title-name540":e<=650?"title-name650":"title-name"}},methods:{onclickPlayVideos(){console.log("LLegada nuevomer 3"),this.$emit("onclickPlayVideos")},setUpResizeObserver(){if(window.ResizeObserver)g4=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),g4.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")}},mounted(){setTimeout(()=>{this.setUpResizeObserver()},100)}},u4=()=>{t.useCssVars(e=>({"137b6428":e.colorBackgroundHome+"45","627a5d86":e.colorBackgroundAway+"45",b17f6084:e.colorBackgroundHome,b1858466:e.colorBackgroundAway}))},f4=Eh.setup;Eh.setup=f4?(e,a)=>(u4(),f4(e,a)):u4;const gl=e=>(t.pushScopeId("data-v-ec783198"),e=e(),t.popScopeId(),e),Qge=gl(()=>t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[t.createElementVNode("path",{d:"M6.6041 22.8554C6.42105 22.7512 6.26805 22.5956 6.1616 22.4053C6.05515 22.215 5.99927 21.9973 6.00001 21.7755V2.22137C6.00026 2.00039 6.0565 1.78362 6.16274 1.59409C6.26899 1.40456 6.42127 1.24936 6.6034 1.14499C6.78553 1.04062 6.9907 0.990981 7.1971 1.00135C7.4035 1.01171 7.60342 1.0817 7.77561 1.20386L21.4907 10.9821C21.6473 11.0935 21.7758 11.2446 21.8646 11.4219C21.9535 11.5992 22 11.7973 22 11.9985C22 12.1996 21.9535 12.3977 21.8646 12.575C21.7758 12.7523 21.6473 12.9034 21.4907 13.0148L7.77561 22.7954C7.60369 22.9178 7.40392 22.988 7.19761 22.9986C6.9913 23.0092 6.78617 22.9597 6.6041 22.8554ZM7.14347 21.7779L20.8585 11.9996L7.14347 21.7779Z",fill:"#CBEE6B"})],-1)),e0e=[Qge],t0e=gl(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/paper-texture.png",alt:"",class:"paper-texture position-image"},null,-1)),a0e=["src"],o0e=gl(()=>t.createElementVNode("div",{class:"gradient-back position-image"},null,-1)),n0e=gl(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/halftone-texture.png",alt:"",class:"halftone-texture position-image"},null,-1)),s0e=["src"],i0e=["src"],r0e={class:"text-container"};function l0e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{ref:"gamesContainer",class:t.normalizeClass(i.thumbnailhighlights)},[t.createElementVNode("div",{class:t.normalizeClass(i.playbutton),onClick:a[0]||(a[0]=(...r)=>i.onclickPlayVideos&&i.onclickPlayVideos(...r))},e0e,2),o.dateGame!=""?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.date)},t.toDisplayString(o.dateGame),3)):t.createCommentVNode("",!0),o.matchday!=""&&o.seasonName!=""?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containerinfogame)},[o.matchday!=""?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.matchcontainer)},t.toDisplayString(o.matchday),3)):t.createCommentVNode("",!0),o.seasonName!=""?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.seasoncontainer)},t.toDisplayString(o.seasonName),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),t0e,t.createElementVNode("img",{src:o.background,alt:"",class:"bkg-blackwhite position-image"},null,8,a0e),t.createElementVNode("div",{class:t.normalizeClass([i.baselogo,"position-image"])},null,2),t.createElementVNode("div",{class:t.normalizeClass(i.baselogoright)},null,2),o0e,n0e,t.createElementVNode("img",{src:o.logoHome,alt:"",class:t.normalizeClass(i.teamlogo)},null,10,s0e),t.createElementVNode("img",{src:o.logoAway,alt:"",class:t.normalizeClass(i.logoright)},null,10,i0e),t.createElementVNode("div",r0e,[t.createElementVNode("span",{class:t.normalizeClass(i.secondline)},t.toDisplayString(o.score),3),t.createElementVNode("div",{class:t.normalizeClass(i.titlename)},t.toDisplayString(o.titleCategory),3)])],2)}const c0e=Sh(Eh,[["render",l0e],["__scopeId","data-v-ec783198"]]);let _4=null;const Nh={components:{},props:{type:{type:Number,default:0},colorBackgroundHome:{type:String,default:"#000000"},colorBackgroundAway:{type:String,default:"#FFFFFF"},nameCategory:{type:String,default:""},photoProfile:{type:String,default:""},logoHome:{type:String,default:""},logoAway:{type:String,default:""},scoreHome:{type:String,default:""},scoreAway:{type:String,default:""},background:{type:String,default:""},typeImg:{type:Number,default:0},nameHomeTeam:{type:String,default:""},nameAwayTeam:{type:String,default:""},namePlayer:{type:String,default:""}},data(){return{gamesContainerWidth:0}},computed:{playbutton(){const e=this.gamesContainerWidth;return e<=400?"play-button400":e<=540?"play-button540":e<=650?"play-button650":"play-button"},points(){const e=this.gamesContainerWidth;return e<=400?"points400":e<=540?"points540":e<=650?"points650":"points"},teamname(){const e=this.gamesContainerWidth;return e<=400?"team-name400":e<=540?"team-name540":e<=650?"team-name650":"team-name"},teamscore(){const e=this.gamesContainerWidth;return e<=400?"team-score400":e<=540?"team-score540":e<=650?"team-score650":"team-score"},teamlogo(){const e=this.gamesContainerWidth;return e<=400?"team-logo400":e<=540?"team-logo540":e<=650?"team-logo650":"team-logo"},hometeam(){const e=this.gamesContainerWidth;return e<=400?"home-team400":e<=540?"home-team540":e<=650?"home-team650":"home-team"},awayteam(){const e=this.gamesContainerWidth;return e<=400?"away-team400":e<=540?"away-team540":e<=650?"away-team650":"away-team"},texttitle(){const e=this.gamesContainerWidth;return e<=400?"text-title400":e<=540?"text-title540":e<=650?"text-title650":"text-title"},texttitle2(){const e=this.gamesContainerWidth;return e<=300?"text-title2400":e<=540?"text-title2540":e<=650?"text-title2650":"text-title2"},playerimage(){const e=this.gamesContainerWidth;return e<=400?"player-image400":e<=540?"player-image540":e<=650?"player-image650":"player-image"},thumbnailhighlights(){const e=this.gamesContainerWidth;return e<=400?"thumbnail-highlights400":e<=540?"thumbnail-highlights540":e<=650?"thumbnail-highlights650":"thumbnail-highlights"}},methods:{onclickPlayVideos(){this.$emit("onclickPlayVideos")},setUpResizeObserver(){if(window.ResizeObserver)_4=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),_4.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")}},mounted(){setTimeout(()=>{this.setUpResizeObserver()},100)}},b4=()=>{t.useCssVars(e=>({"0e80afc1":e.colorBackgroundHome,"0e7d9dd0":e.colorBackgroundAway,"7445fb82":e.colorBackgroundAway+"62","254717b2":e.colorBackgroundHome+"36"}))},w4=Nh.setup;Nh.setup=w4?(e,a)=>(b4(),w4(e,a)):b4;const ul=e=>(t.pushScopeId("data-v-b80320df"),e=e(),t.popScopeId(),e),d0e=ul(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/paper-texture.png",alt:"",class:"paper-texture position-image"},null,-1)),m0e=ul(()=>t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[t.createElementVNode("path",{d:"M6.6041 22.8554C6.42105 22.7512 6.26805 22.5956 6.1616 22.4053C6.05515 22.215 5.99927 21.9973 6.00001 21.7755V2.22137C6.00026 2.00039 6.0565 1.78362 6.16274 1.59409C6.26899 1.40456 6.42127 1.24936 6.6034 1.14499C6.78553 1.04062 6.9907 0.990981 7.1971 1.00135C7.4035 1.01171 7.60342 1.0817 7.77561 1.20386L21.4907 10.9821C21.6473 11.0935 21.7758 11.2446 21.8646 11.4219C21.9535 11.5992 22 11.7973 22 11.9985C22 12.1996 21.9535 12.3977 21.8646 12.575C21.7758 12.7523 21.6473 12.9034 21.4907 13.0148L7.77561 22.7954C7.60369 22.9178 7.40392 22.988 7.19761 22.9986C6.9913 23.0092 6.78617 22.9597 6.6041 22.8554ZM7.14347 21.7779L20.8585 11.9996L7.14347 21.7779Z",fill:"#CBEE6B"})],-1)),p0e=[m0e],h0e={class:"player-container"},y0e=["src"],g0e=["src"],u0e=["src"],f0e={class:"container-score"},_0e=["src"],b0e=["src"],w0e=["src"],C0e=ul(()=>t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/halftone-texture.png",alt:"",class:"halftone-texture position-image"},null,-1)),k0e=ul(()=>t.createElementVNode("div",{class:"gradient-color"},null,-1));function S0e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{ref:"gamesContainer",class:t.normalizeClass(i.thumbnailhighlights)},[d0e,t.createElementVNode("div",{class:t.normalizeClass(i.playbutton),onClick:a[0]||(a[0]=(...r)=>i.onclickPlayVideos&&i.onclickPlayVideos(...r))},p0e,2),t.createElementVNode("div",h0e,[o.type==0?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(i.texttitle)},t.toDisplayString(o.nameCategory),3)):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(i.texttitle2)},t.toDisplayString(o.nameCategory),3)),o.typeImg==0?(t.openBlock(),t.createElementBlock("img",{key:2,src:o.photoProfile,class:t.normalizeClass(i.playerimage)},null,10,y0e)):t.createCommentVNode("",!0),o.typeImg==1?(t.openBlock(),t.createElementBlock("img",{key:3,src:o.photoProfile,alt:""},null,8,g0e)):t.createCommentVNode("",!0),o.typeImg==2?(t.openBlock(),t.createElementBlock("img",{key:4,src:o.photoProfile,class:"img-number"},null,8,u0e)):t.createCommentVNode("",!0),t.createElementVNode("div",f0e,[t.createElementVNode("div",{class:t.normalizeClass(i.hometeam)},[t.createElementVNode("span",{class:t.normalizeClass(i.teamname)},t.toDisplayString(o.nameHomeTeam),3),t.createElementVNode("img",{src:o.logoHome,alt:"",class:t.normalizeClass(i.teamlogo)},null,10,_0e),t.createElementVNode("span",{class:t.normalizeClass(i.teamscore)},t.toDisplayString(o.scoreHome),3)],2),t.createElementVNode("span",{class:t.normalizeClass(i.points)},":",2),t.createElementVNode("div",{class:t.normalizeClass(i.awayteam)},[t.createElementVNode("span",{class:t.normalizeClass(i.teamscore)},t.toDisplayString(o.scoreAway),3),t.createElementVNode("img",{src:o.logoAway,alt:"",class:t.normalizeClass(i.teamlogo)},null,10,b0e),t.createElementVNode("span",{class:t.normalizeClass(i.teamname)},t.toDisplayString(o.nameAwayTeam),3)],2)])]),t.createElementVNode("img",{src:o.background,alt:"",class:"bkg-blackwhite position-image"},null,8,w0e),C0e,k0e],2)}const E0e=Sh(Nh,[["render",S0e],["__scopeId","data-v-b80320df"]]),N0e={components:{GSCCarousel:Kge,GSCThumbnailHighlightGameHistoric:c0e,GSCThumbnailHighlightGamePlayer:E0e},props:{items:{type:Array,default:()=>[1,2,3]},data:{type:Object,default:()=>{}},title:{type:String,default:"TODAS SUS JUGADAS"}},data(){return{highlightsWidth:0,printData:[],resizeObserverGSCH:null,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE"}},watch:{data:{immediate:!0,handler(e){this.getData(e)}}},computed:{isMobile(){return this.highlightsWidth<580},carouselProps(){return this.isMobile?{wrapAround:!0,itemsToShow:1.2,isMainSlidePriority:!0,areSlidesArrowsVisible:!1,areSlidesArrowsRounded:!1,areNavigationArrowsVisible:!1,isPaginationVisible:!0}:{wrapAround:!0,itemsToShow:1.8,isMainSlidePriority:!0,areSlidesArrowsVisible:!0,areSlidesArrowsRounded:!0,areNavigationArrowsVisible:!1}}},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.data.position_id==1?e.data.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.data.category:e.data.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.data.category:e.type==3?e.data.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.data.category:e.data.category!=0?a=e.data.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];let n={seasonId:e.data.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.data.game_id?[e.data.game_id]:null,playerIds:e.data.position_id!=1?e.data.player_id?[e.data.player_id]:[]:[],goalkeeperIds:e.data.position_id==1?e.data.player_id?[e.data.player_id]:[]:[],teamId:e.data.team_id?[e.data.team_id]:0,matchResult:e.data.matchResult?[data.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.data.category!==0&&(n.advancedFilter.mainCategoryId=e.data.category),this.$emit("openmedia",n)},play(e){this.$emit("play",e)},async getData(e){const a=Sge.create({headers:{Authorization:`${this.token}`}});var o=[],n={};if(e.type=="player"){const s=await a.get("https://uof4tt5l46.execute-api.us-west-2.amazonaws.com/prod/v3/playerInfo/"+e.season+"/"+e.player);for(let i=0;i<s.data.seasons[e.season].games_played.length;i++)Math.floor(Math.random()*s.data.seasons[e.season].games_played[i].info_thumbnails.images.background_default_games.length),n={category:0,player_id:s.data.player_id,position_id:s.data.position_id,color:s.data.info_thumbnails.colors.background_color,photo_profile:"https://golstatsimages.blob.core.windows.net/images-library/"+s.data.info_thumbnails.images.player_in_action[0],team_logo:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games_played[i].home_team+".png",player_name:s.data.seasons[e.season].games_played[i].home_team_acronym+" "+s.data.seasons[e.season].games_played[i].home_team_score+" : "+s.data.seasons[e.season].games_played[i].visiting_team_score+" "+s.data.seasons[e.season].games_played[i].visiting_team_acronym,team_id:s.data.team_id,team_id_b:s.data.seasons[e.season].games_played[i].home_team,season_id:s.data.seasons[e.season].games_played[i].season_id,name:s.data.seasons[e.season].games_played[i].player_name,seasonname:s.data.seasons[e.season].name,match:s.data.seasons[e.season].games_played[i].matchday_name.replace("Matchday","Jor"),scorehome:s.data.seasons[e.season].games_played[i].home_team_score,scoreaway:s.data.seasons[e.season].games_played[i].visiting_team_score,hometeamacronym:s.data.seasons[e.season].games_played[i].home_team_acronym,visitingteamacronym:s.data.seasons[e.season].games_played[i].visiting_team_acronym,background:"https://golstatsimages.blob.core.windows.net/images-library/"+s.data.info_thumbnails.images.background_player_in_action[0],backgroundhome:s.data.seasons[e.season].games_played[i].info_thumbnails.home_colors.background_color,backgroundaway:s.data.seasons[e.season].games_played[i].info_thumbnails.away_colors.background_color,logohome:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games_played[i].home_team+".png",logoaway:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games_played[i].visiting_team+".png",total:s.data.seasons[e.season].games_played[i].matchday_abbreviation.replace("M","Jor "),background_card:"https://az755631.vo.msecnd.net/golstats2-teams/"+s.data.seasons[e.season].games_played[i].home_team+"_"+s.data.seasons[e.season].games_played[i].season_id+"_r1.jpg"},o.push(n)}else if(e.type=="historic"){const s=await a.get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/games/"+e.game);for(let r=0;r<s.data.plays.length;r++)n={player:"Jornada "+s.data.plays[r][6],player_name:s.data.plays[r][4],season_id:s.data.plays[r][31],game_id:s.data.plays[r][3],img:"https://img1.wallspic.com/previews/0/9/1/0/20190/20190-football_player-football-fun-player-sports-x750.jpg"},o.length>0?!o.filter(c=>c.game_id===s.data.plays[r][3]).length>0&&o.push(n):o.push(n);const i=s.data.thumbnails;for(let r=0;r<o.length;r++){const c=Math.floor(Math.random()*i[o[r].game_id].info_thumbnails.images.background_default_games.length);o[r].background="https://golstatsimages.blob.core.windows.net/images-library/"+i[o[r].game_id].info_thumbnails.images.background_default_games[c],o[r].backgroundhome=i[o[r].game_id].info_thumbnails.home_colors.background_color,o[r].backgroundaway=i[o[r].game_id].info_thumbnails.away_colors.background_color,o[r].logoaway="https://az755631.vo.msecnd.net/teams-150/"+i[o[r].game_id].info_thumbnails.away_colors.team_id+".png",o[r].logohome="https://az755631.vo.msecnd.net/teams-150/"+i[o[r].game_id].info_thumbnails.home_colors.team_id+".png",o[r].match=i[o[r].game_id].matchday_name.replace("Matchday","Jor"),o[r].seasonname=i[o[r].game_id].season_name,o[r].score=i[o[r].game_id].score[0]+" - "+i[o[r].game_id].score[1],o[r].category=0}}else{const s=await a.get("https://ws8d8ye2ii.execute-api.us-west-2.amazonaws.com/prod/v4/seasonsByTeam/"+e.team);for(let i=0;i<s.data.seasons[e.season].games.length;i++){const r=Math.floor(Math.random()*s.data.seasons[e.season].games[i].info_thumbnails.images.background_default_games.length);n={category:0,game_id:s.data.seasons[e.season].games[i].game_id,photo_profile:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].visiting_team+".png",team_logo:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].home_team+".png",player_name:s.data.seasons[e.season].games[i].home_team_acronym+" "+s.data.seasons[e.season].games[i].home_team_score+" : "+s.data.seasons[e.season].games[i].visiting_team_score+" "+s.data.seasons[e.season].games[i].visiting_team_acronym,team_id_b:s.data.seasons[e.season].games[i].home_team,season_id:s.data.seasons[e.season].games[i].season_id,name:"",seasonname:s.data.seasons[e.season].name,match:s.data.seasons[e.season].games[i].matchday_name.replace("Matchday","Jor"),score:s.data.seasons[e.season].games[i].home_team_score+" : "+s.data.seasons[e.season].games[i].visiting_team_score,background:"https://golstatsimages.blob.core.windows.net/images-library/"+s.data.seasons[e.season].games[i].info_thumbnails.images.background_default_games[r],backgroundhome:s.data.seasons[e.season].games[i].info_thumbnails.home_colors.background_color,backgroundaway:s.data.seasons[e.season].games[i].info_thumbnails.away_colors.background_color,logohome:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].home_team+".png",logoaway:"https://az755631.vo.msecnd.net/teams-150/"+s.data.seasons[e.season].games[i].visiting_team+".png",total:s.data.seasons[e.season].games[i].matchday_abbreviation.replace("M","Jor "),background_card:"https://az755631.vo.msecnd.net/golstats2-teams/"+s.data.seasons[e.season].games[i].home_team+"_"+s.data.seasons[e.season].games[i].season_id+"_r1.jpg"},o.push(n)}}this.printData=o},setUpResizeObserver(){this.resizeObserverGSCH=new ResizeObserver(e=>{for(const a of e)this.highlightsWidth=a.contentRect.width}),this.resizeObserverGSCH.observe(this.$refs.highlights)}},mounted(){this.setUpResizeObserver()}},$0e={ref:"highlights",class:"carousel-high-lights",id:"carousel-high-lights"};function B0e(e,a,o,n,s,i){const r=t.resolveComponent("GSCThumbnailHighlightGameHistoric"),c=t.resolveComponent("GSCThumbnailHighlightGamePlayer"),h=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",$0e,[t.createVNode(h,t.mergeProps(i.carouselProps,{items:s.printData,slideLeftArrowBackgroundImage:"linear-gradient(to right, rgba(22, 37, 49, 1), rgba(0, 0, 0, 0))",slideRightArrowBackgroundImage:"linear-gradient(to left, rgba(22, 37, 49, 1), rgba(0, 0, 0, 0))",secondarySlidesOpacity:"0.2"}),{default:t.withCtx(({item:d})=>[o.data.type=="team"||o.data.type=="historic"?(t.openBlock(),t.createBlock(r,{key:0,items:d,"color-background-home":d.backgroundhome,"color-background-away":d.backgroundaway,"logo-home":d.logohome,"logo-away":d.logoaway,background:d.background,matchday:d.match,onOnclickPlayVideos:l=>i.onclickPlayVideos({data:d,type:1}),"season-name":d.seasonname,score:d.score},null,8,["items","color-background-home","color-background-away","logo-home","logo-away","background","matchday","onOnclickPlayVideos","season-name","score"])):(t.openBlock(),t.createBlock(c,{key:1,type:"player","name-player":d.name,"type-style":"game","color-background-home":d.backgroundhome,"color-background-away":d.backgroundaway,"type-img":"0",background:d.background,"name-home-team":d.hometeamacronym,"name-away-team":d.visitingteamacronym,"name-category":o.title,onOnclickPlayVideos:l=>i.onclickPlayVideos({data:d,type:2}),"logo-away":d.logoaway,"logo-home":d.logohome,"score-home":d.scorehome,"photo-profile":d.photo_profile,"score-away":d.scoreaway},null,8,["name-player","color-background-home","color-background-away","background","name-home-team","name-away-team","name-category","onOnclickPlayVideos","logo-away","logo-home","score-home","photo-profile","score-away"]))]),_:1},16,["items"])],512)}const x0e=Sh(N0e,[["render",B0e]]);let C4=null;const V0e={components:{GSCHighlights:x0e,GSCPlayerTeamGame:S5,GSCCard:O5},props:{config:{type:Object,default:()=>{}}},computed:{gridcarrouselesitemsClass(){return this.gamesContainerWidth<=900?"grid-carrouseles-items900":"grid-carrouseles-items"},gridcarrouselesitemsitemunoClass(){return this.gamesContainerWidth<=900?"grid-carrouseles-items-itemuno900":"grid-carrouseles-items-itemuno"},gridcarrouselesitemsitemdosClass(){return this.gamesContainerWidth<=900?"grid-carrouseles-items-itemdos900":"grid-carrouseles-items-itemdos"},videopartidopltegadatosClass(){return this.gamesContainerWidth<=900?"video-partido-pltega-datos900":"video-partido-pltega-datos"},videopartidopltegaplayersClass(){return this.gamesContainerWidth<=900?"video-partido-pltega-players620":"video-partido-pltega-players"}},data(){return{gamesContainerWidth:0,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",gameInfo:{},printData:[]}},async mounted(){setTimeout(()=>{this.setUpResizeObserver()},100),this.fillData()},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.data.position_id==1?e.data.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.data.category:e.data.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.data.category:e.type==3?e.data.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.data.category:e.data.category!=0?a=e.data.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];let n={seasonId:e.data.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:null,playerIds:e.data.position_id!=1?e.data.player_id?[e.data.player_id]:[]:[],goalkeeperIds:e.data.position_id==1?e.data.player_id?[e.data.player_id]:[]:[],teamId:e.data.team_id?e.data.team_id:0,matchResult:e.data.matchResult?[data.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.data.category!==0&&(n.advancedFilter.mainCategoryId=e.data.category),this.$emit("openmedia",n)},openmedia(e){this.$emit("openmedia",e)},setUpResizeObserver(){if(window.ResizeObserver)C4=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),C4.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async fillData(){const e=kb.create({headers:{Authorization:`${this.token}`}}),a=await e.get("https://8tvo5bp9ai.execute-api.us-west-2.amazonaws.com/prod/gamesBySeason/"+this.config.season_id),o=a.data.games.findIndex(r=>r.game_id===this.config.game);this.gameInfo=a.data.games[o];var n=[],s={},i=await e.get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+this.config.season_id+"/games/"+this.config.game);for(let r=0;r<i.data.games[0].players.length;r++){const c=Math.floor(Math.random()*i.data.games[0].players[r].info_thumbnails.images.background_player_in_action.length),h=Math.floor(Math.random()*i.data.games[0].players[r].info_thumbnails.images.player_in_action.length);s={background_color_buttons:i.data.games[0].players[r].info_thumbnails.colors.background_color_buttons,background_color_cards:i.data.games[0].players[r].info_thumbnails.colors.background_color_cards,color_icon_play:i.data.games[0].players[r].info_thumbnails.colors.color_icon_play,color_next_back:i.data.games[0].players[r].info_thumbnails.colors.color_next_back,font_color:i.data.games[0].players[r].info_thumbnails.colors.font_color,colorbackgroundhome:i.data.games[0].players[r].info_thumbnails.colors.background_color,colorbackgroundaway:"",nameplayer:i.data.games[0].players[r].player_name,background:"https://golstatsimages.blob.core.windows.net/images-library/"+i.data.games[0].players[r].info_thumbnails.images.background_player_in_action[c],namecategory:"RESUMEN",namehometeam:"",nameawayteam:"",logohome:i.data.games[0].players[r].team_logo,photoprofile:"https://golstatsimages.blob.core.windows.net/images-library/"+i.data.games[0].players[r].info_thumbnails.images.player_in_action[h],logoaway:"",scoreaway:"",scorehome:"",game_id:i.data.games[0].game_id,season_id:i.data.games[0].players[r].season_id,category:0,team_id:i.data.games[0].players[r].team_id},n.push(s)}this.printData=n}}},I0e=e=>(t.pushScopeId("data-v-5118c5a0"),e=e(),t.popScopeId(),e),A0e={ref:"gamesContainer",class:"container"},O0e={class:"video-partido-container"},T0e={class:"video-partido-higthlights"},z0e=I0e(()=>t.createElementVNode("div",{class:"title-video-datos"},"Este torneo:",-1)),F0e={class:"video-partido-pltega-games"},R0e={class:"video-partido-pltega-games-team"};function P0e(e,a,o,n,s,i){const r=t.resolveComponent("GSCHighlights"),c=t.resolveComponent("GSCPlayerTeamGame"),h=t.resolveComponent("GSCCard");return t.openBlock(),t.createElementBlock("div",A0e,[t.createElementVNode("div",O0e,[t.createElementVNode("div",T0e,[t.createVNode(r,{onOpenmedia:i.openmedia,data:{game:o.config.game,season:o.config.season_id,type:"historic"}},null,8,["onOpenmedia","data"])]),t.createElementVNode("div",{class:t.normalizeClass(i.videopartidopltegaplayersClass)},[t.createVNode(c,{onOpenmedia:i.openmedia,style:{"margin-top":"0px"},"background-color":"#172531",type:3,"px-scroll":338,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"linear-gradient(270deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsContainerBgR:"linear-gradient(90deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd",title:"Jugadores (sus mejores jugadas):",data:{season:1772,game:79636},onOnClickVideos:e.onClickVideos,onOnClickCard:e.onClickCard},null,8,["onOpenmedia","onOnClickVideos","onOnClickCard"])],2),t.createElementVNode("div",{class:t.normalizeClass(i.videopartidopltegadatosClass)},[z0e,t.createElementVNode("div",{class:t.normalizeClass(i.gridcarrouselesitemsClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.gridcarrouselesitemsitemunoClass)},[s.printData[0]?(t.openBlock(),t.createBlock(h,{key:0,type:1,onOnClickVideos:a[0]||(a[0]=d=>i.onclickPlayVideos({data:s.printData[0],type:3})),onOnClickCard:a[1]||(a[1]=d=>i.onclickPlayVideos({data:s.printData[0],type:3})),"click-card":!1,borderColor:"rgba(255, 255, 255, 0.16)",backgroundColor:s.printData[0].colorbackgroundhome,"background-img":s.printData[0].background,data:{team_name:s.gameInfo.home_team_name,player_photo:s.printData[0].photoprofile,team_id:s.gameInfo.home_team,background_color_buttons:s.printData[0].background_color_buttons,background_color_cards:s.printData[0].background_color_cards,color_icon_play:s.printData[0].color_icon_play,color_next_back:s.printData[0].color_next_back,font_color:s.printData[0].font_color}},null,8,["backgroundColor","background-img","data"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(i.gridcarrouselesitemsitemdosClass)},[s.printData[1]?(t.openBlock(),t.createBlock(h,{key:0,type:1,onOnClickVideos:a[2]||(a[2]=d=>i.onclickPlayVideos({data:s.printData[1],type:3})),onOnClickCard:a[3]||(a[3]=d=>i.onclickPlayVideos({data:s.printData[1],type:3})),"click-card":!1,borderColor:"rgba(255, 255, 255, 0.16)",backgroundColor:s.printData[1].colorbackgroundhome,"background-img":s.printData[1].background,data:{team_name:s.gameInfo.visiting_team_name,player_photo:s.printData[1].photoprofile,team_id:s.gameInfo.visiting_team,background_color_buttons:s.printData[1].background_color_buttons,background_color_cards:s.printData[1].background_color_cards,color_icon_play:s.printData[1].color_icon_play,color_next_back:s.printData[1].color_next_back,font_color:s.printData[1].font_color}},null,8,["backgroundColor","background-img","data"])):t.createCommentVNode("",!0)],2)],2)],2),t.createElementVNode("div",F0e,[t.createVNode(c,{onOpenmedia:i.openmedia,style:{"margin-top":"0px"},"background-color":"#172531",type:1,"px-scroll":338,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"linear-gradient(270deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsContainerBgR:"linear-gradient(90deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd",title:"Jugadas específicas "+s.gameInfo.home_team_name+":",data:{season:o.config.season_id,team:s.gameInfo.home_team},onOnClickVideos:e.onClickVideos,onOnClickCard:e.onClickCard},null,8,["onOpenmedia","title","data","onOnClickVideos","onOnClickCard"])]),t.createElementVNode("div",R0e,[t.createVNode(c,{onOpenmedia:i.openmedia,style:{"margin-top":"0px"},"background-color":"#172531",type:1,"px-scroll":338,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"linear-gradient(270deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsContainerBgR:"linear-gradient(90deg, rgba(22,37,50,0) 0%, rgba(22,37,50,1) 70%)",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd",title:"Jugadas específicas "+s.gameInfo.visiting_team_name+":",data:{season:o.config.season_id,team:s.gameInfo.visiting_team},onOnClickVideos:e.onClickVideos,onOnClickCard:e.onClickCard},null,8,["onOpenmedia","title","data","onOnClickVideos","onOnClickCard"])])])],512)}const D0e={components:{GSCVideoGamePreMatch:Gr(V0e,[["render",P0e],["__scopeId","data-v-5118c5a0"]]),GSCVideoGamePostMatch:iye},props:{type:{type:String,default:"Prematch"},config:{type:Object,default:()=>{}}},data(){return{}},computed:{},methods:{openmedia(e){this.$emit("openmedia",e)}}},j0e={style:{margin:"0 auto"}};function L0e(e,a,o,n,s,i){const r=t.resolveComponent("GSCVideoGamePreMatch"),c=t.resolveComponent("GSCVideoGamePostMatch");return t.openBlock(),t.createElementBlock("div",j0e,[o.type==="Prematch"?(t.openBlock(),t.createBlock(r,{key:0,config:o.config,onOpenmedia:i.openmedia},null,8,["config","onOpenmedia"])):t.createCommentVNode("",!0),o.type==="Postmatch"?(t.openBlock(),t.createBlock(c,{key:1,config:o.config,onOpenmedia:i.openmedia},null,8,["config","onOpenmedia"])):t.createCommentVNode("",!0)])}const k4=Gr(D0e,[["render",L0e],["__scopeId","data-v-e9c7ad78"]]),UMe="",GMe="",v0e={class:"datagame-container"},M0e=Ae({__name:"GSCVideoGame",props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,n=t.ref(0);t.watch(()=>o.game,i=>{n.value=i.gameId},{deep:!0,immediate:!0});function s(i){a("openmedia",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",v0e,[e.game.status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(k4),{onOpenmedia:s,key:n.value,type:"Prematch",config:{season_id:e.game.seasonId,game:e.game.gameId}},null,8,["config"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(k4),{onOpenmedia:s,key:n.value,type:"Postmatch",config:{season_id:e.game.seasonId,game:e.game.gameId}},null,8,["config"])):t.createCommentVNode("",!0)],64))]))}},[["__scopeId","data-v-ae729520"]]),H0e=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},$h={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},S4=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},E4=$h.setup;$h.setup=E4?(e,a)=>(S4(),E4(e,a)):S4;const U0e={ref:"gscScrollableContainer",class:"scrollable-container"},G0e={class:"scrollable-arrows"},W0e=["width","height","viewBox"],q0e=["stroke"],J0e={class:"scrollable-wrapper"},X0e={class:"scrollable-arrows"},Z0e=["width","height","viewBox"],Y0e=["stroke"];function K0e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",U0e,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",G0e,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,q0e)],8,W0e))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",J0e,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",X0e,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,Y0e)],8,Z0e))])],2)):t.createCommentVNode("",!0)],512)}const Q0e=H0e($h,[["render",K0e],["__scopeId","data-v-b548a08d"]]);function N4(e,a){return function(){return e.apply(a,arguments)}}const{toString:eue}=Object.prototype,{getPrototypeOf:Bh}=Object,fl=(e=>a=>{const o=eue.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),ya=e=>(e=e.toLowerCase(),a=>fl(a)===e),_l=e=>a=>typeof a===e,{isArray:Qo}=Array,Es=_l("undefined");function tue(e){return e!==null&&!Es(e)&&e.constructor!==null&&!Es(e.constructor)&&zt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $4=ya("ArrayBuffer");function aue(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&$4(e.buffer),a}const oue=_l("string"),zt=_l("function"),B4=_l("number"),bl=e=>e!==null&&typeof e=="object",nue=e=>e===!0||e===!1,wl=e=>{if(fl(e)!=="object")return!1;const a=Bh(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sue=ya("Date"),iue=ya("File"),rue=ya("Blob"),lue=ya("FileList"),cue=e=>bl(e)&&zt(e.pipe),due=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||zt(e.append)&&((a=fl(e))==="formdata"||a==="object"&&zt(e.toString)&&e.toString()==="[object FormData]"))},mue=ya("URLSearchParams"),pue=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ns(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Qo(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function x4(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const V4=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),I4=e=>!Es(e)&&e!==V4;function xh(){const{caseless:e}=I4(this)&&this||{},a={},o=(n,s)=>{const i=e&&x4(a,s)||s;wl(a[i])&&wl(n)?a[i]=xh(a[i],n):wl(n)?a[i]=xh({},n):Qo(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Ns(arguments[n],o);return a}const hue=(e,a,o,{allOwnKeys:n}={})=>(Ns(a,(s,i)=>{o&&zt(s)?e[i]=N4(s,o):e[i]=s},{allOwnKeys:n}),e),yue=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gue=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},uue=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Bh(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},fue=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},_ue=e=>{if(!e)return null;if(Qo(e))return e;let a=e.length;if(!B4(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},bue=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Bh(Uint8Array)),wue=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},Cue=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},kue=ya("HTMLFormElement"),Sue=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),A4=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),Eue=ya("RegExp"),O4=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};Ns(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},Nue=e=>{O4(e,(a,o)=>{if(zt(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(zt(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},$ue=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return Qo(e)?n(e):n(String(e).split(a)),o},Bue=()=>{},xue=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Vh="abcdefghijklmnopqrstuvwxyz",T4="0123456789",z4={DIGIT:T4,ALPHA:Vh,ALPHA_DIGIT:Vh+Vh.toUpperCase()+T4},Vue=(e=16,a=z4.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function Iue(e){return!!(e&&zt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Aue=e=>{const a=new Array(10),o=(n,s)=>{if(bl(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=Qo(n)?[]:{};return Ns(n,(r,c)=>{const h=o(r,s+1);!Es(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},Oue=ya("AsyncFunction"),Tue=e=>e&&(bl(e)||zt(e))&&zt(e.then)&&zt(e.catch),W={isArray:Qo,isArrayBuffer:$4,isBuffer:tue,isFormData:due,isArrayBufferView:aue,isString:oue,isNumber:B4,isBoolean:nue,isObject:bl,isPlainObject:wl,isUndefined:Es,isDate:sue,isFile:iue,isBlob:rue,isRegExp:Eue,isFunction:zt,isStream:cue,isURLSearchParams:mue,isTypedArray:bue,isFileList:lue,forEach:Ns,merge:xh,extend:hue,trim:pue,stripBOM:yue,inherits:gue,toFlatObject:uue,kindOf:fl,kindOfTest:ya,endsWith:fue,toArray:_ue,forEachEntry:wue,matchAll:Cue,isHTMLForm:kue,hasOwnProperty:A4,hasOwnProp:A4,reduceDescriptors:O4,freezeMethods:Nue,toObjectSet:$ue,toCamelCase:Sue,noop:Bue,toFiniteNumber:xue,findKey:x4,global:V4,isContextDefined:I4,ALPHABET:z4,generateString:Vue,isSpecCompliantForm:Iue,toJSONObject:Aue,isAsyncFn:Oue,isThenable:Tue};function _e(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}W.inherits(_e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const F4=_e.prototype,R4={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{R4[e]={value:e}}),Object.defineProperties(_e,R4),Object.defineProperty(F4,"isAxiosError",{value:!0}),_e.from=(e,a,o,n,s,i)=>{const r=Object.create(F4);return W.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),_e.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const zue=null;function Ih(e){return W.isPlainObject(e)||W.isArray(e)}function P4(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function D4(e,a,o){return e?e.concat(a).map(function(n,s){return n=P4(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function Fue(e){return W.isArray(e)&&!e.some(Ih)}const Rue=W.toFlatObject(W,{},null,function(e){return/^is[A-Z]/.test(e)});function Cl(e,a,o){if(!W.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=W.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!W.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(a);if(!W.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(W.isDate(g))return g.toISOString();if(!c&&W.isBlob(g))throw new _e("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(g)||W.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(W.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(W.isArray(g)&&Fue(g)||(W.isFileList(g)||W.endsWith(y,"[]"))&&(f=W.toArray(g)))return y=P4(y),f.forEach(function(b,k){!(W.isUndefined(b)||b===null)&&a.append(r===!0?D4([y],k,i):r===null?y:y+"[]",h(b))}),!1}return Ih(g)?!0:(a.append(D4(u,y,i),h(g)),!1)}const l=[],m=Object.assign(Rue,{defaultVisitor:d,convertValue:h,isVisitable:Ih});function p(g,y){if(!W.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),W.forEach(g,function(u,f){(!(W.isUndefined(u)||u===null)&&s.call(a,u,W.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return p(e),a}function j4(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Ah(e,a){this._pairs=[],e&&Cl(e,this,a)}const L4=Ah.prototype;L4.append=function(e,a){this._pairs.push([e,a])},L4.toString=function(e){const a=e?function(o){return e.call(this,o,j4)}:j4;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function Pue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function v4(e,a,o){if(!a)return e;const n=o&&o.encode||Pue,s=o&&o.serialize;let i;if(s?i=s(a,o):i=W.isURLSearchParams(a)?a.toString():new Ah(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const M4=class{constructor(){this.handlers=[]}use(e,a,o){return this.handlers.push({fulfilled:e,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,function(a){a!==null&&e(a)})}},H4={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Due=typeof URLSearchParams<"u"?URLSearchParams:Ah,jue=typeof FormData<"u"?FormData:null,Lue=typeof Blob<"u"?Blob:null,vue={isBrowser:!0,classes:{URLSearchParams:Due,FormData:jue,Blob:Lue},protocols:["http","https","file","blob","url","data"]},U4=typeof window<"u"&&typeof document<"u",Mue=(e=>U4&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Hue=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Uue=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:U4,hasStandardBrowserEnv:Mue,hasStandardBrowserWebWorkerEnv:Hue},Symbol.toStringTag,{value:"Module"})),ga={...Uue,...vue};function Gue(e,a){return Cl(e,new ga.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ga.isNode&&W.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Wue(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function que(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function G4(e){function a(o,n,s,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&W.isArray(s)?s.length:r,h?(W.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!W.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&W.isArray(s[r])&&(s[r]=que(s[r])),!c)}if(W.isFormData(e)&&W.isFunction(e.entries)){const o={};return W.forEachEntry(e,(n,s)=>{a(Wue(n),s,o,0)}),o}return null}function Jue(e,a,o){if(W.isString(e))try{return(a||JSON.parse)(e),W.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const Oh={transitional:H4,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=W.isObject(e);if(s&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return n&&n?JSON.stringify(G4(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Gue(e,this.formSerializer).toString();if((i=W.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return Cl(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),Jue(e)):e}],transformResponse:[function(e){const a=this.transitional||Oh.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&W.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?_e.from(i,_e.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ga.classes.FormData,Blob:ga.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Oh.headers[e]={}});const Th=Oh,Xue=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zue=e=>{const a={};let o,n,s;return e&&e.split(`
61
61
  `).forEach(function(i){s=i.indexOf(":"),o=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!o||a[o]&&Xue[o])&&(o==="set-cookie"?a[o]?a[o].push(n):a[o]=[n]:a[o]=a[o]?a[o]+", "+n:n)}),a},W4=Symbol("internals");function $s(e){return e&&String(e).trim().toLowerCase()}function kl(e){return e===!1||e==null?e:W.isArray(e)?e.map(kl):String(e)}function Yue(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=o.exec(e);)a[n[1]]=n[2];return a}const Kue=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zh(e,a,o,n,s){if(W.isFunction(n))return n.call(this,a,o);if(s&&(a=o),!!W.isString(a)){if(W.isString(n))return a.indexOf(n)!==-1;if(W.isRegExp(n))return n.test(a)}}function Que(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,n)=>o.toUpperCase()+n)}function e1e(e,a){const o=W.toCamelCase(" "+a);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+o,{value:function(s,i,r){return this[n].call(this,a,s,i,r)},configurable:!0})})}let Sl=class{constructor(e){e&&this.set(e)}set(e,a,o){const n=this;function s(r,c,h){const d=$s(c);if(!d)throw new Error("header name must be a non-empty string");const l=W.findKey(n,d);(!l||n[l]===void 0||h===!0||h===void 0&&n[l]!==!1)&&(n[l||c]=kl(r))}const i=(r,c)=>W.forEach(r,(h,d)=>s(h,d,c));return W.isPlainObject(e)||e instanceof this.constructor?i(e,a):W.isString(e)&&(e=e.trim())&&!Kue(e)?i(Zue(e),a):e!=null&&s(a,e,o),this}get(e,a){if(e=$s(e),e){const o=W.findKey(this,e);if(o){const n=this[o];if(!a)return n;if(a===!0)return Yue(n);if(W.isFunction(a))return a.call(this,n,o);if(W.isRegExp(a))return a.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,a){if(e=$s(e),e){const o=W.findKey(this,e);return!!(o&&this[o]!==void 0&&(!a||zh(this,this[o],o,a)))}return!1}delete(e,a){const o=this;let n=!1;function s(i){if(i=$s(i),i){const r=W.findKey(o,i);r&&(!a||zh(o,o[r],r,a))&&(delete o[r],n=!0)}}return W.isArray(e)?e.forEach(s):s(e),n}clear(e){const a=Object.keys(this);let o=a.length,n=!1;for(;o--;){const s=a[o];(!e||zh(this,this[s],s,e,!0))&&(delete this[s],n=!0)}return n}normalize(e){const a=this,o={};return W.forEach(this,(n,s)=>{const i=W.findKey(o,s);if(i){a[i]=kl(n),delete a[s];return}const r=e?Que(s):String(s).trim();r!==s&&delete a[s],a[r]=kl(n),o[r]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const a=Object.create(null);return W.forEach(this,(o,n)=>{o!=null&&o!==!1&&(a[n]=e&&W.isArray(o)?o.join(", "):o)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,a])=>e+": "+a).join(`
62
62
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...a){const o=new this(e);return a.forEach(n=>o.set(n)),o}static accessor(e){const a=(this[W4]=this[W4]={accessors:{}}).accessors,o=this.prototype;function n(s){const i=$s(s);a[i]||(e1e(o,s),a[i]=!0)}return W.isArray(e)?e.forEach(n):n(e),this}};Sl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(Sl.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),W.freezeMethods(Sl);const Pa=Sl;function Fh(e,a){const o=this||Th,n=a||o,s=Pa.from(n.headers);let i=n.data;return W.forEach(e,function(r){i=r.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function q4(e){return!!(e&&e.__CANCEL__)}function Bs(e,a,o){_e.call(this,e??"canceled",_e.ERR_CANCELED,a,o),this.name="CanceledError"}W.inherits(Bs,_e,{__CANCEL__:!0});function t1e(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new _e("Request failed with status code "+o.status,[_e.ERR_BAD_REQUEST,_e.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const a1e=ga.hasStandardBrowserEnv?{write(e,a,o,n,s,i){const r=[e+"="+encodeURIComponent(a)];W.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),W.isString(n)&&r.push("path="+n),W.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function o1e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function n1e(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function J4(e,a){return e&&!o1e(a)?n1e(e,a):a}const s1e=ga.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function n(s){let i=s;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=n(window.location.href),function(s){const i=W.isString(s)?n(s):s;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function i1e(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function r1e(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=n[i];r||(r=h),o[s]=c,n[s]=h;let l=i,m=0;for(;l!==s;)m+=o[l++],l=l%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function X4(e,a){let o=0;const n=r1e(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const l1e=typeof XMLHttpRequest<"u",c1e=l1e&&function(e){return new Promise(function(a,o){let n=e.data;const s=Pa.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(W.isFormData(n)){if(ga.hasStandardBrowserEnv||ga.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[y,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([y||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+u))}const m=J4(e.baseURL,e.url);l.open(e.method.toUpperCase(),v4(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const y=Pa.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:e,request:l};t1e(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new _e("Request aborted",_e.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new _e("Network Error",_e.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||H4;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),o(new _e(y,u.clarifyTimeoutError?_e.ETIMEDOUT:_e.ECONNABORTED,e,l)),l=null},ga.hasStandardBrowserEnv&&(r&&W.isFunction(r)&&(r=r(e)),r||r!==!1&&s1e(m))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&a1e.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}n===void 0&&s.setContentType(null),"setRequestHeader"in l&&W.forEach(s.toJSON(),function(y,u){l.setRequestHeader(u,y)}),W.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",X4(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",X4(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=y=>{l&&(o(!y||y.type?new Bs(null,e,l):y),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const g=i1e(m);if(g&&ga.protocols.indexOf(g)===-1){o(new _e("Unsupported protocol "+g+":",_e.ERR_BAD_REQUEST,e));return}l.send(n||null)})},Rh={http:zue,xhr:c1e};W.forEach(Rh,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Z4=e=>`- ${e}`,d1e=e=>W.isFunction(e)||e===null||e===!1,Y4={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!d1e(o)&&(n=Rh[(r=String(o)).toLowerCase()],n===void 0))throw new _e(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
63
63
  `+i.map(Z4).join(`
@@ -82,7 +82,7 @@
82
82
  * Vue 3 Carousel 0.3.1
83
83
  * (c) 2023
84
84
  * @license MIT
85
- */const ht={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},CC={itemsToShow:{default:ht.itemsToShow,type:Number},itemsToScroll:{default:ht.itemsToScroll,type:Number},wrapAround:{default:ht.wrapAround,type:Boolean},throttle:{default:ht.throttle,type:Number},snapAlign:{default:ht.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ht.transition,type:Number},breakpoints:{default:ht.breakpoints,type:Object},autoplay:{default:ht.autoplay,type:Number},pauseAutoplayOnHover:{default:ht.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ht.mouseDrag,type:Boolean},touchDrag:{default:ht.touchDrag,type:Boolean},dir:{default:ht.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ht.i18n,type:Object},settings:{default(){return{}},type:Object}};function g8e({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function u8e({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function Qy({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function f8e({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:Qy({val:r,max:o-i,min:0})}function kC(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...kC(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function eg({val:e,max:a,min:o=0}){return e>a?eg({val:e-(a+1),max:a,min:o}):e<o?eg({val:e+(a+1),max:a,min:o}):e}function _8e(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function b8e(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function w8e(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var C8e=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},ht))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},w8e(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),k8e=t.defineComponent({name:"Carousel",props:CC,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},ht));let l=Object.assign({},ht),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=b8e(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=g8e({config:d,slidesCount:h.value}),f.value=u8e({config:d,slidesCount:h.value}),d.wrapAround||(p.value=Qy({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=_8e(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:Qy({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=eg({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>f8e({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(CC).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=kC(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(C8e)])}}}),SC;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(SC||(SC={}));var S8e=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},ht))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const E8e=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},N8e=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),$8e={class:"gsc-carousel"},B8e={key:0},x8e=N8e(()=>t.createElementVNode("div",null,"no hay",-1)),V8e=[x8e],I8e={class:"gsc-carousel__2d__slides"},A8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},O8e=["fill"],T8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z8e=["fill"],F8e={class:"gsc-carousel__2d__navigation"},R8e={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P8e=["stroke"],D8e={key:1,class:"gsc-carousel__2d__navigation__pagination"},j8e=["onClick"],L8e={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v8e=["stroke"],M8e={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(s,u=>{u&&c.value?(c.value=!1,h(n.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>n.items,u=>{s.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&s.value){if(n.defaultItemByProp){const f=n.items.findIndex(b=>b[n.defaultItemByProp.propName]===n.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=n.defaultItemByIndex,i.value=u[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){s.value&&s.value.next()}function l(){s.value&&s.value.prev()}function m(){s.value&&s.value.updateSlideWidth()}function p(u){s.value&&s.value.slideTo(u)}function g(u){s.value.slideTo(u)}function y(u){const f=u.slidingToIndex<0?n.items.length-1:u.slidingToIndex===n.items.length?0:u.slidingToIndex;r.value=f,i.value=n.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",$8e,[n.is3d?(t.openBlock(),t.createElementBlock("div",B8e,V8e)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",I8e,[t.createVNode(t.unref(k8e),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createBlock(t.unref(S8e),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:b},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=b=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",A8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,O8e)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=b=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",T8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,z8e)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",F8e,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=b=>l())},[(t.openBlock(),t.createElementBlock("svg",R8e,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,P8e)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",D8e,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===k?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===k?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:B=>g(k)},null,12,j8e))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=b=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",L8e,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,v8e)]))])):t.createCommentVNode("",!0)])],2))]))}},dc=E8e(M8e,[["__scopeId","data-v-dd3cbf69"]]),H8e=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},tg={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},EC=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},NC=tg.setup;tg.setup=NC?(e,a)=>(EC(),NC(e,a)):EC;const U8e=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),G8e=["src"],W8e={key:1,class:"text"},q8e=["src"],J8e={class:"stats"},X8e=U8e(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),Z8e={class:"numstats"},Y8e={class:"leyend"};function K8e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",s.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,s.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,G8e)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",W8e,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,q8e)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",J8e,[X8e,t.createElementVNode("div",Z8e,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",Y8e,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const Q8e=H8e(tg,[["render",K8e],["__scopeId","data-v-fb269a1e"]]),e6e={class:"gsc-dropdown__main-container__item-selected"},t6e=["height","width"],a6e=["stroke"],o6e={class:"gsc-dropdown__items-container"},n6e=["onClick"],s6e={key:0,class:"gsc-dropdown__items-footer"},ag={__name:"GSC-Dropdown",props:{modelValue:{type:[Object,Number,String],default:()=>null},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},fontSize:{type:String,default:"14px"},borderRadius:{type:Number,default:5},arrowHeight:{type:Number,default:24},arrowWidth:{type:Number,default:24},borderType:{type:String,default:"solid",validator:function(e){return["solid","dotted","dashed"].includes(e)}},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"black"},backgroundColor:{type:String,default:"grey"},color:{type:String,default:"black"},arrowColor:{type:String,default:"#CBEE6B"},items:{type:Array,default:()=>[]},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},listBackgroundColor:{type:String,default:"white"},hoverBackgroundColor:{type:String,default:"#f1f1f1"},listItemPadding:{type:String,default:"10px 12px"},listHeight:{type:String,default:"fit-content"},listItemSelectedColor:{type:String,default:"white"},listItemSelectedBackgroundColor:{type:String,default:"#399cfd"},listItemColor:{type:String,default:"black"},listBorderRadius:{type:String,default:"0"},listBorderColor:{type:String,default:""},listBorderWidth:{type:Number,default:1},isListSameWidth:{type:Boolean,default:!1},isMultipleOption:{type:Boolean,default:!1},footerBorderColor:{type:String,default:"#626970"},footerBorderWidth:{type:Number,default:1},isFooterVisible:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},onlyFirstTime:{type:Boolean,default:!1}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const o=e,n=t.ref({}),s=t.ref(null),i=t.ref(o.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>o.items,(g,y)=>{if(!o.modelValue&&(!o.onlyFirstTime||!y||!y.length)&&g&&g.length){if(o.defaultItemByProp){const u=o.items.findIndex(f=>f[o.defaultItemByProp.propName]===o.defaultItemByProp.value);u!==-1?(i.value=u,n.value=g[u]):(i.value=0,n.value=g[0])}else n.value=g[o.defaultItemByIndex];a("input",n.value)}},{immediate:!0}),t.watch(()=>o.modelValue,g=>{if(g){const y=o.items.findIndex(u=>typeof g=="object"?JSON.stringify(u)===JSON.stringify(g):u===g);y!==-1&&(i.value=y,n.value=o.items[y],a("update:modelValue",n.value))}},{immediate:!0});const c=t.computed(()=>({height:o.height,width:o.width,backgroundColor:o.backgroundColor,borderRadius:`${o.borderRadius}px`,border:`${o.borderType} ${o.borderWidth}px ${o.borderColor}`,color:o.color,"--hover-background-color":o.hoverBackgroundColor,"--list-item-padding":o.listItemPadding,"--list-background-color":o.listBackgroundColor,"--list-height":o.listHeight,"--list-item-selected-color":o.listItemSelectedColor,"--list-item-selected-background-color":o.listItemSelectedBackgroundColor,"--list-item-color":o.listItemColor,"--list-border-radius":`${o.listBorderRadius}`,"--list-border-color":o.listBorderColor,"--list-width":o.isListSameWidth?o.width:"fit-content","--list-border-width":`${o.listBorderWidth}px`,"--footer-border":`${o.footerBorderWidth}px solid ${o.footerBorderColor}`,"--dropdown-opacity":o.isDisabled?"0.5":"1","--dropdown-cursor":o.isDisabled?"not-allowed":"pointer","--dropdown-font-size":o.fontSize?o.fontSize:"14px"})),h=t.computed(()=>({height:`${o.arrowHeight}px`,width:`${o.arrowWidth}px`}));function d(){o.isDisabled||(r.value=!r.value)}function l(g){s.value.contains(g.target)||(r.value=!1)}function m(g,y){o.isMultipleOption?i.value=-1:(i.value=y,r.value=!1),n.value=g,a("input",n.value),a("update:modelValue",n.value)}function p(){r.value=!1,a("click-ready")}return t.onMounted(()=>{document.addEventListener("click",l)}),t.onBeforeMount(()=>{document.removeEventListener("click",l)}),(g,y)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:s,class:"gsc-dropdown",style:t.normalizeStyle(c.value)},[t.createElementVNode("div",{class:"gsc-dropdown__main-container",style:t.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[t.createElementVNode("div",e6e,[t.renderSlot(g.$slots,"default",{selectedItem:n.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(h.value)},[(t.openBlock(),t.createElementBlock("svg",{height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:e.arrowColor},null,8,a6e)],8,t6e))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",o6e,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${o.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(u,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:f===i.value}]),key:f,onClick:b=>m(u,f)},[t.renderSlot(g.$slots,"availableItem",{item:u})],10,n6e))),128))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",s6e,[t.createVNode(t.unref(Q8e),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:p})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}};let $C=null;const i6e={components:{LineupField:A3e,LineupRecentItem:H3e,LineupMainHeader:pCe,LineupFilter:zCe,MatchDetails:uC,GscSwitchComponent:Js,GSCCarousel:dc,GSCDropdown:ag},props:{game:{type:Object,default:()=>{}},selectedOption:{type:String,default:"Recientes"},componentWidth:{type:Number,default:767,validator(e){return e>0}}},data(){return{selectedIndexOption:0,rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",updatehistoricos:0,rivalVisitAbrev:"",selectOptMenuheader:"Recientes",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},isInsideClick:!1,homeTeam:{},headerInfoHistoricItemGame:{},visitingTeam:{},gameForAnalysis:{},movil:!1,auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],vDeleteFilter:!1,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0,probablyTeam:{acronym:"NEX",img:C3e},localDetails:[],postmatchDescription:"Clausura 2018 I JOR 5 I CHI - ATL 12",showDetails:!1,foreignDetails:[],players:[],filterObject:{selectedFilterResults:["win","draw","lose"],selectedFilterTeam:["visit","local"]},updateCarouselGames:0,teamSelect:"",matchdaysFiltersUpdate:[],gamesFiltersUpdate:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},matchHomeProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},matchAwayProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0},mobileClass(){return this.calendarResizeObserver<768?"break-point-3":""}},async mounted(){if(document.addEventListener("click",this.handleOutsideClick),setTimeout(()=>{this.setUpResizeObserver()},500),this.game||this.$route.params.gameId)try{this.cleaneData(),this.getLineUp(this.game.game_id),await this.getHeaderInfo(this.game),this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter()}catch(e){throw new Error(e)}},beforeDestroy(){document.removeEventListener("click",this.handleOutsideClick)},watch:{selectedOption:{immediate:!1,async handler(e){this.cleaneData(),this.auxProbablesIDGameHome=0,this.auxProbablesIDGameAway=0,e==="Postmatch"&&await this.getLineUp(this.game.game_id),e==="Probables"&&await this.getHeaderInfo(this.game),e==="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),e==="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game))}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){try{e!==null&&e!==""&&typeof e>"u"&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),this.selectedOption=="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game)))}catch(a){throw new Error(a)}}}},methods:{clickOnDeleteFilter(){console.log("SE HIZO CLICK EN ELIMINAR FILTROS"),this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickready(){console.log("Nuevo valor: ")},handleInsideClick(){this.isInsideClick=!0},handleOutsideClick(e){this.$refs.targetElement.contains(e.target)||(this.isInsideClick=!1)},remplazarMxJor(e){return e.replace("M","JOR ")},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.updateCarouselGames+=1,this.matchFilter())},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])):this.gamesRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]));else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])}else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gamesRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},changeFiltersModal(e){console.log(e),console.log("filters"),this.filterObject=e,this.matchFilter()},changeDropdownVisit(e){if(this.auxProbablesIDGameAway!=e.id){this.auxProbablesIDGameAway=e.id;const a=this.gamesRecientes[this.gameInfoheader.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team_abbreviation:this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team+".png",this.cleaneDataProbablesAway(),this.getLineupDataProbablesAway(this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].id)}},changeDropdownLocal(e){if(this.auxProbablesIDGameHome!=e.id){this.auxProbablesIDGameHome=e.id;const a=this.gamesRecientes[this.gameInfoheader.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team_abbreviation:this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team+".png",this.cleaneDataProbablesHome(),this.getLineupDataProbablesHome(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].id)}},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItemH(e){this.headerInfoHistoricItemGame=e.selectedItem.objgame;var a={season_id:e.selectedItem.season,game_id:e.selectedItem.game};this.cleaneData(),this.getLineUp(a.game_id)},changeDropdown(e){const a=this.gamesRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},async changeCarouselItem(e){this.getMinutesData(e.selectedItem.minutes);var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id,this.selectedIndexOption=e.selectedItemIndex},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");if(this.gameInfoheader=a.data.game,a.data.games_historic&&a.data.games_historic.length>0)for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});if(this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[],a.data.home_team_games_recent&&a.data.home_team_games_recent.length>0)for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});if(a.data.away_team_games_recent&&a.data.away_team_games_recent.length>0)for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:a.data.away_team_games_recent[o].matchday_abbreviation.replace("M","Jornada "),id:a.data.away_team_games_recent[o].matchday_id})},clickOnSelectOption(e){this.selectOptMenuheader=e},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.visitingTeam=a.data.teams[1];const o=a.data.games.find(n=>n.game_id===Number(n.game_id));this.gameForAnalysis=o},cleaneDataProbablesHome(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.home_team),this.homeTeamLogo="",this.homeTeamName="",this.homeTeamAbrev="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataProbablesAway(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.away_team),this.awayTeamAbrev="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneData(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.homeTeamAbrev="",this.awayTeamAbrev="",this.home_team_id=0,this.players=[],this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){yn("lineups.game."+this.game.game_id),yn("mxm.game."+this.game.game_id),yn("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,n){if(e=="Substitution")if(a=="Home"){var s=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==s[1]),r=this.playersHome.findIndex(l=>l.playerId==s[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[n].goals=this.playersHome[n].goals-1,this.playersHome[n].goalsMin.splice(o,1),this.playersHome[n].idsGoals.splice(o,1)):(this.playersAway[n].goals=this.playersAway[n].goals-1,this.playersAway[n].goalsMin.splice(o,1),this.playersAway[n].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)$C=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),$C.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const g=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let y=0;y<g.data.plays.length;y++){if(g.data.plays[y].event_type_id==3){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var a=g.data.plays[y].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),n=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=g.data.plays[y].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=g.data.plays[y].minute,this.playersHome[o].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),n!=-1&&(this.playersHome[n].idSubstitution=g.data.plays[y].play_id,this.playersHome[n].substitutionIn=!0,this.playersHome[n].substitutionMin=g.data.plays[y].minute,this.playersHome[n].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}else if(this.playersAway.length>0){var s=g.data.plays[y].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==s[0]),r=this.playersAway.findIndex(u=>u.playerId==s[1]);i!=-1&&(this.playersAway[i].idSubstitution=g.data.plays[y].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=g.data.plays[y].minute,this.playersAway[i].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),r!=-1&&(this.playersAway[r].idSubstitution=g.data.plays[y].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=g.data.plays[y].minute,this.playersAway[r].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}if(g.data.plays[y].event_type_id==1){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(g.data.plays[y].minute),this.playersHome[c].idsGoals.push(g.data.plays[y].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(g.data.plays[y].minute),this.playersAway[h].idsGoals.push(g.data.plays[y].play_id))}}if(g.data.plays[y].event_type_id==2){if(g.data.plays[y].category_id==8){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=g.data.plays[y].minute,this.playersHome[d].idyellowcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=g.data.plays[y].minute,this.playersAway[l].idyellowcards=g.data.plays[y].play_id)}}if(g.data.plays[y].category_id==9){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=g.data.plays[y].minute,this.playersHome[m].idredcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=g.data.plays[y].minute,this.playersAway[p].idredcards=g.data.plays[y].play_id)}}}}}catch(g){return Promise.reject(g)}},async getLineupDataProbablesAway(e){console.log("HOla como estas? llego 1 ");try{const h=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!h||!h.data)throw new Error("There is not lineups for this game.");if(h.data.home_team.team_id==this.gameInfoheader.away_team){for(let d=0;d<h.data.home_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+"_g.svg","away",0);var a=h.data.home_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=h.data.home_team.starting_lineup[0].lineup[d].x;r=Math.abs(r-100);var c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.home_team.team_id,number:h.data.home_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.home_team.starting_lineup[0].lineup[d].player_id+".png",posX:c+7,posY:h.data.home_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.home_team.team_id+".png"}this.playersAway.sort((d,l)=>d.position_id>l.position_id?1:l.position_id>d.position_id?-1:0)}if(h.data.away_team.team_id==this.gameInfoheader.away_team)for(let d=0;d<h.data.away_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+"_g.svg","away",0);var a=h.data.away_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=h.data.away_team.starting_lineup[0].lineup[d].x,c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.away_team.team_id,number:h.data.away_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.away_team.starting_lineup[0].lineup[d].player_id+".png",posX:100-(100-h.data.away_team.starting_lineup[0].lineup[d].x)*50/100,posY:h.data.away_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.away_team.team_id+".png"}console.log("Cambiaste AWAY this.players"),console.log(this.players)}catch(h){return Promise.reject(h)}},async getLineupDataProbablesHome(e){console.log("HOla como estas? llego 2 ");try{const l=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!l||!l.data)throw new Error("There is not lineups for this game.");if(console.log("data.data.home_team"),console.log(l.data.home_team.team_id),console.log("data.data.away_team"),console.log(l.data.away_team.team_id),l.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.home_team.players,l.data.home_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.home_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+"_g.svg","home",0);var a=l.data.home_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=l.data.home_team.starting_lineup[0].lineup[m].x,c=r*50/100;this.players.push({team_id:l.data.home_team.team_id,number:l.data.home_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.home_team.starting_lineup[0].lineup[m].player_id+".png",posX:l.data.home_team.starting_lineup[0].lineup[m].x*50/100,posY:l.data.home_team.starting_lineup[0].lineup[m].y}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.home_team.team_id+".png"}}if(l.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.away_team.players,l.data.away_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.away_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+"_g.svg","home",0);var a=l.data.away_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var h=l.data.away_team.starting_lineup[0].lineup[m].x;h=Math.abs(h-100);var c=h*50/100,d=l.data.away_team.starting_lineup[0].lineup[m].y;d=Math.abs(d-100),this.players.push({team_id:l.data.away_team.team_id,number:l.data.away_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.away_team.starting_lineup[0].lineup[m].player_id+".png",posX:c-2,posY:d-9}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.away_team.team_id+".png"}}console.log("Cambiaste HOME this.players"),console.log(this.players)}catch(l){return Promise.reject(l)}},async getLineUp(e){if(dC(),!this.playersHome.length)try{const w=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!w||!w.data)throw new Error("There is not lineups for this game.");this.players=[],this.dataPlayersHome=w.data.home_team.players,this.dataPlayersAway=w.data.away_team.players,w.data.home_team.starting_lineup[0].lineup.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0);for(let E=0;E<w.data.home_team.starting_lineup[0].lineup.length;E++){this.home_team_id=w.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+"_g.svg","home",0);var a=w.data.home_team.starting_lineup[0].lineup[E].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=w.data.home_team.starting_lineup[0].lineup[E].x,h=c*50/100,d=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.starting_lineup[0].lineup[E].player_id);this.players.push({number:w.data.home_team.starting_lineup[0].lineup[E].jersey_number,isFirstTeam:!0,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[E].player_id+".png",posX:w.data.home_team.starting_lineup[0].lineup[E].x*50/100,posY:w.data.home_team.starting_lineup[0].lineup[E].y}),this.playersHome.push({played:!0,name:w.data.home_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.home_team.players[d].position_id-1].name,position_id:w.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.home_team.players[d].nationality?w.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.home_team.starting_lineup[0].lineup[E].y-13,positionY:h*.9,positionXOrigin:w.data.home_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.home_team.starting_lineup[0].lineup[E].x-2,playerId:w.data.home_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png"}if(this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.home_team.bench){for(let E=0;E<w.data.home_team.bench.length;E++){this.subsTitle=!0;var l=w.data.home_team.bench[E].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.bench[E].playerID);this.playersHome.push({played:!1,name:w.data.home_team.bench[E].playerName,position:f!=-1?this.positions[w.data.home_team.players[f].position_id-1].name:"",position_id:w.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.bench[E].playerID+".png",nationality:f!=-1&&w.data.home_team.players[f].nationality?w.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.home_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.home_team.team_id})}this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}for(let E=0;E<w.data.away_team.starting_lineup[0].lineup.length;E++){this.away_team_id=w.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+"_g.svg","away",0);var b=w.data.away_team.starting_lineup[0].lineup[E].player_name.split(","),k=b[0].split(" "),B=b[1].trim().split(" "),_="";k.length==2||k.length==1?k[0].length<4?_=k[0]+" "+k[1]:_=k[0]:k.length==3?_=k[0]+" "+k[1]:k.length==4&&(_=k[1]+" "+k[2]+" "+k[3]);var C=B[n.length-1]!=""?B[B.length-1].charAt(0):B[B.length-2]?B[B.length-2].charAt(0):"";_=_.replace(",","");var N=C+". "+_,V=w.data.away_team.starting_lineup[0].lineup[E].x,$=100-(100-V)*50/100;$=$*.9;var x=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.starting_lineup[0].lineup[E].player_id);this.players.push({number:w.data.away_team.starting_lineup[0].lineup[E].jersey_number,isFirstTeam:!1,name:C+". "+_,photo:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[E].player_id+".png",posX:100-(100-w.data.away_team.starting_lineup[0].lineup[E].x)*50/100,posY:w.data.away_team.starting_lineup[0].lineup[E].y}),this.playersAway.push({played:!0,name:w.data.away_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.away_team.players[x].position_id-1].name,position_id:w.data.away_team.players[x].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.away_team.players[x].nationality?w.data.away_team.players[x].nationality.substring(0,3):"",imgNationality:w.data.away_team.players[x].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:N,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.away_team.starting_lineup[0].lineup[E].y-13,positionY:$,positionXOrigin:w.data.away_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.away_team.starting_lineup[0].lineup[E].x-7,playerId:w.data.away_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png"}if(this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.away_team.bench){for(let E=0;E<w.data.away_team.bench.length;E++){this.subsTitle=!0;var F=w.data.away_team.bench[E].playerName.split(","),A=F[0].split(" "),I=F[1].trim().split(" "),P="";A.length==2||A.length==1?A[0].length<4?P=A[0]+" "+A[1]:P=A[0]:A.length==3?P=A[0]+" "+A[1]:A.length==4&&(P=A[1]+" "+A[2]+" "+A[3]);var Q=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";P=P.replace(",","");var K=Q+". "+P,R=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.bench[E].playerID);this.playersAway.push({played:!1,name:w.data.away_team.bench[E].playerName,position:R!=-1?this.positions[w.data.away_team.players[R].position_id-1].name:"",position_id:w.data.away_team.players[R].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.bench[E].playerID+".png",nationality:R!=-1&&w.data.away_team.players[R].nationality?w.data.away_team.players[R].nationality.substring(0,3):"",imgNationality:R!=-1?w.data.away_team.players[R].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:K,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.away_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.away_team.team_id})}this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}this.game.prematch||this.getMXM(this.game.game_id)}catch(w){return Promise.reject(w)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var n=new XMLHttpRequest,s=0;a=="away"?o==1?this.uniformAway==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformAwayG==""&&(n.open("HEAD",e,!1),n.send(),s=1):o==1?this.uniformHome==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformHomeG==""&&(n.open("HEAD",e,!1),n.send(),s=1),s==1&&(n.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),n=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),n!=-1?(this.substitutionModal.out.name=this.playersHome[n].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[n].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[n].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[n].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[n].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var s=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);s!=-1?(this.substitutionModal.min=this.playersAway[s].substitutionMin,this.substitutionModal.in.name=this.playersAway[s].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[s].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[s].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[s].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[s].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},Xs=e=>(t.pushScopeId("data-v-d4bc4b57"),e=e(),t.popScopeId(),e),r6e={class:"lineup__header",ref:"gamesContainer"},l6e=Xs(()=>t.createElementVNode("h2",null,"Alineaciones",-1)),c6e={key:0,style:{width:"325px"}},d6e={class:"lineup__card"},m6e={key:0},p6e={key:1},h6e={key:2},y6e={key:3,class:"lineup__card-body"},g6e={key:0,class:"lineup__selector",style:{margin:"auto"}},u6e={class:"lineup__selector-item"},f6e={key:4,class:"lineup__card-body",style:{"flex-flow":"column"}},_6e={class:"lineup__filters"},b6e={class:"selector-tournaments"},w6e={class:"lineup__items-carousel"},C6e=Xs(()=>t.createElementVNode("div",null,null,-1)),k6e={class:"lineup__items-center"},S6e={class:"lineup__selector-recientes"},E6e={key:1,class:"containernofoundsearchrecientes"},N6e=Xs(()=>t.createElementVNode("div",{class:"text-containernofoundsearchrecientes"},[t.createTextVNode("No hay resultados con los criterios, "),t.createElementVNode("br"),t.createTextVNode(" de búsqueda aplicados.")],-1)),$6e={key:0,class:"lineup__selector-recientes",style:{margin:"auto",width:"100%"}},B6e={key:5,class:"lineup__card-body space-between"},x6e={class:"lineup__card-body__probables"},V6e={class:"selector-tournaments"},I6e=Xs(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),A6e=["src"],O6e={class:"lineup__card-body__probables"},T6e=["src"],z6e=Xs(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),F6e={class:"selector-tournaments"},R6e={key:6,class:"lineup__card-body space-between"},P6e={class:"postmatch__matchday"};function D6e(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("LineupMainHeader"),h=t.resolveComponent("GSCCarousel"),d=t.resolveComponent("LineupFilter"),l=t.resolveComponent("GSCDropdown"),m=t.resolveComponent("LineupRecentItem"),p=t.resolveComponent("MatchDetails"),g=t.resolveComponent("LineupField");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["lineup",{"break-point-3":i.mobileClass}])},[t.createElementVNode("div",r6e,[l6e,o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",c6e,[(s.gameInfoheader.game_status==0||s.gameInfoheader.game_status==4)&&i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.selectedOption,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:a[0]||(a[0]=y=>o.selectedOption=y)},null,8,["selectedOption"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],512),t.createElementVNode("div",d6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("h3",m6e,"Alineación utilizada este torneo en:")):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("h3",p6e,"Alineaciones recientes de:")):(t.openBlock(),t.createElementBlock("h3",h6e,"Alineación utilizada en:"))],64)):t.createCommentVNode("",!0),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(s.headerInfoHistoricItemGame).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:s.headerInfoHistoricItemGame.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.headerInfoHistoricItemGame.home_team+".png"},visitTeam:{acronym:s.headerInfoHistoricItemGame.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.headerInfoHistoricItemGame.away_team+".png"},probablyTeamHome:{acronym:s.rivalHomeAbrev,img:s.rivalHomeImg},probablyTeamAway:{acronym:s.rivalVisitAbrev,img:s.rivalVisitImg},score:s.headerInfoHistoricItemGame.score[0]+" - "+s.headerInfoHistoricItemGame.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(s.gameInfoheader).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:s.gameInfoheader.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.gameInfoheader.home_team+".png"},visitTeam:{acronym:s.gameInfoheader.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.gameInfoheader.away_team+".png"},probablyTeamHome:{acronym:s.rivalHomeAbrev,img:s.rivalHomeImg},probablyTeamAway:{acronym:s.rivalVisitAbrev,img:s.rivalVisitImg},score:s.gameInfoheader.score[0]+" - "+s.gameInfoheader.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock("div",y6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",g6e,[s.gamesHistoric.length>0?(t.openBlock(),t.createBlock(h,{key:s.updatehistoricos,onInput:i.changeCarouselItemH,items:s.gamesHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:y})=>[t.createElementVNode("div",u6e,t.toDisplayString(y.description),1)]),_:1},8,["onInput","items"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("div",f6e,[t.createElementVNode("div",_6e,[t.createVNode(d,{name:"Filtros",onChange:i.changeFiltersModal,reset:s.vDeleteFilter},null,8,["onChange","reset"]),t.createElementVNode("div",{class:"lineup__filters__selector",ref:"targetElement",onClick:a[1]||(a[1]=(...y)=>i.handleInsideClick&&i.handleInsideClick(...y))},[t.createVNode(l,{items:i.matchdaysFinal,onInput:i.changeDropdown,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(y=>[t.createElementVNode("div",b6e,t.toDisplayString(y.selectedItem.name),1)]),availableItem:t.withCtx(({item:y})=>[t.createElementVNode("div",null,t.toDisplayString(y.name),1)]),_:1},8,["items","onInput"])],512),t.createElementVNode("div",{class:"lineup__text-btn",onClick:a[2]||(a[2]=y=>s.showDetails=!s.showDetails)},t.toDisplayString(s.showDetails?"Ocultar detalles":"Ver detalles"),1)]),t.createElementVNode("div",w6e,[C6e,t.createElementVNode("div",k6e,[i.mobileClass?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",S6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":s.selectedIndexOption,width:"600px",height:"80px",key:s.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:y})=>[t.createVNode(m,{game:y,teamSelect:s.teamSelect},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):(t.openBlock(),t.createElementBlock("div",E6e,[N6e,t.createElementVNode("div",{class:"btn-delete-filters",onClick:a[3]||(a[3]=(...y)=>i.clickOnDeleteFilter&&i.clickOnDeleteFilter(...y))},"Eliminar filtros aplicados")]))]),s.showDetails?(t.openBlock(),t.createBlock(p,{key:0,localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],64))])]),i.mobileClass?(t.openBlock(),t.createElementBlock("div",$6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":s.selectedIndexOption,width:"600px",height:"80px",key:s.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1},{default:t.withCtx(({item:y})=>[t.createVNode(m,{game:y,teamSelect:s.teamSelect,style:{"max-width":"200px"}},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0),s.showDetails?(t.openBlock(),t.createBlock(p,{key:1,localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("div",B6e,[t.createElementVNode("div",x6e,[t.createVNode(l,{items:i.matchHomeProbables,onInput:i.changeDropdownLocal,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(y=>[t.createElementVNode("div",V6e,t.toDisplayString(y.selectedItem.name),1)]),availableItem:t.withCtx(({item:y})=>[t.createElementVNode("div",null,t.toDisplayString(y.name),1)]),_:1},8,["items","onInput"]),I6e,t.createElementVNode("img",{src:s.rivalHomeImg,class:"lineup__card-body__img-probables"},null,8,A6e)]),t.createElementVNode("div",O6e,[t.createElementVNode("img",{src:s.rivalVisitImg,class:"lineup__card-body__img-probables"},null,8,T6e),z6e,t.createVNode(l,{items:i.matchAwayProbables,onInput:i.changeDropdownVisit,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(y=>[t.createElementVNode("div",F6e,t.toDisplayString(y.selectedItem.name),1)]),availableItem:t.withCtx(({item:y})=>[t.createElementVNode("div",null,t.toDisplayString(y.name),1)]),_:1},8,["items","onInput"])])])):o.selectedOption==="Postmatch"?(t.openBlock(),t.createElementBlock("div",R6e,[t.createElementVNode("div",P6e,t.toDisplayString(s.gameInfoheader.season_name!==void 0?s.gameInfoheader.season_name+"  |  "+i.remplazarMxJor(s.gameInfoheader.matchday_abbreviation)+"  |  "+s.gameInfoheader.home_team_abbreviation+" - "+s.gameInfoheader.away_team_abbreviation:""),1)])):t.createCommentVNode("",!0),t.createVNode(g,{class:"lineup__field",players:s.players},null,8,["players"])])],2)}const j6e=wt(i6e,[["render",D6e],["__scopeId","data-v-d4bc4b57"]]),L6e={components:{},props:{data:{type:Object,default:()=>{}},position:{type:String,default:"gsc-position-player"},type:{type:Number,default:1}},data(){return{}},computed:{},methods:{},mounted(){}},mc=e=>(t.pushScopeId("data-v-ee0e325b"),e=e(),t.popScopeId(),e),v6e={key:0,class:"gsc-item-player"},M6e={class:"gsc-num-player"},H6e={class:"gsc-cont-info-by-player"},U6e={class:"gsc-cont-info-by-player-row1"},G6e={class:"shield-player-cont"},W6e=["src"],q6e={class:"gsc-cont-info-by-player-row2"},J6e={class:"gsc-cont-info-by-player-row2-line-name"},X6e={class:"gsc-cont-info-by-player-row2-line-data"},Z6e={class:"cont-display-gsc"},Y6e=["src"],K6e={class:"gsc-cont-cards"},Q6e={key:0,class:"gsc-yellow_card_div"},eke={key:1,class:"gsc-red_card_div"},tke={key:2,class:"gsc-yellowred_card_div"},ake=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),oke={key:5,class:"gsc-goal_card_div_wrapper"},nke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),ske={key:1,class:"gsc-item-player"},ike={class:"gsc-num-player2"},rke={class:"gsc-cont-info-by-player2"},lke={class:"gsc-cont-info-by-player-row2"},cke={class:"gsc-cont-info-by-player-row2-line-name2"},dke={class:"gsc-cont-info-by-player-row2-line-data"},mke={class:"gsc-cont-cards2"},pke={key:0,class:"gsc-yellow_card_div"},hke={key:1,class:"gsc-red_card_div"},yke={key:2,class:"gsc-yellowred_card_div"},gke=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),uke={key:5,class:"gsc-goal_card_div_wrapper"},fke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),_ke={class:"cont-display-gsc"},bke=["src"],wke={class:"gsc-cont-info-by-player-row1"},Cke={class:"shield-player-cont"},kke=["src"];function Ske(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock(t.Fragment,null,[o.type==1?(t.openBlock(),t.createElementBlock("div",v6e,[t.createElementVNode("div",M6e,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",H6e,[t.createElementVNode("div",U6e,[t.createElementVNode("div",G6e,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,W6e)])]),t.createElementVNode("div",q6e,[t.createElementVNode("div",J6e,t.toDisplayString(o.data.name),1),t.createElementVNode("div",X6e,[t.createElementVNode("div",Z6e,[t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,Y6e),t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3)]),t.createElementVNode("div",K6e,[o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",Q6e)):t.createCommentVNode("",!0),o.data.redcard==1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",eke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==1?(t.openBlock(),t.createElementBlock("div",tke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[ake,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",oke,[nke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)])])])])])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createElementBlock("div",ske,[t.createElementVNode("div",ike,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",rke,[t.createElementVNode("div",lke,[t.createElementVNode("div",cke,t.toDisplayString(o.data.name),1),t.createElementVNode("div",dke,[t.createElementVNode("div",mke,[o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",pke)):t.createCommentVNode("",!0),o.data.redcard==1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",hke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==1?(t.openBlock(),t.createElementBlock("div",yke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[gke,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",uke,[fke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",_ke,[t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3),t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,bke)])])]),t.createElementVNode("div",wke,[t.createElementVNode("div",Cke,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,kke)])])])])):t.createCommentVNode("",!0)],64)}const Eke=wt(L6e,[["render",Ske],["__scopeId","data-v-ee0e325b"]]),og="/icn-filter.svg",Zs="/icn-expand-arrow.svg",BC="/backarrow.svg",xC="/nextarrow.svg",Nke="_selectoritem_1dafy_137",$ke="_selectoritem2_1dafy_157",Bke="_gscheaderlineup_1dafy_177",xke="_anNoEstn_1dafy_191",Vke="_groupsLeague_1dafy_197",Ike="_jugadores_1dafy_209",Ake="_switchOption_1dafy_219",Oke="_jugadores1_1dafy_239",Tke="_switchOption1_1dafy_249",zke="_switchStatesBig_1dafy_265",Fke="_groupsLeagueParent_1dafy_283",Rke="_imgHomeTeamIcon_1dafy_301",Pke="_imgHomeTeamWrapper_1dafy_313",Dke="_teamContainer_1dafy_337",jke="_name_1dafy_361",Lke="_homeTeamContainer_1dafy_373",vke="_div_1dafy_393",Mke="_scoreContainer_1dafy_401",Hke="_scoreContainerWrapper_1dafy_421",Uke="_teamContainer1_1dafy_447",Gke="_awayTeamContainer_1dafy_471",Wke="_matchContainer_1dafy_491",qke="_sliderMatchesChild_1dafy_509",Jke="_manchesterUnited_1dafy_521",Xke="_sliderMatchesItem_1dafy_533",Zke="_sliderMatches_1dafy_509",Yke="_sortIcon_1dafy_569",Kke="_filtros_1dafy_583",Qke="_sortParent_1dafy_599",e7e="_shapeIcon_1dafy_613",t7e="_btnFilter_1dafy_623",a7e="_btnFilter1_1dafy_651",o7e="_btnFilterParent_1dafy_679",n7e="_backArrowIcon_1dafy_695",s7e="_teamContainer2_1dafy_707",i7e="_homeTeam_1dafy_373",r7e="_div4_1dafy_735",l7e="_finalScore_1dafy_745",c7e="_manchesterUnited1_1dafy_771",d7e="_scoreContainer1_1dafy_785",m7e="_match_1dafy_491",p7e="_manchesterUnited2_1dafy_821",h7e="_btnDetails_1dafy_831",y7e="_matchContainer1_1dafy_851",g7e="_goalChild_1dafy_867",u7e="_goal_1dafy_867",f7e="_manchesterUnited3_1dafy_893",_7e="_minuteEvent_1dafy_907",b7e="_yellowCard_1dafy_921",w7e="_awayTeamEvents_1dafy_935",C7e="_rectangle_1dafy_949",k7e="_homeTeamEvents_1dafy_963",S7e="_totalEvents_1dafy_979",E7e="_headerSeccionAlineaciones1_1dafy_995",N7e="_switchOption3_1dafy_1017",$7e="_switchOption4_1dafy_1041",B7e="_switchStatesBig1_1dafy_1061",x7e="_manchesterUnited13_1dafy_1075",V7e="_homeTeamContainer1_1dafy_1085",I7e="_scoreContainer2_1dafy_1099",A7e="_matchContainer2_1dafy_1127",O7e="_manchesterUnited14_1dafy_1147",T7e="_sliderMatchesInner_1dafy_1161",z7e="_rectangleIcon_1dafy_1181",F7e="_sliderMatches1_1dafy_1201",R7e="_containerData_1dafy_1217",P7e="_headerSeccionAlineaciones2_1dafy_1245",D7e="_headerSeccionAlineaciones_1dafy_995",j7e="_headerSeccionAlineaciones21200_1dafy_1293",L7e="_headerSeccionAlineaciones1540_1dafy_1299",v7e="_headerSeccionAlineaciones2540_1dafy_1307",M7e={selectoritem:Nke,selectoritem2:$ke,gscheaderlineup:Bke,anNoEstn:xke,groupsLeague:Vke,jugadores:Ike,switchOption:Ake,jugadores1:Oke,switchOption1:Tke,switchStatesBig:zke,groupsLeagueParent:Fke,imgHomeTeamIcon:Rke,imgHomeTeamWrapper:Pke,teamContainer:Dke,name:jke,homeTeamContainer:Lke,div:vke,scoreContainer:Mke,scoreContainerWrapper:Hke,teamContainer1:Uke,awayTeamContainer:Gke,matchContainer:Wke,sliderMatchesChild:qke,manchesterUnited:Jke,sliderMatchesItem:Xke,sliderMatches:Zke,sortIcon:Yke,filtros:Kke,sortParent:Qke,shapeIcon:e7e,btnFilter:t7e,btnFilter1:a7e,btnFilterParent:o7e,backArrowIcon:n7e,teamContainer2:s7e,homeTeam:i7e,div4:r7e,finalScore:l7e,manchesterUnited1:c7e,scoreContainer1:d7e,match:m7e,manchesterUnited2:p7e,btnDetails:h7e,matchContainer1:y7e,goalChild:g7e,goal:u7e,manchesterUnited3:f7e,minuteEvent:_7e,yellowCard:b7e,awayTeamEvents:w7e,rectangle:C7e,homeTeamEvents:k7e,totalEvents:S7e,headerSeccionAlineaciones1:E7e,switchOption3:N7e,switchOption4:$7e,switchStatesBig1:B7e,manchesterUnited13:x7e,homeTeamContainer1:V7e,scoreContainer2:I7e,matchContainer2:A7e,manchesterUnited14:O7e,sliderMatchesInner:T7e,rectangleIcon:z7e,sliderMatches1:F7e,containerData:R7e,headerSeccionAlineaciones2:P7e,headerSeccionAlineaciones:D7e,headerSeccionAlineaciones21200:j7e,headerSeccionAlineaciones1540:L7e,headerSeccionAlineaciones2540:v7e},H7e={components:{GSCCarousel:dc,GscSwitchComponent:Js},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameRecientes:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{changeCarouselItem(e){console.log(e),this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},U7e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),G7e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),W7e=["src"],q7e=["src"],J7e=["src"],X7e=["src"],Z7e=["src"],Y7e=["src"];function K7e(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[U7e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),G7e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.home_team+".png"},null,10,W7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)}," - ",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.away_team+".png"},null,10,q7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":s.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:og},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:BC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.home_team+".png"},null,10,J7e)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.away_team+".png"},null,10,X7e)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en: ",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.home_team+".png"},null,10,Z7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.away_team+".png"},null,10,Y7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":s.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem2)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)}const Q7e={$style:M7e},eSe=wt(H7e,[["render",K7e],["__cssModules",Q7e]]),pc=e=>(t.pushScopeId("data-v-2118a6cd"),e=e(),t.popScopeId(),e),tSe=t.createStaticVNode('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-2118a6cd><g id="vuesax/outline/sort" data-v-2118a6cd><g id="sort" data-v-2118a6cd><path id="Vector" opacity="0.7" d="M15.75 5.8125H2.25C1.9425 5.8125 1.6875 5.5575 1.6875 5.25C1.6875 4.9425 1.9425 4.6875 2.25 4.6875H15.75C16.0575 4.6875 16.3125 4.9425 16.3125 5.25C16.3125 5.5575 16.0575 5.8125 15.75 5.8125Z" fill="white" data-v-2118a6cd></path><path id="Vector_2" opacity="0.7" d="M13.5 9.5625H4.5C4.1925 9.5625 3.9375 9.3075 3.9375 9C3.9375 8.6925 4.1925 8.4375 4.5 8.4375H13.5C13.8075 8.4375 14.0625 8.6925 14.0625 9C14.0625 9.3075 13.8075 9.5625 13.5 9.5625Z" fill="white" data-v-2118a6cd></path><path id="Vector_3" opacity="0.7" d="M10.5 13.3125H7.5C7.1925 13.3125 6.9375 13.0575 6.9375 12.75C6.9375 12.4425 7.1925 12.1875 7.5 12.1875H10.5C10.8075 12.1875 11.0625 12.4425 11.0625 12.75C11.0625 13.0575 10.8075 13.3125 10.5 13.3125Z" fill="white" data-v-2118a6cd></path></g></g></svg>',1),aSe=["value"],oSe=pc(()=>t.createElementVNode("svg",{width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:"#92929D"})],-1)),nSe={class:"filter-modal__padding"},sSe={class:"filter-modal__content-header"},iSe=pc(()=>t.createElementVNode("h3",null,"Jugando como:",-1)),rSe={class:"filter-modal__content-options"},lSe=["onClick"],cSe={class:"filter-modal__content-header"},dSe=pc(()=>t.createElementVNode("h3",null,"Resultados:",-1)),mSe={class:"filter-modal__content-options"},pSe=["onClick"],hSe=pc(()=>t.createElementVNode("hr",{style:{"border-color":"#FFFFFF33"}},null,-1)),ySe={__name:"gsc-filter",props:{name:{type:String,default:""},zIndex:{type:Number,default:1},showButton:{type:Boolean,default:!1},marginModal:{type:String,default:"0px"},isOpen:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},itemSelect:{type:Object,default:()=>{}},componentWidth:{type:Number,default:768,validator(e){return e>0}}},emits:["update:model-value","change"],setup(e,{emit:a}){const o=e;t.useCssVars(B=>({d00c78a6:e.marginModal}));const n=[{id:"local",name:"Local"},{id:"visit",name:"Visitante"}],s=[{id:"win",name:"Ganado"},{id:"draw",name:"Empatados"},{id:"lose",name:"Perdidos"}],i=t.ref(null),r=t.ref(["local","visit"]),c=t.ref(["win","draw","lose"]),h=t.ref(!0),d=t.ref(!0),l=t.ref(!0),m=t.ref(!0),p=t.ref(["local","visit"]),g=t.ref(["win","draw","lose"]),y=()=>{i.value.focus(),r.value=JSON.parse(JSON.stringify(p.value)),c.value=JSON.parse(JSON.stringify(g.value)),h.value=l.value,d.value=m.value};t.watch(()=>o.itemSelect,B=>{B&&(p.value=B.selectedFilterTeam,g.value=B.selectedFilterResults)}),t.watch(()=>o.reset,B=>{B&&f()});const u=(B,_)=>{let C;_==="team"?C=p.value:C=g.value;const N=C.findIndex(V=>V===B);N==-1?C.push(B):_=="team"&&p.value.length==2?C.splice(N,1):(_=="team"&&C.push(B),g.value.length>1&&C.splice(N,1)),l.value=p.value.length==2,m.value=g.value.length==3},f=()=>{p.value=["local","visit"],g.value=["win","draw","lose"],l.value=!0,m.value=!0,a("change",{selectedFilterTeam:p.value,selectedFilterResults:g.value})},b=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:g.value})},k=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:g.value})};return(B,_)=>(t.openBlock(),t.createElementBlock("div",{class:"filter-modal",style:t.normalizeStyle({zIndex:e.zIndex})},[e.showButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"filter-modal__input",onClick:y},[tSe,t.createElementVNode("input",{type:"text",value:e.name,readonly:""},null,8,aSe),oSe])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["filter-modal__content",e.isOpen?"open":"close"]),tabindex:"0",ref_key:"filterElement",ref:i,onFocusout:_[4]||(_[4]=C=>{e.isOpen=!1,k()})},[t.createElementVNode("div",nSe,[t.createElementVNode("div",sSe,[iSe,t.createVNode(lc,{modelValue:l.value,"onUpdate:modelValue":[_[0]||(_[0]=C=>l.value=C),_[1]||(_[1]=C=>C&&(p.value=["local","visit"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",rSe,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,C=>t.createElementVNode("li",{onClick:N=>u(C.id,"team"),class:t.normalizeClass({active:p.value.includes(C.id)})},t.toDisplayString(C.name),11,lSe)),64))]),t.createElementVNode("div",cSe,[dSe,t.createVNode(lc,{modelValue:m.value,"onUpdate:modelValue":[_[2]||(_[2]=C=>m.value=C),_[3]||(_[3]=C=>C&&(g.value=["win","lose","draw"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",mSe,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(s,C=>t.createElementVNode("li",{onClick:N=>u(C.id,"player"),class:t.normalizeClass({active:g.value.includes(C.id)})},t.toDisplayString(C.name),11,pSe)),64))])]),hSe,t.createElementVNode("div",{class:"filter-modal__buttons"},[t.createElementVNode("div",{class:"button filter-modal__text-btn",onClick:f},"Quitar filtros"),t.createElementVNode("div",{class:"button filter-modal__outline-btn",onClick:b},"Listo")])],34)],4))}},gSe=wt(ySe,[["__scopeId","data-v-2118a6cd"]]),uSe="/icn-filter1.svg",fSe="/icn-expand-arrow1.svg",_Se="/icn-filter2.svg",bSe="/icn-arrow-expand.svg",wSe="_containernofoundsearchrecientes_1gxk5_159",CSe="_btndeletefilters_1gxk5_215",kSe="_leyenddeleteshow_1gxk5_247",SSe="_selectoritem_1gxk5_261",ESe="_anNoEstn_1gxk5_279",NSe="_groupsLeague_1gxk5_287",$Se="_historicas_1gxk5_297",BSe="_switchOption_1gxk5_309",xSe="_recientes_1gxk5_331",VSe="_switchOption1_1gxk5_343",ISe="_switchOption2_1gxk5_369",ASe="_switchStatesBig_1gxk5_387",OSe="_groupsLeagueParent_1gxk5_407",TSe="_imgHomeTeamIcon_1gxk5_427",zSe="_imgHomeTeamWrapper_1gxk5_441",FSe="_teamContainer_1gxk5_467",RSe="_name_1gxk5_493",PSe="_homeTeamContainer_1gxk5_507",DSe="_div_1gxk5_529",jSe="_scoreContainer_1gxk5_539",LSe="_scoreContainerWrapper_1gxk5_561",vSe="_teamContainer1_1gxk5_587",MSe="_awayTeamContainer_1gxk5_613",HSe="_matchContainer_1gxk5_635",USe="_sliderMatchesChild_1gxk5_655",GSe="_manchesterUnited_1gxk5_669",WSe="_sliderMatchesItem_1gxk5_683",qSe="_sliderMatches_1gxk5_655",JSe="_sortIcon_1gxk5_719",XSe="_filtros_1gxk5_735",ZSe="_sortParent_1gxk5_753",YSe="_shapeIcon_1gxk5_769",KSe="_btnFilter_1gxk5_781",QSe="_btnFilter1_1gxk5_813",eEe="_btnFilterParent_1gxk5_843",tEe="_backArrowIcon_1gxk5_861",aEe="_teamContainer2_1gxk5_875",oEe="_homeTeam_1gxk5_507",nEe="_div4_1gxk5_907",sEe="_finalScore_1gxk5_919",iEe="_manchesterUnited1_1gxk5_947",rEe="_scoreContainer1_1gxk5_963",lEe="_match_1gxk5_635",cEe="_manchesterUnited2_1gxk5_997",dEe="_btnDetails_1gxk5_1023",mEe="_matchContainer1_1gxk5_1047",pEe="_goalChild_1gxk5_1065",hEe="_goal_1gxk5_1065",yEe="_manchesterUnited3_1gxk5_1095",gEe="_minuteEvent_1gxk5_1111",uEe="_yellowCard_1gxk5_1127",fEe="_awayTeamEvents_1gxk5_1143",_Ee="_rectangle_1gxk5_1159",bEe="_homeTeamEvents_1gxk5_1175",wEe="_totalEvents_1gxk5_1193",CEe="_headerSeccionAlineaciones1_1gxk5_1211",kEe="_sliderMatchesInner_1gxk5_1233",SEe="_btnFilter2_1gxk5_1247",EEe="_btnDetails1_1gxk5_1281",NEe="_matchContainer3_1gxk5_1299",$Ee="_backArrowIcon1_1gxk5_1321",BEe="_match1_1gxk5_1335",xEe="_headerSeccionAlineaciones2_1gxk5_1347",VEe="_jugadores2_1gxk5_1369",IEe="_switchOption6_1gxk5_1383",AEe="_switchOption7_1gxk5_1405",OEe="_switchStatesBig2_1gxk5_1431",TEe="_manchesterUnited26_1gxk5_1447",zEe="_homeTeamContainer2_1gxk5_1459",FEe="_vectorIcon_1gxk5_1475",REe="_teamSwitch_1gxk5_1487",PEe="_matchContainer5_1gxk5_1513",DEe="_manchesterUnited27_1gxk5_1535",jEe="_sliderMatchesChild1_1gxk5_1551",LEe="_sliderMatchesChild2_1gxk5_1573",vEe="_sliderMatches2_1gxk5_1595",MEe="_filtros2_1gxk5_1615",HEe="_btnFilter4_1gxk5_1635",UEe="_jornada2_1gxk5_1667",GEe="_filterMatchday_1gxk5_1681",WEe="_btnDetails2_1gxk5_1703",qEe="_filtersContainer_1gxk5_1725",JEe="_matchContainer6_1gxk5_1745",XEe="_matchDetailContainer_1gxk5_1763",ZEe="_containerData_1gxk5_1783",YEe="_headerSeccionAlineaciones3_1gxk5_1813",KEe="_headerSeccionAlineaciones_1gxk5_1211",QEe="_headerSeccionAlineaciones31200_1gxk5_1865",e9e="_headerSeccionAlineaciones3420_1gxk5_1891",t9e="_headerSeccionAlineaciones3880_1gxk5_1917",a9e="_headerSeccionAlineaciones3540_1gxk5_1941",o9e="_headerSeccionAlineaciones11200_1gxk5_1967",n9e="_headerSeccionAlineaciones1420_1gxk5_1995",s9e="_headerSeccionAlineaciones1880_1gxk5_2017",i9e="_headerSeccionAlineaciones21200_1gxk5_2039",r9e="_headerSeccionAlineaciones2420_1gxk5_2067",l9e="_headerSeccionAlineaciones2880_1gxk5_2091",c9e="_headerSeccionAlineaciones2540_1gxk5_2113",d9e={containernofoundsearchrecientes:wSe,"text-containernofoundsearchrecientes":"_text-containernofoundsearchrecientes_1gxk5_171","btn-delete-filters":"_btn-delete-filters_1gxk5_183",btndeletefilters:CSe,leyenddeleteshow:kSe,selectoritem:SSe,anNoEstn:ESe,groupsLeague:NSe,historicas:$Se,switchOption:BSe,recientes:xSe,switchOption1:VSe,switchOption2:ISe,switchStatesBig:ASe,groupsLeagueParent:OSe,imgHomeTeamIcon:TSe,imgHomeTeamWrapper:zSe,teamContainer:FSe,name:RSe,homeTeamContainer:PSe,div:DSe,scoreContainer:jSe,scoreContainerWrapper:LSe,teamContainer1:vSe,awayTeamContainer:MSe,matchContainer:HSe,sliderMatchesChild:USe,manchesterUnited:GSe,sliderMatchesItem:WSe,sliderMatches:qSe,sortIcon:JSe,filtros:XSe,sortParent:ZSe,shapeIcon:YSe,btnFilter:KSe,btnFilter1:QSe,btnFilterParent:eEe,backArrowIcon:tEe,teamContainer2:aEe,homeTeam:oEe,div4:nEe,finalScore:sEe,manchesterUnited1:iEe,scoreContainer1:rEe,match:lEe,manchesterUnited2:cEe,btnDetails:dEe,matchContainer1:mEe,goalChild:pEe,goal:hEe,manchesterUnited3:yEe,minuteEvent:gEe,yellowCard:uEe,awayTeamEvents:fEe,rectangle:_Ee,homeTeamEvents:bEe,totalEvents:wEe,headerSeccionAlineaciones1:CEe,sliderMatchesInner:kEe,btnFilter2:SEe,btnDetails1:EEe,matchContainer3:NEe,backArrowIcon1:$Ee,match1:BEe,headerSeccionAlineaciones2:xEe,jugadores2:VEe,switchOption6:IEe,switchOption7:AEe,switchStatesBig2:OEe,manchesterUnited26:TEe,homeTeamContainer2:zEe,vectorIcon:FEe,teamSwitch:REe,matchContainer5:PEe,manchesterUnited27:DEe,sliderMatchesChild1:jEe,sliderMatchesChild2:LEe,sliderMatches2:vEe,filtros2:MEe,btnFilter4:HEe,jornada2:UEe,filterMatchday:GEe,btnDetails2:WEe,filtersContainer:qEe,matchContainer6:JEe,matchDetailContainer:XEe,containerData:ZEe,headerSeccionAlineaciones3:YEe,headerSeccionAlineaciones:KEe,headerSeccionAlineaciones31200:QEe,headerSeccionAlineaciones3420:e9e,headerSeccionAlineaciones3880:t9e,headerSeccionAlineaciones3540:a9e,headerSeccionAlineaciones11200:o9e,headerSeccionAlineaciones1420:n9e,headerSeccionAlineaciones1880:s9e,headerSeccionAlineaciones21200:i9e,headerSeccionAlineaciones2420:r9e,headerSeccionAlineaciones2880:l9e,headerSeccionAlineaciones2540:c9e},m9e={components:{GSCCarousel:dc,GscSwitchComponent:Js,GSCDropdown:ag,GSCFilter:gSe,GSCSwitchRadio:hC,GSCMatchDetails:uC},props:{widthSize:{type:Number,default:0},optionSelected:{type:String,default:"Historicos"},selectedOption:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.teamSelect=e.home_team_abbreviation,this.matchFilter()}catch(a){throw new Error(a)}}},gameRecientes:{immediate:!0,handler:async function(e){this.matchFilter()}}},data(){return{playminutes:[],showDetails:!1,teamSelect:"",updateCarouselGames:0,selectedIndexOption:0,openfiltervalue:!1,vDeleteFilter:!1,filterObject:{},matchdaysFiltersUpdate:[],gamesFiltersUpdate:[],localDetails:[],foreignDetails:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},headerSeccionAlineaciones1Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones1420:e<=880?this.$style.headerSeccionAlineaciones1880:e<=1200?this.$style.headerSeccionAlineaciones11200:this.$style.headerSeccionAlineaciones1},headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones2420:e<=540?this.$style.headerSeccionAlineaciones2540:e<=880?this.$style.headerSeccionAlineaciones2880:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones3Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones3420:e<=540?this.$style.headerSeccionAlineaciones3540:e<=880?this.$style.headerSeccionAlineaciones3880:e<=1200?this.$style.headerSeccionAlineaciones31200:this.$style.headerSeccionAlineaciones3}},methods:{deleteFilters(){this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickShowDetails(){this.showDetails=!this.showDetails},changeDropdown(e){const a=this.gameRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_match_result}),a.push(this.gameRecientes[this.teamSelect][o])):this.gameRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]));else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o])}else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gameRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},changeFiltersModal(e){this.filterObject=e,this.openfiltervalue=!1,this.matchFilter()},openFilter(){this.openfiltervalue=!0},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},changeCarouselItem(e){this.getMinutesData(e.selectedItem.minutes),this.$emit("input",e),this.selectedIndexOption=e.selectedItemIndex},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.$emit("changeTeam",this.teamSelect),this.updateCarouselGames+=1,this.matchFilter())},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},p9e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),h9e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),y9e=["src"],g9e=["src"],u9e={class:"selector-tournaments"},f9e=["src"],_9e=["src"],b9e={key:1},w9e=t.createElementVNode("br",null,null,-1),C9e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),k9e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),S9e=["src"],E9e=["src"],N9e={class:"selector-tournaments"},$9e=["src"],B9e=["src"],x9e={key:1},V9e=t.createElementVNode("br",null,null,-1),I9e=["src"],A9e=["src"],O9e={class:"selector-tournaments"},T9e=["src"],z9e=["src"],F9e={key:1},R9e=t.createElementVNode("br",null,null,-1);function P9e(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCSwitchRadio"),h=t.resolveComponent("GSCFilter"),d=t.resolveComponent("GSCDropdown"),l=t.resolveComponent("GSCCarousel"),m=t.resolveComponent("GSCMatchDetails");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop-full"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[p9e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),h9e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,y9e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":s.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,g9e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[0]||(a[0]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:og},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2),t.createVNode(h,{"item-select":s.filterObject,"is-open":s.openfiltervalue,onChange:i.changeFiltersModal,reset:s.vDeleteFilter,"margin-modal":"-83px"},null,8,["item-select","is-open","onChange","reset"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",u9e,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:s.updateCarouselGames,items:i.gameRecientesFilter,"current-item-index":s.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,f9e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,_9e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",b9e,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),w9e,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[1]||(a[1]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),s.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[2]||(a[2]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[s.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[C9e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),k9e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,S9e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":s.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,E9e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer3)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter2),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[3]||(a[3]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:uSe},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:fSe},null,2),t.createVNode(h,{"item-select":s.filterObject,"is-open":s.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-99px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",N9e,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[4]||(a[4]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[s.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match1)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":s.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,$9e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,B9e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",x9e,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),V9e,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[5]||(a[5]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),s.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones3Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited26)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer5),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,I9e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":s.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,A9e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter4),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[6]||(a[6]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:_Se},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros2)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:bSe},null,2),t.createVNode(h,{"item-select":s.filterObject,"is-open":s.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-75px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.filterMatchday),id:"menu-matchday",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"25px",width:"100px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",O9e,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[7]||(a[7]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[s.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchDetailContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer6),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":s.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,T9e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,z9e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",F9e,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),R9e,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[8]||(a[8]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),s.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)],2)}const D9e={$style:d9e},j9e=wt(m9e,[["render",P9e],["__cssModules",D9e]]),L9e="_selectoritem_16hc8_179",v9e="_selectoritem2_16hc8_199",M9e="_gscheaderlineup_16hc8_219",H9e="_anNoEstn_16hc8_233",U9e="_groupsLeague_16hc8_239",G9e="_jugadores_16hc8_249",W9e="_switchOption_16hc8_259",q9e="_jugadores1_16hc8_279",J9e="_switchOption1_16hc8_289",X9e="_switchStatesBig_16hc8_305",Z9e="_groupsLeagueParent_16hc8_323",Y9e="_imgHomeTeamIcon_16hc8_341",K9e="_imgHomeTeamWrapper_16hc8_353",Q9e="_teamContainer_16hc8_377",eNe="_name_16hc8_401",tNe="_homeTeamContainer_16hc8_413",aNe="_div_16hc8_433",oNe="_titleSession_16hc8_441",nNe="_scoreContainer_16hc8_461",sNe="_scoreContainerWrapper_16hc8_481",iNe="_teamContainer1_16hc8_505",rNe="_awayTeamContainer_16hc8_529",lNe="_matchContainer_16hc8_549",cNe="_sliderMatchesChild_16hc8_567",dNe="_manchesterUnited_16hc8_579",mNe="_sliderMatchesItem_16hc8_591",pNe="_sliderMatches_16hc8_567",hNe="_sortIcon_16hc8_627",yNe="_filtros_16hc8_641",gNe="_sortParent_16hc8_657",uNe="_shapeIcon_16hc8_671",fNe="_btnFilter_16hc8_681",_Ne="_btnFilter1_16hc8_709",bNe="_btnFilterParent_16hc8_737",wNe="_backArrowIcon_16hc8_753",CNe="_teamContainer2_16hc8_765",kNe="_homeTeam_16hc8_413",SNe="_div4_16hc8_793",ENe="_finalScore_16hc8_803",NNe="_manchesterUnited1_16hc8_829",$Ne="_scoreContainer1_16hc8_843",BNe="_match_16hc8_549",xNe="_manchesterUnited2_16hc8_879",VNe="_btnDetails_16hc8_889",INe="_matchContainer1_16hc8_909",ANe="_goalChild_16hc8_925",ONe="_goal_16hc8_925",TNe="_manchesterUnited3_16hc8_951",zNe="_minuteEvent_16hc8_965",FNe="_yellowCard_16hc8_979",RNe="_awayTeamEvents_16hc8_993",PNe="_rectangle_16hc8_1007",DNe="_homeTeamEvents_16hc8_1021",jNe="_totalEvents_16hc8_1037",LNe="_headerSeccionAlineaciones1_16hc8_1053",vNe="_switchOption3_16hc8_1075",MNe="_switchOption4_16hc8_1099",HNe="_switchStatesBig1_16hc8_1119",UNe="_manchesterUnited13_16hc8_1133",GNe="_homeTeamContainer1_16hc8_1143",WNe="_scoreContainer2_16hc8_1157",qNe="_matchContainer2_16hc8_1185",JNe="_manchesterUnited14_16hc8_1205",XNe="_sliderMatchesInner_16hc8_1219",ZNe="_rectangleIcon_16hc8_1239",YNe="_sliderMatches1_16hc8_1259",KNe="_containerData_16hc8_1275",QNe="_headerSeccionAlineaciones2_16hc8_1303",e$e="_headerSeccionAlineaciones_16hc8_1053",t$e="_headerSeccionAlineaciones21200_16hc8_1351",a$e="_headerSeccionAlineaciones1540_16hc8_1357",o$e="_headerSeccionAlineaciones2540_16hc8_1365",n$e={selectoritem:L9e,selectoritem2:v9e,gscheaderlineup:M9e,anNoEstn:H9e,groupsLeague:U9e,jugadores:G9e,switchOption:W9e,jugadores1:q9e,switchOption1:J9e,switchStatesBig:X9e,groupsLeagueParent:Z9e,imgHomeTeamIcon:Y9e,imgHomeTeamWrapper:K9e,teamContainer:Q9e,name:eNe,homeTeamContainer:tNe,div:aNe,titleSession:oNe,scoreContainer:nNe,scoreContainerWrapper:sNe,teamContainer1:iNe,awayTeamContainer:rNe,matchContainer:lNe,sliderMatchesChild:cNe,manchesterUnited:dNe,sliderMatchesItem:mNe,sliderMatches:pNe,sortIcon:hNe,filtros:yNe,sortParent:gNe,shapeIcon:uNe,btnFilter:fNe,btnFilter1:_Ne,btnFilterParent:bNe,backArrowIcon:wNe,teamContainer2:CNe,homeTeam:kNe,div4:SNe,finalScore:ENe,manchesterUnited1:NNe,scoreContainer1:$Ne,match:BNe,manchesterUnited2:xNe,btnDetails:VNe,matchContainer1:INe,goalChild:ANe,goal:ONe,manchesterUnited3:TNe,minuteEvent:zNe,yellowCard:FNe,awayTeamEvents:RNe,rectangle:PNe,homeTeamEvents:DNe,totalEvents:jNe,headerSeccionAlineaciones1:LNe,switchOption3:vNe,switchOption4:MNe,switchStatesBig1:HNe,manchesterUnited13:UNe,homeTeamContainer1:GNe,scoreContainer2:WNe,matchContainer2:qNe,manchesterUnited14:JNe,sliderMatchesInner:XNe,rectangleIcon:ZNe,sliderMatches1:YNe,containerData:KNe,headerSeccionAlineaciones2:QNe,headerSeccionAlineaciones:e$e,headerSeccionAlineaciones21200:t$e,headerSeccionAlineaciones1540:a$e,headerSeccionAlineaciones2540:o$e},s$e={components:{GSCCarousel:dc,GscSwitchComponent:Js},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{remplazarMxJor(e){return e.replace("M","JOR ")},changeCarouselItem(e){this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},i$e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),r$e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),l$e=["src"],c$e=["src"],d$e=["src"],m$e=["src"],p$e=["src"],h$e=["src"];function y$e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[i$e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),r$e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},null,2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,l$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titleSession)},t.toDisplayString(o.gameInfo.season_name!==void 0?o.gameInfo.season_name+"  |  "+i.remplazarMxJor(o.gameInfo.matchday_abbreviation)+"  |  "+o.gameInfo.home_team_abbreviation+" - "+o.gameInfo.away_team_abbreviation:""),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,c$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:og},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:BC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,d$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,m$e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,p$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,h$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},null,2)],2)],2)],2)],2)}const g$e={$style:n$e},u$e=wt(s$e,[["render",y$e],["__cssModules",g$e]]),f$e="_anNoEstn_j98j7_139",_$e="_groupsLeague_j98j7_145",b$e="_historicas_j98j7_153",w$e="_switchOption_j98j7_163",C$e="_switchOption1_j98j7_183",k$e="_probables_j98j7_203",S$e="_switchOption2_j98j7_213",E$e="_switchStatesBig_j98j7_237",N$e="_groupsLeagueParent_j98j7_255",$$e="_imgHomeTeamIcon_j98j7_273",B$e="_imgHomeTeamWrapper_j98j7_285",x$e="_teamContainer_j98j7_309",V$e="_name_j98j7_333",I$e="_jor_j98j7_345",A$e="_jorParent_j98j7_357",O$e="_shapeIcon_j98j7_373",T$e="_frameParent_j98j7_383",z$e="_manchesterUnited_j98j7_413",F$e="_necaxaIcon_j98j7_435",R$e="_manchesterUnited1_j98j7_447",P$e="_team_j98j7_309",D$e="_homeTeamContainer_j98j7_475",j$e="_div1_j98j7_495",L$e="_scoreContainer_j98j7_503",v$e="_scoreContainerWrapper_j98j7_525",M$e="_team1_j98j7_549",H$e="_name1_j98j7_563",U$e="_teamContainer1_j98j7_577",G$e="_awayTeamContainer_j98j7_601",W$e="_matchContainer_j98j7_623",q$e="_goalChild_j98j7_641",J$e="_goal_j98j7_641",X$e="_manchesterUnited4_j98j7_667",Z$e="_minuteEvent_j98j7_681",Y$e="_yellowCard_j98j7_695",K$e="_awayTeamEvents_j98j7_709",Q$e="_rectangle_j98j7_723",eBe="_homeTeamEvents_j98j7_737",tBe="_totalEvents_j98j7_753",aBe="_headerSeccionAlineaciones1_j98j7_769",oBe="_homeTeamContainer1_j98j7_789",nBe="_awayTeamContainer1_j98j7_813",sBe="_headerSeccionAlineaciones2_j98j7_837",iBe="_jugadores_j98j7_857",rBe="_switchOption6_j98j7_869",lBe="_switchOption8_j98j7_889",cBe="_switchStatesBig2_j98j7_913",dBe="_manchesterUnited28_j98j7_927",mBe="_homeTeamContainer2_j98j7_935",pBe="_matchContainer2_j98j7_949",hBe="_manchesterUnited29_j98j7_971",yBe="_sliderMatchesChild_j98j7_985",gBe="_sliderMatchesItem_j98j7_1005",uBe="_sliderMatches_j98j7_985",fBe="_jorParent2_j98j7_1045",_Be="_filterMatchday_j98j7_1059",bBe="_necaxaIcon4_j98j7_1081",wBe="_team4_j98j7_1093",CBe="_filterMatchdayParent_j98j7_1113",kBe="_filterMatchday1_j98j7_1127",SBe="_teamParent_j98j7_1157",EBe="_filtersContainer_j98j7_1177",NBe="_containerData_j98j7_1195",$Be="_headerSeccionAlineaciones3_j98j7_1223",BBe="_headerSeccionAlineaciones_j98j7_769",xBe={anNoEstn:f$e,groupsLeague:_$e,historicas:b$e,switchOption:w$e,switchOption1:C$e,probables:k$e,switchOption2:S$e,switchStatesBig:E$e,groupsLeagueParent:N$e,imgHomeTeamIcon:$$e,imgHomeTeamWrapper:B$e,teamContainer:x$e,name:V$e,jor:I$e,jorParent:A$e,shapeIcon:O$e,frameParent:T$e,manchesterUnited:z$e,necaxaIcon:F$e,manchesterUnited1:R$e,team:P$e,homeTeamContainer:D$e,div1:j$e,scoreContainer:L$e,scoreContainerWrapper:v$e,team1:M$e,name1:H$e,teamContainer1:U$e,awayTeamContainer:G$e,matchContainer:W$e,goalChild:q$e,goal:J$e,manchesterUnited4:X$e,minuteEvent:Z$e,yellowCard:Y$e,awayTeamEvents:K$e,rectangle:Q$e,homeTeamEvents:eBe,totalEvents:tBe,headerSeccionAlineaciones1:aBe,homeTeamContainer1:oBe,awayTeamContainer1:nBe,headerSeccionAlineaciones2:sBe,jugadores:iBe,switchOption6:rBe,switchOption8:lBe,switchStatesBig2:cBe,manchesterUnited28:dBe,homeTeamContainer2:mBe,matchContainer2:pBe,manchesterUnited29:hBe,sliderMatchesChild:yBe,sliderMatchesItem:gBe,sliderMatches:uBe,jorParent2:fBe,filterMatchday:_Be,necaxaIcon4:bBe,team4:wBe,filterMatchdayParent:CBe,filterMatchday1:kBe,teamParent:SBe,filtersContainer:EBe,containerData:NBe,headerSeccionAlineaciones3:$Be,headerSeccionAlineaciones:BBe},VBe={components:{GSCDropdown:ag,GscSwitchComponent:Js},props:{optionSelected:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},data(){return{rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",rivalVisitAbrev:"",auxVal:0}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",e)}catch(a){throw new Error(a)}}}},methods:{clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)},changeDropdownVisit(e){const a=this.gameRecientes[this.gameInfo.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team_abbreviation:this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team+".png",this.$emit("changeaway",this.gameRecientes[this.gameInfo.away_team_abbreviation][a])},changeDropdownLocal(e){const a=this.gameRecientes[this.gameInfo.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team_abbreviation:this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team+".png",this.$emit("changehome",this.gameRecientes[this.gameInfo.home_team_abbreviation][a])}}},IBe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),ABe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),OBe=["src"],TBe={class:"selector-tournaments"},zBe=["src"],FBe=["src"],RBe={class:"selector-tournaments"},PBe=["src"],DBe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),jBe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),LBe=["src"],vBe={class:"selector-tournaments"},MBe=["src"],HBe=["src"],UBe={class:"selector-tournaments"},GBe=["src"],WBe=["src"],qBe=["src"],JBe={class:"selector-tournaments"},XBe=["src"],ZBe=["src"],YBe={class:"selector-tournaments"};function KBe(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCDropdown");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones1),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[IBe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),ABe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,OBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",TBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalHomeImg},null,10,zBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"-",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalVisitImg},null,10,FBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",RBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name1)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,PBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones2),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[DBe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),jBe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,LBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",vBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalHomeImg},null,10,MBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalVisitImg},null,10,HBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",UBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,GBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones3),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited28)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,WBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,qBe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchdayParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",JBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team4)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:s.rivalHomeImg},null,10,XBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:s.rivalVisitImg},null,10,ZBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",YBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2)],2)],2)],2)],2)}const QBe={$style:xBe},exe=wt(VBe,[["render",KBe],["__cssModules",QBe]]),VC="/line.png";let IC=null;const txe={name:"lineupPlayers",props:{game:{type:Object,default:()=>{}},selectedOption:{type:Boolean,default:"Prematch"}},components:{CardPlayer:Eke,HeaderPlayerHistorico:eSe,HeaderPlayerRecientes:j9e,HeaderPlayerProbables:exe,HeaderPlayerPostmatch:u$e},data(){return{selectOptMenuheader:"Historicos",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",valueUpdateRecientes:0,uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},homeTeam:{},visitingTeam:{},gameForAnalysis:{},movil:!1,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,auxHistoricGameID:0,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0}},computed:{goalcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"goal_card_div440":e<=650?"goal_card_div650":e<=820?"goal_card_div820":"goal_card_div"},yellowredcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"yellowred_card_div440":e<=650?"yellowred_card_div650":e<=820?"yellowred_card_div820":"yellowred_card_div"},redcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"red_card_div440":e<=650?"red_card_div650":e<=820?"red_card_div820":"red_card_div"},yellowcarddivclass(){const e=this.gamesContainerWidth;return e<=440?"yellow_card_div440":e<=650?"yellow_card_div650":e<=820?"yellow_card_div820":"yellow_card_div"},infochangeplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-chamge-player-item440":e<=650?"info-chamge-player-item650":e<=740?"info-chamge-player-item740":"info-chamge-player-item"},infonameplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-name-player-item440":e<=650?"info-name-player-item650":e<=740?"info-name-player-item740":"info-name-player-item"},infoplayeritemClass(){const e=this.gamesContainerWidth;return e<=400?"info-player-item400":e<=440?"info-player-item440":e<=650?"info-player-item650":e<=740?"info-player-item740":"info-player-item"},numPlayerClass(){const e=this.gamesContainerWidth;return e<=440?"num-Player440":e<=540?"num-Player540":e<=740?"num-Player740":"num-Player"},jerseyitemplayerClass(){const e=this.gamesContainerWidth;return e<=440?"jerseyitemplayer440":e<=540?"jerseyitemplayer540":e<=650?"jerseyitemplayer650":e<=740?"jerseyitemplayer740":"jerseyitemplayer"},itemplayerfieldClass(){return this.gamesContainerWidth<=740?"itemplayer-field740":"itemplayer-field"},canchacontainerClass(){const e=this.gamesContainerWidth;return e<=300?"cancha-container300":e<=325?"cancha-container325":e<=350?"cancha-container350":e<=440?"cancha-container440":e<=540?"cancha-container540":e<=740?"cancha-container740":e<=820?"cancha-container820":e<=840?"cancha-container840":e<=940?"cancha-container940":e<=1140?"cancha-container1140":"cancha-container"},fieldcontainerClass(){const e=this.gamesContainerWidth;return e<=300?"field-container300":e<=380?"field-container380":e<=440?"field-container440":e<=540?"field-container540":e<=740?"field-container740":"field-container"},notificationnolineupsClass(){const e=this.gamesContainerWidth;return e<=300?"notification-no-lineups300":e<=370?"notification-no-lineups370":e<=400?"notification-no-lineups400":e<=460?"notification-no-lineups460":e<=500?"notification-no-lineups500":e<=530?"notification-no-lineups530":e<=740?"notification-no-lineups740":e<=768?"notification-no-lineups768":e<=830?"notification-no-lineups830":e<=900?"notification-no-lineups900":"notification-no-lineups"},containernolineups(){const e=this.gamesContainerWidth;return e<=300?"container-no-lineups300":e<=350?"container-no-lineups350":e<=768?"container-no-lineups768":"container-no-lineups"},menuTeamsClass(){return this.gamesContainerWidth<=740?"menu-teams-mobile740":"menu-teams-mobile"},positionClass(){return this.gamesContainerWidth<=500?"gsc-position-player500":"gsc-position-player"},positionClass2(){return this.gamesContainerWidth<=500?"gsc-position-player2500":"gsc-position-player2"},containerlineupsClass(){const e=this.gamesContainerWidth;return e<=740?"gsc-lineups-container680":e<=900?"gsc-lineups-container900":"gsc-lineups-container"},containerClassHome(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontainerhome680":e<=768?"gsclineupscontainerhome768":e<=900?"gsclineupscontainerhome900":"gsclineupscontainerhome"},containerClassAway(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontaineraway680":e<=768?"gsclineupscontaineraway768":e<=900?"gsclineupscontaineraway900":"gsclineupscontaineraway"},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0}},async mounted(){if(setTimeout(()=>{this.setUpResizeObserver()},100),this.game||this.$route.params.gameId)try{this.cleaneData()}catch(e){throw new Error(e)}},watch:{selectOptMenuheader:{immediate:!0,async handler(e){e==="Historicos"&&(this.cleaneData(),await this.getLineUp(this.gamesHistoric[0].game)),e==="Recientes"&&(this.cleaneData(),await this.getLineUp(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][0].id),this.valueUpdateRecientes+=1)}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){try{e&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Postmatch"&&await this.getLineUp(this.gameInfoheader.id),this.selectOptMenuheader=="Historicos"&&this.getLineUp(this.gamesHistoric[0].game))}catch(a){throw new Error(a)}}}},sockets:{new_bench(e,a){if(a[this.home_team_id]){this.playersHome=this.playersHome.filter(function(f){return!f.isbench});for(let f=0;f<a[this.home_team_id].length;f++)if(!a[this.home_team_id][f].isTitular){this.subsTitle=!0;var o=a[this.home_team_id][f].playerName.split(","),n=o[0].split(" "),s=o[1].trim().split(" "),i="";n.length==2||n.length==1?n[0].length<4?i=n[0]+" "+n[1]:i=n[0]:n.length==3?i=n[0]+" "+n[1]:n.length==4&&(i=n[1]+" "+n[2]+" "+n[3]);var r=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=this.dataPlayersHome.findIndex(b=>b.player_id==a[this.home_team_id][f].playerID);this.playersHome.push({played:!1,name:a[this.home_team_id][f].playerName,position:h!=-1?this.positions[this.dataPlayersHome[h].position_id-1].name:"",position_id:this.dataPlayersHome[h].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.home_team_id][f].playerID+".png",nationality:h!=-1&&this.dataPlayersHome[h].nationality?this.dataPlayersHome[h].nationality.substring(0,3):"",imgNationality:h!=-1?this.dataPlayersHome[h].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.home_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.home_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.home_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersHome.sort((f,b)=>f.position_id>b.position_id?1:b.position_id>f.position_id?-1:0)}if(a[this.away_team_id]){this.playersAway=this.playersAway.filter(function(f){return!f.isbench});for(let f=0;f<a[this.away_team_id].length;f++)if(!a[this.away_team_id][f].isTitular){this.subsTitle=!0;var d=a[this.away_team_id][f].playerName.split(","),l=d[0].split(" "),m=o[1].trim().split(" "),p="";l.length==2||l.length==1?l[0].length<4?p=l[0]+" "+l[1]:p=l[0]:l.length==3?p=l[0]+" "+l[1]:l.length==4&&(p=l[1]+" "+l[2]+" "+l[3]);var g=m[m.length-1]!=""?m[m.length-1].charAt(0):m[m.length-2]?m[m.length-2].charAt(0):"";p=p.replace(",","");var y=g+". "+p,u=this.dataPlayersAway.findIndex(b=>b.player_id==a[this.away_team_id][f].playerID);this.playersAway.push({played:!1,name:a[this.away_team_id][f].playerName,position:u!=-1?this.positions[this.dataPlayersAway[u].position_id-1].name:"",position_id:this.dataPlayersAway[u].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.away_team_id][f].playerID+".png",nationality:u!=-1&&this.dataPlayersAway[u].nationality?this.dataPlayersAway[u].nationality.substring(0,3):"",imgNationality:u!=-1?this.dataPlayersAway[u].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:y,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.away_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.away_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.away_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersAway.sort((f,b)=>f.position_id>b.position_id?1:b.position_id>f.position_id?-1:0)}},new_lineup(e,a){if(a.team_id==a.home_team.team_id){if(this.playersHome.length==0){this.dataPlayersHome=a.home_team.players;for(let _=0;_<a.data.length;_++){this.home_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","home",0);var o=a.data[_].player_name.split(","),n=o[0].split(" "),s=o[1].trim().split(" "),i="";n.length==2||n.length==1?n[0].length<4?i=n[0]+" "+n[1]:i=n[0]:n.length==3?i=n[0]+" "+n[1]:n.length==4&&(i=n[1]+" "+n[2]+" "+n[3]);var r=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=a.data[_].x,d=h*50/100,l=a.home_team.players.findIndex(C=>C.player_id==a.data[_].player_id);this.playersHome.push({played:!0,name:a.data[_].player_name,position:l!=-1?this.positions[a.home_team.players[l].position_id-1].name:"",position_id:a.home_team.players[l].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[_].player_id+".png",nationality:l!=-1&&a.home_team.players[l].nationality?a.home_team.players[l].nationality.substring(0,3):"",imgNationality:l!=-1?a.home_team.players[l].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[_].jersey_number,positionX:a.data[_].y-13,positionY:d*.9,positionXOrigin:a.data[_].y-17,positionYOrigin:a.data[_].x-2,playerId:a.data[_].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersHome.sort((_,C)=>_.position_id>C.position_id?1:C.position_id>_.position_id?-1:0)}}else if(this.playersAway.length==0){this.dataPlayersAway=a.away_team.players;for(let _=0;_<a.data.length;_++){this.away_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","away",0);var m=a.data[_].player_name.split(","),p=m[0].split(" "),g=m[1].trim().split(" "),y="";p.length==2||p.length==1?p[0].length<4?y=p[0]+" "+p[1]:y=p[0]:p.length==3?y=p[0]+" "+p[1]:p.length==4&&(y=p[1]+" "+p[2]+" "+p[3]);var u=g[g.length-1]!=""?g[g.length-1].charAt(0):g[g.length-2]?g[g.length-2].charAt(0):"";y=y.replace(",","");var f=u+". "+y,b=a.data[_].x,k=100-(100-b)*50/100;k=k*.9;var B=a.away_team.players.findIndex(C=>C.player_id==a.data[_].player_id);this.playersAway.push({played:!0,name:a.data[_].player_name,position:B!=-1?this.positions[a.away_team.players[B].position_id-1].name:"",position_id:a.away_team.players[B].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[_].player_id+".png",nationality:B!=-1&&a.away_team.players[B].nationality?a.away_team.players[B].nationality.substring(0,3):"",imgNationality:B!=-1?a.away_team.players[B].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:f,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[_].jersey_number,positionX:a.data[_].y-13,positionY:k+2,positionXOrigin:a.data[_].y-17,positionYOrigin:a.data[_].x-7,playerId:a.data[_].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersAway.sort((_,C)=>_.position_id>C.position_id?1:C.position_id>_.position_id?-1:0)}},update_mxm(e,a){var o=-1,n=-1;if(this.playersHome.length>0){var s=this.playersHome.findIndex($=>$.idredcards==a.play_id),i=this.playersHome.findIndex($=>$.idyellowcards==a.play_id),r=this.playersHome.findIndex($=>$.idSubstitution==a.play_id);for(let $=0;$<this.playersHome.length;$++){var c=this.playersHome[$].idsGoals.findIndex(x=>x==a.play_id);c!=-1&&(o=c,n=$)}s!=-1&&this.resetPlayUpdate("RedCard","Home",s,n),i!=-1&&this.resetPlayUpdate("YellowCard","Home",i,n),r!=-1&&this.resetPlayUpdate("Substitution","Home",r,n),o!=-1&&this.resetPlayUpdate("Goals","Home",o,n)}if(this.playersAway.length>0){var h=this.playersAway.findIndex($=>$.idredcards==a.play_id),d=this.playersAway.findIndex($=>$.idyellowcards==a.play_id),l=this.playersAway.findIndex($=>$.idSubstitution==a.play_id);for(let $=0;$<this.playersAway.length;$++){var m=this.playersAway[$].idsGoals.findIndex(x=>x==a.play_id);m!=-1&&(o=m,n=$)}h!=-1&&this.resetPlayUpdate("RedCard","Away",h,n),d!=-1&&this.resetPlayUpdate("YellowCard","Away",d,n),l!=-1&&this.resetPlayUpdate("Substitution","Away",l,n),o!=-1&&this.resetPlayUpdate("Goals","Away",o,n)}if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=a.player_id.split("@"),g=this.playersHome.findIndex($=>$.playerId==p[0]),y=this.playersHome.findIndex($=>$.playerId==p[1]);g!=-1&&(this.playersHome[g].idSubstitution=a.play_id,this.playersHome[g].substitutionOut=!0,this.playersHome[g].substitutionMin=a.minute,this.playersHome[g].substitutionDataID=a.team_id+"@"+a.player_id),y!=-1&&(this.playersHome[y].idSubstitution=a.play_id,this.playersHome[y].substitutionIn=!0,this.playersHome[y].substitutionMin=a.minute,this.playersHome[y].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var u=a.player_id.split("@"),f=this.playersAway.findIndex($=>$.playerId==u[0]),b=this.playersAway.findIndex($=>$.playerId==u[1]);g!=-1&&(this.playersAway[f].idSubstitution=a.play_id,this.playersAway[f].substitutionOut=!0,this.playersAway[f].substitutionMin=a.minute,this.playersAway[f].substitutionDataID=a.team_id+"@"+a.player_id),b!=-1&&(this.playersAway[b].idSubstitution=a.play_id,this.playersAway[b].substitutionIn=!0,this.playersAway[b].substitutionMin=a.minute,this.playersAway[b].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var k=this.playersHome.findIndex($=>$.playerId==a.player_id);k!=-1&&(this.playersHome[k].goals+=1,this.playersHome[k].goalsMin.push(a.minute),this.playersHome[k].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var B=this.playersAway.findIndex($=>$.playerId==a.player_id);B!=-1&&(this.playersAway[B].goals+=1,this.playersAway[B].goalsMin.push(a.minute),this.playersAway[B].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var _=this.playersHome.findIndex($=>$.playerId==a.player_id);_!=-1&&(this.playersHome[_].yellowcards+=1,this.playersHome[_].yellowcardsMin=a.minute,this.playersHome[_].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var C=this.playersAway.findIndex($=>$.playerId==a.player_id);C!=-1&&(this.playersAway[C].yellowcards+=1,this.playersAway[C].yellowcardsMin=a.minute,this.playersAway[C].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var N=this.playersHome.findIndex($=>$.playerId==a.player_id);N!=-1&&(this.playersHome[N].redcards+=1,this.playersHome[N].redcardsMin=a.minute,this.playersHome[N].idredcards=a.play_id)}}else if(this.playersAway.length>0){var V=this.playersAway.findIndex($=>$.playerId==a.player_id);V!=-1&&(this.playersAway[V].redcards+=1,this.playersAway[V].redcardsMin=a.minute,this.playersAway[V].idredcards=a.play_id)}}}},delete_mxm(e,a){if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++)this.playersHome[o].idSubstitution==a.play_id&&(this.playersHome[o].substitutionOut=!1,this.playersHome[o].substitutionIn=!1,this.playersHome[o].substitutionMin="",this.playersHome[o].substitutionDataID="",this.playersHome[o].idSubstitution=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idSubstitution==a.play_id&&(this.playersAway[o].substitutionOut=!1,this.playersAway[o].substitutionIn=!1,this.playersAway[o].substitutionMin="",this.playersAway[o].substitutionDataID="",this.playersAway[o].idSubstitution=0);if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++){const n=this.playersHome[o].idsGoals.findIndex(s=>s==a.play_id);n!=-1&&(this.playersHome[o].goals=this.playersHome[o].goals-1,this.playersHome[o].goalsMin.splice(n,1),this.playersHome[o].idsGoals.splice(n,1))}if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++){const n=this.playersAway[o].idsGoals.findIndex(s=>s==a.play_id);n!=-1&&(this.playersAway[o].goals=this.playersAway[o].goals-1,this.playersAway[o].goalsMin.splice(n,1),this.playersAway[o].idsGoals.splice(n,1))}if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idyellowcards==a.play_id&&(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idyellowcards==a.play_id&&(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0);if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idredcards==a.play_id&&(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idredcards==a.play_id&&(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)},new_mxm(e,a){if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var o=a.player_id.split("@"),n=this.playersHome.findIndex(y=>y.playerId==o[0]),s=this.playersHome.findIndex(y=>y.playerId==o[1]);n!=-1&&(this.playersHome[n].idSubstitution=a.play_id,this.playersHome[n].substitutionOut=!0,this.playersHome[n].substitutionMin=a.minute,this.playersHome[n].substitutionDataID=a.team_id+"@"+a.player_id),s!=-1&&(this.playersHome[s].idSubstitution=a.play_id,this.playersHome[s].substitutionIn=!0,this.playersHome[s].substitutionMin=a.minute,this.playersHome[s].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var i=a.player_id.split("@"),r=this.playersAway.findIndex(y=>y.playerId==i[0]),c=this.playersAway.findIndex(y=>y.playerId==i[1]);n!=-1&&(this.playersAway[r].idSubstitution=a.play_id,this.playersAway[r].substitutionOut=!0,this.playersAway[r].substitutionMin=a.minute,this.playersAway[r].substitutionDataID=a.team_id+"@"+a.player_id),c!=-1&&(this.playersAway[c].idSubstitution=a.play_id,this.playersAway[c].substitutionIn=!0,this.playersAway[c].substitutionMin=a.minute,this.playersAway[c].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var h=this.playersHome.findIndex(y=>y.playerId==a.player_id);h!=-1&&(this.playersHome[h].goals+=1,this.playersHome[h].goalsMin.push(a.minute),this.playersHome[h].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var d=this.playersAway.findIndex(y=>y.playerId==a.player_id);d!=-1&&(this.playersAway[d].goals+=1,this.playersAway[d].goalsMin.push(a.minute),this.playersAway[d].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var l=this.playersHome.findIndex(y=>y.playerId==a.player_id);l!=-1&&(this.playersHome[l].yellowcards+=1,this.playersHome[l].yellowcardsMin=a.minute,this.playersHome[l].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var m=this.playersAway.findIndex(y=>y.playerId==a.player_id);m!=-1&&(this.playersAway[m].yellowcards+=1,this.playersAway[m].yellowcardsMin=a.minute,this.playersAway[m].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=this.playersHome.findIndex(y=>y.playerId==a.player_id);p!=-1&&(this.playersHome[p].redcards+=1,this.playersHome[p].redcardsMin=a.minute,this.playersHome[p].idredcards=a.play_id)}}else if(this.playersAway.length>0){var g=this.playersAway.findIndex(y=>y.playerId==a.player_id);g!=-1&&(this.playersAway[g].redcards+=1,this.playersAway[g].redcardsMin=a.minute,this.playersAway[g].idredcards=a.play_id)}}}}},methods:{async getLineUpProbablesHome3D(e){try{const B=Pt.create({headers:{Authorization:`${this.tokenPremium}`}});console.log("this.gameInfoheader.home_team"),console.log(this.gameInfoheader.home_team);const _=await B.get(this.url+e);if(!_||!_.data)throw new Error("There is not lineups for this game.");if(_.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=_.data.home_team.players,_.data.home_team.starting_lineup[0].lineup.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0);for(let C=0;C<_.data.home_team.starting_lineup[0].lineup.length;C++){this.home_team_id=_.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+"_g.svg","home",0);var a=_.data.home_team.starting_lineup[0].lineup[C].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=_.data.home_team.starting_lineup[0].lineup[C].x,h=c*50/100,d=_.data.home_team.players.findIndex(N=>N.player_id==_.data.home_team.starting_lineup[0].lineup[C].player_id);this.playersHome.push({played:!0,name:_.data.home_team.starting_lineup[0].lineup[C].player_name,position:this.positions[_.data.home_team.players[d].position_id-1].name,position_id:_.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.starting_lineup[0].lineup[C].player_id+".png",nationality:_.data.home_team.players[d].nationality?_.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.starting_lineup[0].lineup[C].jersey_number,positionX:_.data.home_team.starting_lineup[0].lineup[C].y-13,positionY:h*.9,positionXOrigin:_.data.home_team.starting_lineup[0].lineup[C].y-17,positionYOrigin:_.data.home_team.starting_lineup[0].lineup[C].x-2,playerId:_.data.home_team.starting_lineup[0].lineup[C].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png"}if(this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0),_.data.home_team.bench){for(let C=0;C<_.data.home_team.bench.length;C++){this.subsTitle=!0;var l=_.data.home_team.bench[C].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=_.data.home_team.players.findIndex(N=>N.player_id==_.data.home_team.bench[C].playerID);this.playersHome.push({played:!1,name:_.data.home_team.bench[C].playerName,position:f!=-1?this.positions[_.data.home_team.players[f].position_id-1].name:"",position_id:_.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.bench[C].playerID+".png",nationality:f!=-1&&_.data.home_team.players[f].nationality?_.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.bench[C].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.home_team.bench[C].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.home_team.team_id})}this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0)}}if(_.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=_.data.away_team.players,_.data.away_team.starting_lineup[0].lineup.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0);for(let C=0;C<_.data.away_team.starting_lineup[0].lineup.length;C++){this.home_team_id=_.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+"_g.svg","home",0);var a=_.data.away_team.starting_lineup[0].lineup[C].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,b=_.data.away_team.starting_lineup[0].lineup[C].x;b=Math.abs(b-100);var h=b*50/100,k=_.data.away_team.starting_lineup[0].lineup[C].y;k=Math.abs(k-100);var d=_.data.away_team.players.findIndex(Q=>Q.player_id==_.data.away_team.starting_lineup[0].lineup[C].player_id);this.playersHome.push({played:!0,name:_.data.away_team.starting_lineup[0].lineup[C].player_name,position:this.positions[_.data.away_team.players[d].position_id-1].name,position_id:_.data.away_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.starting_lineup[0].lineup[C].player_id+".png",nationality:_.data.away_team.players[d].nationality?_.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.starting_lineup[0].lineup[C].jersey_number,positionX:k-20,positionY:h*.9,positionXOrigin:_.data.away_team.starting_lineup[0].lineup[C].y-17,positionYOrigin:_.data.away_team.starting_lineup[0].lineup[C].x-2,playerId:_.data.away_team.starting_lineup[0].lineup[C].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.away_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png"}if(this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0),_.data.away_team.bench){for(let C=0;C<_.data.away_team.bench.length;C++){this.subsTitle=!0;var l=_.data.away_team.bench[C].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=_.data.away_team.players.findIndex(P=>P.player_id==_.data.away_team.bench[C].playerID);this.playersHome.push({played:!1,name:_.data.away_team.bench[C].playerName,position:f!=-1?this.positions[_.data.away_team.players[f].position_id-1].name:"",position_id:_.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.bench[C].playerID+".png",nationality:f!=-1&&_.data.away_team.players[f].nationality?_.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.bench[C].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.away_team.bench[C].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.away_team.team_id})}this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0)}}this.getMXM(e)}catch(B){return Promise.reject(B)}},cleaneDataHome(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.homeTeamLogo="",this.homeTeamName="",this.homeTeamAbrev="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataAway(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.awayTeamAbrev="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},async getLineUpProbablesAway3D(e){try{const b=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!b||!b.data)throw new Error("There is not lineups for this game.");if(b.data.home_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=b.data.home_team.players;for(let k=0;k<b.data.home_team.starting_lineup[0].lineup.length;k++){this.away_team_id=b.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.home_team.team_id+"_g.svg","away",0);var a=b.data.home_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=b.data.home_team.starting_lineup[0].lineup[k].x;c=Math.abs(c-100);var h=100-(100-c)*50/100;h=h*.9;var d=b.data.home_team.players.findIndex(B=>B.player_id==b.data.home_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:b.data.home_team.starting_lineup[0].lineup[k].player_name,position:this.positions[b.data.home_team.players[d].position_id-1].name,position_id:b.data.home_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.home_team.starting_lineup[0].lineup[k].player_id+".png",nationality:b.data.home_team.players[d].nationality?b.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:b.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.home_team.starting_lineup[0].lineup[k].jersey_number,positionX:b.data.home_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:b.data.home_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:b.data.home_team.starting_lineup[0].lineup[k].x-7,playerId:b.data.home_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:b.data.home_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+b.data.home_team.team_id+".png"}if(this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0),b.data.home_team.bench){for(let k=0;k<b.data.home_team.bench.length;k++){this.subsTitle=!0;var l=b.data.home_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=b.data.home_team.players.findIndex(B=>B.player_id==b.data.home_team.bench[k].playerID);this.playersAway.push({played:!1,name:b.data.home_team.bench[k].playerName,position:f!=-1?this.positions[b.data.home_team.players[f].position_id-1].name:"",position_id:b.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.home_team.bench[k].playerID+".png",nationality:f!=-1&&b.data.home_team.players[f].nationality?b.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?b.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.home_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:b.data.home_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:b.data.home_team.team_id})}this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0)}}if(b.data.away_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=b.data.away_team.players;for(let k=0;k<b.data.away_team.starting_lineup[0].lineup.length;k++){this.away_team_id=b.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.away_team.team_id+"_g.svg","away",0);var a=b.data.away_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=b.data.away_team.starting_lineup[0].lineup[k].x,h=100-(100-c)*50/100;h=h*.9;var d=b.data.away_team.players.findIndex(I=>I.player_id==b.data.away_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:b.data.away_team.starting_lineup[0].lineup[k].player_name,position:this.positions[b.data.away_team.players[d].position_id-1].name,position_id:b.data.away_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.away_team.starting_lineup[0].lineup[k].player_id+".png",nationality:b.data.away_team.players[d].nationality?b.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:b.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.away_team.starting_lineup[0].lineup[k].jersey_number,positionX:b.data.away_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:b.data.away_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:b.data.away_team.starting_lineup[0].lineup[k].x-7,playerId:b.data.away_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:b.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+b.data.away_team.team_id+".png"}if(this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0),b.data.away_team.bench){for(let k=0;k<b.data.away_team.bench.length;k++){this.subsTitle=!0;var l=b.data.away_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=b.data.away_team.players.findIndex(F=>F.player_id==b.data.away_team.bench[k].playerID);this.playersAway.push({played:!1,name:b.data.away_team.bench[k].playerName,position:f!=-1?this.positions[b.data.away_team.players[f].position_id-1].name:"",position_id:b.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.away_team.bench[k].playerID+".png",nationality:f!=-1&&b.data.away_team.players[f].nationality?b.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?b.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.away_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:b.data.away_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:b.data.away_team.team_id})}this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0)}}this.getMXM(e)}catch(b){return Promise.reject(b)}},async getLineupProbablesHome(e){this.auxProbablesIDGameHome!=e.id&&(this.auxProbablesIDGameHome=e.id,this.cleaneDataHome(),this.getLineUpProbablesHome3D(e.id))},async getLineupProbablesAway(e){this.auxProbablesIDGameAway!=e.id&&(this.auxProbablesIDGameAway=e.id,this.cleaneDataAway(),this.getLineUpProbablesAway3D(e.id))},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItem(e){typeof e.game_id<"u"&&e.game_id!=this.gameInfoheader.id&&this.auxHistoricGameID!=e.game_id&&(this.auxHistoricGameID=e.game_id,this.cleaneData(),await this.getLineUp(e.game_id))},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");this.gameInfoheader=a.data.game;for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[];for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});console.log("se cargan los recientes"),console.log(this.gamesRecientes);for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:this.getRound(a.data.away_team_games_recent[o].matchday_abbreviation),id:a.data.away_team_games_recent[o].matchday_id})},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},clickOnSelectOption(e){console.log("Nuevo valor: "),console.log(e),this.selectOptMenuheader=e,this.cleaneData(),this.auxProbablesIDGameAway=0,this.auxProbablesIDGameHome=0},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.visitingTeam=a.data.teams[1];const o=a.data.games.find(n=>n.game_id===Number(n.game_id));this.gameForAnalysis=o},cleaneData(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.homeTeamAbrev="",this.awayTeamAbrev="",this.home_team_id=0,this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){yn("lineups.game."+this.game.game_id),yn("mxm.game."+this.game.game_id),yn("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,n){if(e=="Substitution")if(a=="Home"){var s=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==s[1]),r=this.playersHome.findIndex(l=>l.playerId==s[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[n].goals=this.playersHome[n].goals-1,this.playersHome[n].goalsMin.splice(o,1),this.playersHome[n].idsGoals.splice(o,1)):(this.playersAway[n].goals=this.playersAway[n].goals-1,this.playersAway[n].goalsMin.splice(o,1),this.playersAway[n].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)IC=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),IC.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const g=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let y=0;y<g.data.plays.length;y++){if(g.data.plays[y].event_type_id==3){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var a=g.data.plays[y].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),n=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=g.data.plays[y].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=g.data.plays[y].minute,this.playersHome[o].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),n!=-1&&(this.playersHome[n].idSubstitution=g.data.plays[y].play_id,this.playersHome[n].substitutionIn=!0,this.playersHome[n].substitutionMin=g.data.plays[y].minute,this.playersHome[n].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}else if(this.playersAway.length>0){var s=g.data.plays[y].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==s[0]),r=this.playersAway.findIndex(u=>u.playerId==s[1]);i!=-1&&(this.playersAway[i].idSubstitution=g.data.plays[y].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=g.data.plays[y].minute,this.playersAway[i].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),r!=-1&&(this.playersAway[r].idSubstitution=g.data.plays[y].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=g.data.plays[y].minute,this.playersAway[r].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}if(g.data.plays[y].event_type_id==1){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(g.data.plays[y].minute),this.playersHome[c].idsGoals.push(g.data.plays[y].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(g.data.plays[y].minute),this.playersAway[h].idsGoals.push(g.data.plays[y].play_id))}}if(g.data.plays[y].event_type_id==2){if(g.data.plays[y].category_id==8){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=g.data.plays[y].minute,this.playersHome[d].idyellowcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=g.data.plays[y].minute,this.playersAway[l].idyellowcards=g.data.plays[y].play_id)}}if(g.data.plays[y].category_id==9){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=g.data.plays[y].minute,this.playersHome[m].idredcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=g.data.plays[y].minute,this.playersAway[p].idredcards=g.data.plays[y].play_id)}}}}}catch(g){return Promise.reject(g)}},async getLineUp(e){if(e!=null&&(dC(),!this.playersHome.length&&!this.playersHome.length))try{const w=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!w||!w.data)throw new Error("There is not lineups for this game.");this.dataPlayersHome=w.data.home_team.players,this.dataPlayersAway=w.data.away_team.players,w.data.home_team.starting_lineup[0].lineup.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0);for(let E=0;E<w.data.home_team.starting_lineup[0].lineup.length;E++){this.home_team_id=w.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+"_g.svg","home",0);var a=w.data.home_team.starting_lineup[0].lineup[E].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=w.data.home_team.starting_lineup[0].lineup[E].x,h=c*50/100,d=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.starting_lineup[0].lineup[E].player_id);this.playersHome.push({played:!0,name:w.data.home_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.home_team.players[d].position_id-1].name,position_id:w.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.home_team.players[d].nationality?w.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.home_team.starting_lineup[0].lineup[E].y-13,positionY:h*.9,positionXOrigin:w.data.home_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.home_team.starting_lineup[0].lineup[E].x-2,playerId:w.data.home_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png"}if(this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.home_team.bench){for(let E=0;E<w.data.home_team.bench.length;E++){this.subsTitle=!0;var l=w.data.home_team.bench[E].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.bench[E].playerID);this.playersHome.push({played:!1,name:w.data.home_team.bench[E].playerName,position:f!=-1?this.positions[w.data.home_team.players[f].position_id-1].name:"",position_id:w.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.bench[E].playerID+".png",nationality:f!=-1&&w.data.home_team.players[f].nationality?w.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.home_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.home_team.team_id})}this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}for(let E=0;E<w.data.away_team.starting_lineup[0].lineup.length;E++){this.away_team_id=w.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+"_g.svg","away",0);var b=w.data.away_team.starting_lineup[0].lineup[E].player_name.split(","),k=b[0].split(" "),B=b[1].trim().split(" "),_="";k.length==2||k.length==1?k[0].length<4?_=k[0]+" "+k[1]:_=k[0]:k.length==3?_=k[0]+" "+k[1]:k.length==4&&(_=k[1]+" "+k[2]+" "+k[3]);var C=B[n.length-1]!=""?B[B.length-1].charAt(0):B[B.length-2]?B[B.length-2].charAt(0):"";_=_.replace(",","");var N=C+". "+_,V=w.data.away_team.starting_lineup[0].lineup[E].x,$=100-(100-V)*50/100;$=$*.9;var x=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.starting_lineup[0].lineup[E].player_id);this.playersAway.push({played:!0,name:w.data.away_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.away_team.players[x].position_id-1].name,position_id:w.data.away_team.players[x].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.away_team.players[x].nationality?w.data.away_team.players[x].nationality.substring(0,3):"",imgNationality:w.data.away_team.players[x].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:N,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.away_team.starting_lineup[0].lineup[E].y-13,positionY:$,positionXOrigin:w.data.away_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.away_team.starting_lineup[0].lineup[E].x-7,playerId:w.data.away_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png"}if(this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.away_team.bench){for(let E=0;E<w.data.away_team.bench.length;E++){this.subsTitle=!0;var F=w.data.away_team.bench[E].playerName.split(","),A=F[0].split(" "),I=F[1].trim().split(" "),P="";A.length==2||A.length==1?A[0].length<4?P=A[0]+" "+A[1]:P=A[0]:A.length==3?P=A[0]+" "+A[1]:A.length==4&&(P=A[1]+" "+A[2]+" "+A[3]);var Q=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";P=P.replace(",","");var K=Q+". "+P,R=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.bench[E].playerID);this.playersAway.push({played:!1,name:w.data.away_team.bench[E].playerName,position:R!=-1?this.positions[w.data.away_team.players[R].position_id-1].name:"",position_id:w.data.away_team.players[R].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.bench[E].playerID+".png",nationality:R!=-1&&w.data.away_team.players[R].nationality?w.data.away_team.players[R].nationality.substring(0,3):"",imgNationality:R!=-1?w.data.away_team.players[R].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:K,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.away_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.away_team.team_id})}this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}this.getMXM(e)}catch(w){return Promise.reject(w)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var n=new XMLHttpRequest,s=0;a=="away"?o==1?this.uniformAway==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformAwayG==""&&(n.open("HEAD",e,!1),n.send(),s=1):o==1?this.uniformHome==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformHomeG==""&&(n.open("HEAD",e,!1),n.send(),s=1),s==1&&(n.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),n=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),n!=-1?(this.substitutionModal.out.name=this.playersHome[n].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[n].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[n].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[n].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[n].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var s=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);s!=-1?(this.substitutionModal.min=this.playersAway[s].substitutionMin,this.substitutionModal.in.name=this.playersAway[s].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[s].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[s].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[s].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[s].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},axe={class:"size-browser-class"},oxe={class:"lineup-players is-centered"},nxe={style:{width:"92%",margin:"0 auto","margin-top":"10px"}},sxe={class:"modal-substitutions__substitution-container"},ixe={class:"modal-substitutions__substitution-container__header"},rxe={style:{"margin-left":"32px"}},lxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn-close.png"},null,-1),cxe=[lxe],dxe={class:"modal-substitutions__substitution-container__players-container"},mxe={class:"substitution-player-data-container"},pxe={class:"substitution-player-data-container__img-player"},hxe=["src"],yxe={class:"substitution-player-data-container__img-player__team"},gxe=["src"],uxe={class:"substitution-player-data-container__name-player"},fxe={class:"substitution-player-data-container__position-player"},_xe={class:"substitution-player-data-container__shirt-player",style:{"padding-left":"30px"}},bxe={key:0,class:"substitution-player-data-container__shirt-player__circle"},wxe={key:1},Cxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"},null,-1),kxe=[Cxe],Sxe={class:"substitution-player-data-container__substitution-player"},Exe={class:"substitution-indicator nomargin"},Nxe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"})],-1),$xe={class:"substitution-player-data-container__center"},Bxe=t.createElementVNode("div",{class:"substitution-player-data-container__border"},null,-1),xxe={class:"substitution-player-data-container__minute"},Vxe={class:"substitution-player-data-container"},Ixe={class:"substitution-player-data-container__img-player"},Axe=["src"],Oxe={class:"substitution-player-data-container__img-player__team"},Txe=["src"],zxe={class:"substitution-player-data-container__name-player"},Fxe={class:"substitution-player-data-container__position-player"},Rxe={class:"substitution-player-data-container__shirt-player",style:{"padding-right":"20px"}},Pxe={key:0},Dxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"},null,-1),jxe=[Dxe],Lxe={key:1,class:"substitution-player-data-container__shirt-player__circle"},vxe={class:"substitution-player-data-container__substitution-player"},Mxe={class:"substitution-indicator nomargin"},Hxe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"})],-1),Uxe=["onClick"],Gxe=t.createElementVNode("img",{src:VC},null,-1),Wxe=[Gxe],qxe=["onClick"],Jxe=t.createElementVNode("img",{src:VC},null,-1),Xxe=[Jxe],Zxe={key:0,class:"cont-lineup-gsc-componente"},Yxe={class:"shield-team-cont homecolor"},Kxe=["src"],Qxe={class:"shield-team-cont awaycolor"},eVe=["src"],tVe={key:0,class:"header-lineup-shield-team home"},aVe={class:"shield-team-cont homecolor"},oVe=["src"],nVe={class:"header-lineup-shield-team-wrapper"},sVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},iVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),rVe={key:0,class:"header-lineup-shield-team away"},lVe={class:"shield-team-cont awaycolor"},cVe=["src"],dVe={class:"header-lineup-shield-team-wrapper"},mVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},pVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),hVe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/graf-busqueda@3x.png",width:"74"},null,-1),yVe=[hVe],gVe=t.createElementVNode("br",null,null,-1);function uVe(e,a,o,n,s,i){const r=t.resolveComponent("HeaderPlayerPostmatch"),c=t.resolveComponent("HeaderPlayerHistorico"),h=t.resolveComponent("HeaderPlayerRecientes"),d=t.resolveComponent("HeaderPlayerProbables"),l=t.resolveComponent("CardPlayer");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",axe,t.toDisplayString(i.sizeBrowser),1),t.createElementVNode("div",oxe,[t.createElementVNode("div",nxe,[o.selectedOption=="Postmatch"?(t.openBlock(),t.createBlock(r,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":s.matchdaysPerTeam,"game-historic":s.gamesHistoric},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[s.selectOptMenuheader=="Historicos"?(t.openBlock(),t.createBlock(c,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":s.matchdaysPerTeam,"game-historic":s.gamesHistoric,"game-recientes":Object.keys(s.gameInfoheader).length>0?s.gamesRecientes[s.gameInfoheader.home_team_abbreviation].length+s.gamesRecientes[s.gameInfoheader.away_team_abbreviation].length:0},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic","game-recientes"])):t.createCommentVNode("",!0),s.selectOptMenuheader=="Recientes"?(t.openBlock(),t.createBlock(h,{key:1,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"100px"},"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,"player-home":s.playersHome,"player-away":s.playersAway,"matchdays-default":s.matchdaysPerTeam,onInput:i.changeCarouselItemRecent,"game-recientes":s.gamesRecientes},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","player-home","player-away","matchdays-default","onInput","game-recientes"])):t.createCommentVNode("",!0),s.selectOptMenuheader=="Probables"?(t.openBlock(),t.createBlock(d,{key:2,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"80px"},"matchdays-default":s.matchdaysPerTeam,"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,onChangehome:i.getLineupProbablesHome,onChangeaway:i.getLineupProbablesAway,"game-recientes":s.gamesRecientes},null,8,["onClickOnSelectOption","matchdays-default","option-selected","width-size","game-info","onChangehome","onChangeaway","game-recientes"])):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",{class:t.normalizeClass(["lineup-players__container",{fallback:s.gamesContainerWidth===0}]),ref:"gamesContainer"},[t.createElementVNode("div",{class:t.normalizeClass(i.fieldcontainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(["modal-substitutions",s.subsActive?"activeSub":"deactiveSub"])},[t.createElementVNode("div",sxe,[t.createElementVNode("div",ixe,[t.createElementVNode("span",rxe,[t.createTextVNode("Cambio "),t.createElementVNode("span",{class:"close-susbtitutions",onClick:a[0]||(a[0]=m=>i.closeChange())},cxe)])]),t.createElementVNode("div",dxe,[t.createElementVNode("div",mxe,[t.createElementVNode("div",pxe,[s.substitutionModal.in.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.in.playerImg,width:"72",alt:"Jugador"},null,8,hxe)):t.createCommentVNode("",!0),t.createElementVNode("div",yxe,[s.substitutionModal.in.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.in.teamImg,width:"28",alt:"team"},null,8,gxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+s.substitutionModal.in.nationalityimg+")"})},null,4)]),t.createElementVNode("div",uxe,t.toDisplayString(s.substitutionModal.in.name),1),t.createElementVNode("div",fxe,t.toDisplayString(s.substitutionModal.in.position),1),t.createElementVNode("div",_xe,[s.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",bxe,t.toDisplayString(s.substitutionModal.in.shirt_number),1)):t.createCommentVNode("",!0),s.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",wxe,kxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Sxe,[t.createElementVNode("template",null,[t.createElementVNode("div",Exe,[t.createElementVNode("div",null,t.toDisplayString(s.substitutionModal.min)+"'",1),Nxe])])])]),t.createElementVNode("div",$xe,[Bxe,t.createElementVNode("div",xxe,t.toDisplayString(s.substitutionModal.min)+"'",1)]),t.createElementVNode("div",Vxe,[t.createElementVNode("div",Ixe,[s.substitutionModal.out.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.out.playerImg,width:"72",alt:"Jugador"},null,8,Axe)):t.createCommentVNode("",!0),t.createElementVNode("div",Oxe,[s.substitutionModal.out.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.out.teamImg,width:"28",alt:"team"},null,8,Txe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+s.substitutionModal.out.nationalityimg+")"})},null,4)]),t.createElementVNode("div",zxe,t.toDisplayString(s.substitutionModal.out.name),1),t.createElementVNode("div",Fxe,t.toDisplayString(s.substitutionModal.out.position),1),t.createElementVNode("div",Rxe,[s.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Pxe,jxe)):t.createCommentVNode("",!0),s.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Lxe,t.toDisplayString(s.substitutionModal.out.shirt_number),1)):t.createCommentVNode("",!0)]),t.createElementVNode("div",vxe,[t.createElementVNode("template",null,[t.createElementVNode("div",Mxe,[t.createElementVNode("div",null,t.toDisplayString(s.substitutionModal.min)+"'",1),Hxe])])])])])])],2),t.createElementVNode("div",{class:t.normalizeClass(i.canchacontainerClass)},[(s.gameForAnalysis.game_status==4||s.gameForAnalysis.game_status==1)&&s.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.notificationnolineupsClass])}," Las alineaciones estarán disponibles unos minutos antes de que inicie el partido. ",2)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_home"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,s.gamesContainerWidth<740?s.teamActive=="home"?"active":"disabled":"",s.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(s.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+2+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:s.uniformHome}:{backgroundImage:s.uniformHomeG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new",[s.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:g=>i.viewChange(m.substitutionDataID)},Wxe,10,Uxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_away"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,s.gamesContainerWidth<740?s.teamActive=="away"?"active":"disabled":"",s.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(s.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:s.uniformAway}:{backgroundImage:s.uniformAwayG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new-away",[s.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:g=>i.viewChange(m.substitutionDataID)},Xxe,10,qxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128))],2)],2),(s.gameForAnalysis.game_status==4||s.gameForAnalysis.game_status==1)&&s.gameForAnalysis.is_live==0&&i.numPlayer==0?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Zxe,[t.createElementVNode("div",{class:t.normalizeClass(i.containerlineupsClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.menuTeamsClass)},[t.createElementVNode("div",{class:"header-lineup-shield-team home",style:t.normalizeStyle([{cursor:"pointer"},s.teamActive=="home"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[1]||(a[1]=m=>i.viewLineupTeam("home"))},[t.createElementVNode("div",Yxe,[s.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,Kxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(s.homeTeam.acronym),1)],4),t.createElementVNode("div",{class:"header-lineup-shield-team away",style:t.normalizeStyle([{cursor:"pointer"},s.teamActive=="away"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[2]||(a[2]=m=>i.viewLineupTeam("away"))},[t.createElementVNode("div",null,t.toDisplayString(s.visitingTeam.acronym),1),t.createElementVNode("div",Qxe,[s.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,eVe)):t.createCommentVNode("",!0)])],4)],2),s.teamActive=="home"||s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.containerClassHome)},[s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",tVe,[t.createElementVNode("div",aVe,[s.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,oVe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(s.homeTeam.acronym),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",nVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",sVe,[iVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0),s.teamActive=="away"||s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containerClassAway)},[s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",rVe,[t.createElementVNode("div",null,t.toDisplayString(s.visitingTeam.acronym),1),t.createElementVNode("div",lVe,[s.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,cVe)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("div",dVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",mVe,[pVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0)],2)])),(s.gameForAnalysis.game_status==4||s.gameForAnalysis.game_status==1)&&s.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containernolineups)},[t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__img-search",s.gamesContainerWidth<740?"movil":""])},yVe,2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__title-info",s.gamesContainerWidth<740?"movil":""])}," Alineaciones sin definir ",2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__subtitle-info",s.gamesContainerWidth<740?"movil":""])},[t.createTextVNode(" Los equipos no han presentado sus alineaciones. Estas "),gVe,t.createTextVNode("serán dadas minutos antes del inicio del partido. ")],2)],2)):t.createCommentVNode("",!0)],2)])])])}const fVe=wt(txe,[["render",uVe]]),_Ve={components:{GSCLineups2D:j6e,GSCLineups3D:fVe},props:{selectedOption:{type:String,default:"Historicos"},game:{type:Object,default:()=>{}},type:{type:String,default:"2D"}},watch:{},data(){return{}},computed:{},methods:{}};function bVe(e,a,o,n,s,i){const r=t.resolveComponent("GSCLineups2D"),c=t.resolveComponent("GSCLineups3D");return t.openBlock(),t.createElementBlock("div",null,[o.type=="2D"?(t.openBlock(),t.createBlock(r,{key:0,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0),o.type=="3D"?(t.openBlock(),t.createBlock(c,{key:1,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0)])}const wVe=wt(_Ve,[["render",bVe]]);function AC(e,a){return function(){return e.apply(a,arguments)}}const{toString:CVe}=Object.prototype,{getPrototypeOf:ng}=Object,hc=(e=>a=>{const o=CVe.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ca=e=>(e=e.toLowerCase(),a=>hc(a)===e),yc=e=>a=>typeof a===e,{isArray:gn}=Array,Ys=yc("undefined");function kVe(e){return e!==null&&!Ys(e)&&e.constructor!==null&&!Ys(e.constructor)&&jt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const OC=Ca("ArrayBuffer");function SVe(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&OC(e.buffer),a}const EVe=yc("string"),jt=yc("function"),TC=yc("number"),gc=e=>e!==null&&typeof e=="object",NVe=e=>e===!0||e===!1,uc=e=>{if(hc(e)!=="object")return!1;const a=ng(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$Ve=Ca("Date"),BVe=Ca("File"),xVe=Ca("Blob"),VVe=Ca("FileList"),IVe=e=>gc(e)&&jt(e.pipe),AVe=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||jt(e.append)&&((a=hc(e))==="formdata"||a==="object"&&jt(e.toString)&&e.toString()==="[object FormData]"))},OVe=Ca("URLSearchParams"),TVe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ks(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),gn(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function zC(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const FC=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),RC=e=>!Ys(e)&&e!==FC;function sg(){const{caseless:e}=RC(this)&&this||{},a={},o=(n,s)=>{const i=e&&zC(a,s)||s;uc(a[i])&&uc(n)?a[i]=sg(a[i],n):uc(n)?a[i]=sg({},n):gn(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Ks(arguments[n],o);return a}const zVe=(e,a,o,{allOwnKeys:n}={})=>(Ks(a,(s,i)=>{o&&jt(s)?e[i]=AC(s,o):e[i]=s},{allOwnKeys:n}),e),FVe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),RVe=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},PVe=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&ng(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},DVe=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},jVe=e=>{if(!e)return null;if(gn(e))return e;let a=e.length;if(!TC(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},LVe=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&ng(Uint8Array)),vVe=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},MVe=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},HVe=Ca("HTMLFormElement"),UVe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),PC=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),GVe=Ca("RegExp"),DC=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};Ks(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},WVe=e=>{DC(e,(a,o)=>{if(jt(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(jt(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},qVe=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return gn(e)?n(e):n(String(e).split(a)),o},JVe=()=>{},XVe=(e,a)=>(e=+e,Number.isFinite(e)?e:a),ig="abcdefghijklmnopqrstuvwxyz",jC="0123456789",LC={DIGIT:jC,ALPHA:ig,ALPHA_DIGIT:ig+ig.toUpperCase()+jC},ZVe=(e=16,a=LC.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function YVe(e){return!!(e&&jt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const KVe=e=>{const a=new Array(10),o=(n,s)=>{if(gc(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=gn(n)?[]:{};return Ks(n,(r,c)=>{const h=o(r,s+1);!Ys(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},QVe=Ca("AsyncFunction"),eIe=e=>e&&(gc(e)||jt(e))&&jt(e.then)&&jt(e.catch),X={isArray:gn,isArrayBuffer:OC,isBuffer:kVe,isFormData:AVe,isArrayBufferView:SVe,isString:EVe,isNumber:TC,isBoolean:NVe,isObject:gc,isPlainObject:uc,isUndefined:Ys,isDate:$Ve,isFile:BVe,isBlob:xVe,isRegExp:GVe,isFunction:jt,isStream:IVe,isURLSearchParams:OVe,isTypedArray:LVe,isFileList:VVe,forEach:Ks,merge:sg,extend:zVe,trim:TVe,stripBOM:FVe,inherits:RVe,toFlatObject:PVe,kindOf:hc,kindOfTest:Ca,endsWith:DVe,toArray:jVe,forEachEntry:vVe,matchAll:MVe,isHTMLForm:HVe,hasOwnProperty:PC,hasOwnProp:PC,reduceDescriptors:DC,freezeMethods:WVe,toObjectSet:qVe,toCamelCase:UVe,noop:JVe,toFiniteNumber:XVe,findKey:zC,global:FC,isContextDefined:RC,ALPHABET:LC,generateString:ZVe,isSpecCompliantForm:YVe,toJSONObject:KVe,isAsyncFn:QVe,isThenable:eIe};function Ce(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}X.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const vC=Ce.prototype,MC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{MC[e]={value:e}}),Object.defineProperties(Ce,MC),Object.defineProperty(vC,"isAxiosError",{value:!0}),Ce.from=(e,a,o,n,s,i)=>{const r=Object.create(vC);return X.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),Ce.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const tIe=null;function rg(e){return X.isPlainObject(e)||X.isArray(e)}function HC(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function UC(e,a,o){return e?e.concat(a).map(function(n,s){return n=HC(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function aIe(e){return X.isArray(e)&&!e.some(rg)}const oIe=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});function fc(e,a,o){if(!X.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=X.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!X.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(a);if(!X.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(X.isDate(g))return g.toISOString();if(!c&&X.isBlob(g))throw new Ce("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(g)||X.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(X.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(X.isArray(g)&&aIe(g)||(X.isFileList(g)||X.endsWith(y,"[]"))&&(f=X.toArray(g)))return y=HC(y),f.forEach(function(b,k){!(X.isUndefined(b)||b===null)&&a.append(r===!0?UC([y],k,i):r===null?y:y+"[]",h(b))}),!1}return rg(g)?!0:(a.append(UC(u,y,i),h(g)),!1)}const l=[],m=Object.assign(oIe,{defaultVisitor:d,convertValue:h,isVisitable:rg});function p(g,y){if(!X.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),X.forEach(g,function(u,f){(!(X.isUndefined(u)||u===null)&&s.call(a,u,X.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),a}function GC(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function lg(e,a){this._pairs=[],e&&fc(e,this,a)}const WC=lg.prototype;WC.append=function(e,a){this._pairs.push([e,a])},WC.toString=function(e){const a=e?function(o){return e.call(this,o,GC)}:GC;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function nIe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qC(e,a,o){if(!a)return e;const n=o&&o.encode||nIe,s=o&&o.serialize;let i;if(s?i=s(a,o):i=X.isURLSearchParams(a)?a.toString():new lg(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class sIe{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){X.forEach(this.handlers,function(o){o!==null&&a(o)})}}const JC=sIe,XC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iIe=typeof URLSearchParams<"u"?URLSearchParams:lg,rIe=typeof FormData<"u"?FormData:null,lIe=typeof Blob<"u"?Blob:null,cIe=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),dIe=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ka={isBrowser:!0,classes:{URLSearchParams:iIe,FormData:rIe,Blob:lIe},isStandardBrowserEnv:cIe,isStandardBrowserWebWorkerEnv:dIe,protocols:["http","https","file","blob","url","data"]};function mIe(e,a){return fc(e,new ka.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ka.isNode&&X.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function pIe(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function hIe(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function ZC(e){function a(o,n,s,i){let r=o[i++];const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&X.isArray(s)?s.length:r,h?(X.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!X.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&X.isArray(s[r])&&(s[r]=hIe(s[r])),!c)}if(X.isFormData(e)&&X.isFunction(e.entries)){const o={};return X.forEachEntry(e,(n,s)=>{a(pIe(n),s,o,0)}),o}return null}function yIe(e,a,o){if(X.isString(e))try{return(a||JSON.parse)(e),X.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const cg={transitional:XC,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=X.isObject(e);if(s&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return n&&n?JSON.stringify(ZC(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return mIe(e,this.formSerializer).toString();if((i=X.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return fc(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),yIe(e)):e}],transformResponse:[function(e){const a=this.transitional||cg.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&X.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?Ce.from(i,Ce.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ka.classes.FormData,Blob:ka.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{cg.headers[e]={}});const dg=cg,gIe=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),uIe=e=>{const a={};let o,n,s;return e&&e.split(`
85
+ */const ht={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},CC={itemsToShow:{default:ht.itemsToShow,type:Number},itemsToScroll:{default:ht.itemsToScroll,type:Number},wrapAround:{default:ht.wrapAround,type:Boolean},throttle:{default:ht.throttle,type:Number},snapAlign:{default:ht.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ht.transition,type:Number},breakpoints:{default:ht.breakpoints,type:Object},autoplay:{default:ht.autoplay,type:Number},pauseAutoplayOnHover:{default:ht.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ht.mouseDrag,type:Boolean},touchDrag:{default:ht.touchDrag,type:Boolean},dir:{default:ht.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ht.i18n,type:Object},settings:{default(){return{}},type:Object}};function g8e({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:n,itemsToShow:s=1}=e;if(n)return Math.max(a-1,0);let i;switch(o){case"start":i=a-s;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((s-.5)/2);break;case"center-even":i=a-Math.ceil(s/2);break;default:i=0;break}return Math.max(i,0)}function u8e({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:n,itemsToShow:s=1}=e;let i=0;if(o||s>a)return i;switch(n){case"start":i=0;break;case"end":i=s-1;break;case"center":case"center-odd":i=Math.floor((s-1)/2);break;case"center-even":i=Math.floor((s-2)/2);break;default:i=0;break}return i}function Qy({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function f8e({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:n,wrapAround:s,itemsToShow:i=1}=e;let r=a;switch(n){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return s?r:Qy({val:r,max:o-i,min:0})}function kC(e){return e?e.reduce((a,o)=>{var n;return o.type===t.Fragment?[...a,...kC(o.children)]:((n=o.type)===null||n===void 0?void 0:n.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function eg({val:e,max:a,min:o=0}){return e>a?eg({val:e-(a+1),max:a,min:o}):e<o?eg({val:e+(a+1),max:a,min:o}):e}function _8e(e,a){let o;return a?function(...n){const s=this;o||(e.apply(s,n),o=!0,setTimeout(()=>o=!1,a))}:e}function b8e(e,a){let o;return function(...n){o&&clearTimeout(o),o=setTimeout(()=>{e(...n),o=null},a)}}function w8e(e="",a={}){return Object.entries(a).reduce((o,[n,s])=>o.replace(`{${n}}`,String(s)),e)}var C8e=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},ht))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},w8e(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),k8e=t.defineComponent({name:"Carousel",props:CC,setup(e,{slots:a,emit:o,expose:n}){var s;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},ht));let l=Object.assign({},ht),m;const p=t.ref((s=e.modelValue)!==null&&s!==void 0?s:0),g=t.ref(0),y=t.ref(0),u=t.ref(0),f=t.ref(0);let b,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function B(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),C(l)}function _(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(T=>Number(T)).sort((T,te)=>+te-+T);let z=Object.assign({},l);S.some(T=>{const te=window.matchMedia(`(min-width: ${T}px)`).matches;return te&&(z=Object.assign(Object.assign({},z),m[T])),te}),C(z)}function C(S){Object.entries(S).forEach(([z,T])=>d[z]=T)}const N=b8e(()=>{_(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function $(){h.value<=0||(y.value=Math.ceil((h.value-1)/2),u.value=g8e({config:d,slidesCount:h.value}),f.value=u8e({config:d,slidesCount:h.value}),d.wrapAround||(p.value=Qy({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),_(),oe(),window.addEventListener("resize",N,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),b&&clearInterval(b),window.removeEventListener("resize",N,{passive:!0})});let x=!1;const F={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),P=t.ref(!1),Q=t.ref(!1),K=()=>{P.value=!0},R=()=>{P.value=!1};function w(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||(x=S.type==="touchstart",x||S.preventDefault(),!(!x&&S.button!==0||ee.value)&&(F.x=x?S.touches[0].clientX:S.clientX,F.y=x?S.touches[0].clientY:S.clientY,document.addEventListener(x?"touchmove":"mousemove",E,!0),document.addEventListener(x?"touchend":"mouseup",O,!0)))}const E=_8e(S=>{Q.value=!0,A.x=x?S.touches[0].clientX:S.clientX,A.y=x?S.touches[0].clientY:S.clientY;const z=A.x-F.x,T=A.y-F.y;I.y=T,I.x=z},d.throttle);function O(){const S=d.dir==="rtl"?-1:1,z=Math.sign(I.x)*.4,T=Math.round(I.x/c.value+z)*S;if(T&&!x){const te=Be=>{Be.stopPropagation(),window.removeEventListener("click",te,!0)};window.addEventListener("click",te,!0)}ae(p.value-T),I.x=0,I.y=0,Q.value=!1,document.removeEventListener(x?"touchmove":"mousemove",E,!0),document.removeEventListener(x?"touchend":"mouseup",O,!0)}function oe(){!d.autoplay||d.autoplay<=0||(b=setInterval(()=>{d.pauseAutoplayOnHover&&P.value||ie()},d.autoplay))}function ne(){b&&(clearInterval(b),b=null),oe()}const ee=t.ref(!1);function ae(S){const z=d.wrapAround?S:Qy({val:S,max:u.value,min:f.value});p.value===z||ee.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!0,g.value=p.value,p.value=z,k=setTimeout(()=>{if(d.wrapAround){const T=eg({val:z,max:u.value,min:0});T!==p.value&&(p.value=T,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:g.value,slidesCount:h.value}),ee.value=!1,ne()},d.transition))}function ie(){ae(p.value+d.itemsToScroll)}function Ee(){ae(p.value-d.itemsToScroll)}const ze={slideTo:ae,next:ie,prev:Ee};t.provide("nav",ze),t.provide("isSliding",ee);const Fe=t.computed(()=>f8e({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",Fe);const ft=t.computed(()=>{const S=d.dir==="rtl"?-1:1,z=Fe.value*c.value*S;return{transform:`translateX(${I.x-z}px)`,transition:`${ee.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function Re(){B(),_(),$(),V(),ne()}Object.keys(CC).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],Re)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&ae(Number(S))}),t.watch(h,$),o("before-init"),B();const Pe={config:d,slidesCount:h,slideWidth:c,next:ie,prev:Ee,slideTo:ae,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:y};n({updateBreakpointsConfigs:_,updateSlidesData:$,updateSlideWidth:V,initDefaultConfigs:B,restartCarousel:Re,slideTo:ae,next:ie,prev:Ee,nav:ze,data:Pe});const De=a.default||a.slides,je=a.addons,Le=t.reactive(Pe);return()=>{const S=kC(De==null?void 0:De(Le)),z=(je==null?void 0:je(Le))||[];S.forEach((xe,Ve)=>xe.props.index=Ve);let T=S;if(d.wrapAround){const xe=S.map((Ie,se)=>t.cloneVNode(Ie,{index:-S.length+se,isClone:!0,key:`clone-before-${se}`})),Ve=S.map((Ie,se)=>t.cloneVNode(Ie,{index:S.length+se,isClone:!0,key:`clone-after-${se}`}));T=[...xe,...S,...Ve]}r.value=S,h.value=Math.max(S.length,1);const te=t.h("ol",{class:"carousel__track",style:ft.value,onMousedownCapture:d.mouseDrag?w:null,onTouchstartPassiveCapture:d.touchDrag?w:null},T),Be=t.h("div",{class:"carousel__viewport"},te);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":ee.value,"is-dragging":Q.value,"is-hover":P.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:K,onMouseleave:R},[Be,z,t.h(C8e)])}}}),SC;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(SC||(SC={}));var S8e=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},ht))),n=t.inject("currentSlide",t.ref(0)),s=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===n.value,c=()=>e.index===n.value-1,h=()=>e.index===n.value+1,d=()=>{const l=Math.floor(s.value),m=Math.ceil(s.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const E8e=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},N8e=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),$8e={class:"gsc-carousel"},B8e={key:0},x8e=N8e(()=>t.createElementVNode("div",null,"no hay",-1)),V8e=[x8e],I8e={class:"gsc-carousel__2d__slides"},A8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},O8e=["fill"],T8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z8e=["fill"],F8e={class:"gsc-carousel__2d__navigation"},R8e={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P8e=["stroke"],D8e={key:1,class:"gsc-carousel__2d__navigation__pagination"},j8e=["onClick"],L8e={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v8e=["stroke"],M8e={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const n=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const s=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(s,u=>{u&&c.value?(c.value=!1,h(n.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>n.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>n.items,u=>{s.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&s.value){if(n.defaultItemByProp){const f=n.items.findIndex(b=>b[n.defaultItemByProp.propName]===n.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=n.defaultItemByIndex,i.value=u[n.defaultItemByIndex];s.value.slideTo&&s.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){s.value&&s.value.next()}function l(){s.value&&s.value.prev()}function m(){s.value&&s.value.updateSlideWidth()}function p(u){s.value&&s.value.slideTo(u)}function g(u){s.value.slideTo(u)}function y(u){const f=u.slidingToIndex<0?n.items.length-1:u.slidingToIndex===n.items.length?0:u.slidingToIndex;r.value=f,i.value=n.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",$8e,[n.is3d?(t.openBlock(),t.createElementBlock("div",B8e,V8e)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",I8e,[t.createVNode(t.unref(k8e),{ref_key:"carousel2d",ref:s,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createBlock(t.unref(S8e),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:b},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=b=>s.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",A8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,O8e)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=b=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",T8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,z8e)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",F8e,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=b=>l())},[(t.openBlock(),t.createElementBlock("svg",R8e,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:n.arrowsColor},null,8,P8e)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",D8e,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(b,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${n.navigationHeight}px`,width:`${r.value===k?n.navigationActiveWidth:n.navigationActiveWidth/2}px`,borderRadius:`${n.navigationBorderRadius}px`,backgroundColor:`${r.value===k?n.navigationActiveColor:n.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:B=>g(k)},null,12,j8e))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=b=>s.value.next())},[(t.openBlock(),t.createElementBlock("svg",L8e,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:n.arrowsColor},null,8,v8e)]))])):t.createCommentVNode("",!0)])],2))]))}},dc=E8e(M8e,[["__scopeId","data-v-dd3cbf69"]]),H8e=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o},tg={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},EC=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},NC=tg.setup;tg.setup=NC?(e,a)=>(EC(),NC(e,a)):EC;const U8e=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),G8e=["src"],W8e={key:1,class:"text"},q8e=["src"],J8e={class:"stats"},X8e=U8e(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),Z8e={class:"numstats"},Y8e={class:"leyend"};function K8e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",s.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,s.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,G8e)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",W8e,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,q8e)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",J8e,[X8e,t.createElementVNode("div",Z8e,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",Y8e,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const Q8e=H8e(tg,[["render",K8e],["__scopeId","data-v-fb269a1e"]]),e6e={class:"gsc-dropdown__main-container__item-selected"},t6e=["height","width"],a6e=["stroke"],o6e={class:"gsc-dropdown__items-container"},n6e=["onClick"],s6e={key:0,class:"gsc-dropdown__items-footer"},ag={__name:"GSC-Dropdown",props:{modelValue:{type:[Object,Number,String],default:()=>null},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},fontSize:{type:String,default:"14px"},borderRadius:{type:Number,default:5},arrowHeight:{type:Number,default:24},arrowWidth:{type:Number,default:24},borderType:{type:String,default:"solid",validator:function(e){return["solid","dotted","dashed"].includes(e)}},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"black"},backgroundColor:{type:String,default:"grey"},color:{type:String,default:"black"},arrowColor:{type:String,default:"#CBEE6B"},items:{type:Array,default:()=>[]},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},listBackgroundColor:{type:String,default:"white"},hoverBackgroundColor:{type:String,default:"#f1f1f1"},listItemPadding:{type:String,default:"10px 12px"},listHeight:{type:String,default:"fit-content"},listItemSelectedColor:{type:String,default:"white"},listItemSelectedBackgroundColor:{type:String,default:"#399cfd"},listItemColor:{type:String,default:"black"},listBorderRadius:{type:String,default:"0"},listBorderColor:{type:String,default:""},listBorderWidth:{type:Number,default:1},isListSameWidth:{type:Boolean,default:!1},isMultipleOption:{type:Boolean,default:!1},footerBorderColor:{type:String,default:"#626970"},footerBorderWidth:{type:Number,default:1},isFooterVisible:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},onlyFirstTime:{type:Boolean,default:!1}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const o=e,n=t.ref({}),s=t.ref(null),i=t.ref(o.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>o.items,(g,y)=>{if(!o.modelValue&&(!o.onlyFirstTime||!y||!y.length)&&g&&g.length){if(o.defaultItemByProp){const u=o.items.findIndex(f=>f[o.defaultItemByProp.propName]===o.defaultItemByProp.value);u!==-1?(i.value=u,n.value=g[u]):(i.value=0,n.value=g[0])}else n.value=g[o.defaultItemByIndex];a("input",n.value)}},{immediate:!0}),t.watch(()=>o.modelValue,g=>{if(g){const y=o.items.findIndex(u=>typeof g=="object"?JSON.stringify(u)===JSON.stringify(g):u===g);y!==-1&&(i.value=y,n.value=o.items[y],a("update:modelValue",n.value))}},{immediate:!0});const c=t.computed(()=>({height:o.height,width:o.width,backgroundColor:o.backgroundColor,borderRadius:`${o.borderRadius}px`,border:`${o.borderType} ${o.borderWidth}px ${o.borderColor}`,color:o.color,"--hover-background-color":o.hoverBackgroundColor,"--list-item-padding":o.listItemPadding,"--list-background-color":o.listBackgroundColor,"--list-height":o.listHeight,"--list-item-selected-color":o.listItemSelectedColor,"--list-item-selected-background-color":o.listItemSelectedBackgroundColor,"--list-item-color":o.listItemColor,"--list-border-radius":`${o.listBorderRadius}`,"--list-border-color":o.listBorderColor,"--list-width":o.isListSameWidth?o.width:"fit-content","--list-border-width":`${o.listBorderWidth}px`,"--footer-border":`${o.footerBorderWidth}px solid ${o.footerBorderColor}`,"--dropdown-opacity":o.isDisabled?"0.5":"1","--dropdown-cursor":o.isDisabled?"not-allowed":"pointer","--dropdown-font-size":o.fontSize?o.fontSize:"14px"})),h=t.computed(()=>({height:`${o.arrowHeight}px`,width:`${o.arrowWidth}px`}));function d(){o.isDisabled||(r.value=!r.value)}function l(g){s.value.contains(g.target)||(r.value=!1)}function m(g,y){o.isMultipleOption?i.value=-1:(i.value=y,r.value=!1),n.value=g,a("input",n.value),a("update:modelValue",n.value)}function p(){r.value=!1,a("click-ready")}return t.onMounted(()=>{document.addEventListener("click",l)}),t.onBeforeMount(()=>{document.removeEventListener("click",l)}),(g,y)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:s,class:"gsc-dropdown",style:t.normalizeStyle(c.value)},[t.createElementVNode("div",{class:"gsc-dropdown__main-container",style:t.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[t.createElementVNode("div",e6e,[t.renderSlot(g.$slots,"default",{selectedItem:n.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(h.value)},[(t.openBlock(),t.createElementBlock("svg",{height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:e.arrowColor},null,8,a6e)],8,t6e))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",o6e,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${o.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(u,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:f===i.value}]),key:f,onClick:b=>m(u,f)},[t.renderSlot(g.$slots,"availableItem",{item:u})],10,n6e))),128))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",s6e,[t.createVNode(t.unref(Q8e),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:p})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}};let $C=null;const i6e={components:{LineupField:A3e,LineupRecentItem:H3e,LineupMainHeader:pCe,LineupFilter:zCe,MatchDetails:uC,GscSwitchComponent:Js,GSCCarousel:dc,GSCDropdown:ag},props:{game:{type:Object,default:()=>{}},selectedOption:{type:String,default:"Recientes"},componentWidth:{type:Number,default:767,validator(e){return e>0}}},data(){return{selectedIndexOption:0,rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",updatehistoricos:0,rivalVisitAbrev:"",selectOptMenuheader:"Recientes",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},isInsideClick:!1,homeTeam:{},headerInfoHistoricItemGame:{},visitingTeam:{},gameForAnalysis:{},movil:!1,auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],vDeleteFilter:!1,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0,probablyTeam:{acronym:"NEX",img:C3e},localDetails:[],postmatchDescription:"Clausura 2018 I JOR 5 I CHI - ATL 12",showDetails:!1,foreignDetails:[],players:[],filterObject:{selectedFilterResults:["win","draw","lose"],selectedFilterTeam:["visit","local"]},updateCarouselGames:0,teamSelect:"",matchdaysFiltersUpdate:[],gamesFiltersUpdate:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},matchHomeProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},matchAwayProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0},mobileClass(){return this.calendarResizeObserver<768?"break-point-3":""}},async mounted(){if(document.addEventListener("click",this.handleOutsideClick),setTimeout(()=>{this.setUpResizeObserver()},500),this.game||this.$route.params.gameId)try{this.cleaneData(),this.getLineUp(this.game.game_id),await this.getHeaderInfo(this.game),this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter()}catch(e){throw new Error(e)}},beforeDestroy(){document.removeEventListener("click",this.handleOutsideClick)},watch:{selectedOption:{immediate:!1,async handler(e){this.cleaneData(),this.auxProbablesIDGameHome=0,this.auxProbablesIDGameAway=0,e==="Postmatch"&&await this.getLineUp(this.game.game_id),e==="Probables"&&await this.getHeaderInfo(this.game),e==="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),e==="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game))}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){try{e!==null&&e!==""&&typeof e>"u"&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),this.selectedOption=="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game)))}catch(a){throw new Error(a)}}}},methods:{clickOnDeleteFilter(){console.log("SE HIZO CLICK EN ELIMINAR FILTROS"),this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickready(){console.log("Nuevo valor: ")},handleInsideClick(){this.isInsideClick=!0},handleOutsideClick(e){this.$refs.targetElement.contains(e.target)||(this.isInsideClick=!1)},remplazarMxJor(e){return e.replace("M","JOR ")},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.updateCarouselGames+=1,this.matchFilter())},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])):this.gamesRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]));else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])}else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gamesRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},changeFiltersModal(e){console.log(e),console.log("filters"),this.filterObject=e,this.matchFilter()},changeDropdownVisit(e){if(this.auxProbablesIDGameAway!=e.id){this.auxProbablesIDGameAway=e.id;const a=this.gamesRecientes[this.gameInfoheader.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team_abbreviation:this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team+".png",this.cleaneDataProbablesAway(),this.getLineupDataProbablesAway(this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].id)}},changeDropdownLocal(e){if(this.auxProbablesIDGameHome!=e.id){this.auxProbablesIDGameHome=e.id;const a=this.gamesRecientes[this.gameInfoheader.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team_abbreviation:this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team+".png",this.cleaneDataProbablesHome(),this.getLineupDataProbablesHome(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].id)}},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItemH(e){this.headerInfoHistoricItemGame=e.selectedItem.objgame;var a={season_id:e.selectedItem.season,game_id:e.selectedItem.game};this.cleaneData(),this.getLineUp(a.game_id)},changeDropdown(e){const a=this.gamesRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},async changeCarouselItem(e){this.getMinutesData(e.selectedItem.minutes);var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id,this.selectedIndexOption=e.selectedItemIndex},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");if(this.gameInfoheader=a.data.game,a.data.games_historic&&a.data.games_historic.length>0)for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});if(this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[],a.data.home_team_games_recent&&a.data.home_team_games_recent.length>0)for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});if(a.data.away_team_games_recent&&a.data.away_team_games_recent.length>0)for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:a.data.away_team_games_recent[o].matchday_abbreviation.replace("M","Jornada "),id:a.data.away_team_games_recent[o].matchday_id})},clickOnSelectOption(e){this.selectOptMenuheader=e},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.visitingTeam=a.data.teams[1];const o=a.data.games.find(n=>n.game_id===Number(n.game_id));this.gameForAnalysis=o},cleaneDataProbablesHome(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.home_team),this.homeTeamLogo="",this.homeTeamName="",this.homeTeamAbrev="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataProbablesAway(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.away_team),this.awayTeamAbrev="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneData(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.homeTeamAbrev="",this.awayTeamAbrev="",this.home_team_id=0,this.players=[],this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){yn("lineups.game."+this.game.game_id),yn("mxm.game."+this.game.game_id),yn("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,n){if(e=="Substitution")if(a=="Home"){var s=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==s[1]),r=this.playersHome.findIndex(l=>l.playerId==s[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[n].goals=this.playersHome[n].goals-1,this.playersHome[n].goalsMin.splice(o,1),this.playersHome[n].idsGoals.splice(o,1)):(this.playersAway[n].goals=this.playersAway[n].goals-1,this.playersAway[n].goalsMin.splice(o,1),this.playersAway[n].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)$C=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),$C.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const g=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let y=0;y<g.data.plays.length;y++){if(g.data.plays[y].event_type_id==3){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var a=g.data.plays[y].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),n=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=g.data.plays[y].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=g.data.plays[y].minute,this.playersHome[o].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),n!=-1&&(this.playersHome[n].idSubstitution=g.data.plays[y].play_id,this.playersHome[n].substitutionIn=!0,this.playersHome[n].substitutionMin=g.data.plays[y].minute,this.playersHome[n].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}else if(this.playersAway.length>0){var s=g.data.plays[y].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==s[0]),r=this.playersAway.findIndex(u=>u.playerId==s[1]);i!=-1&&(this.playersAway[i].idSubstitution=g.data.plays[y].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=g.data.plays[y].minute,this.playersAway[i].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),r!=-1&&(this.playersAway[r].idSubstitution=g.data.plays[y].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=g.data.plays[y].minute,this.playersAway[r].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}if(g.data.plays[y].event_type_id==1){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(g.data.plays[y].minute),this.playersHome[c].idsGoals.push(g.data.plays[y].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(g.data.plays[y].minute),this.playersAway[h].idsGoals.push(g.data.plays[y].play_id))}}if(g.data.plays[y].event_type_id==2){if(g.data.plays[y].category_id==8){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=g.data.plays[y].minute,this.playersHome[d].idyellowcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=g.data.plays[y].minute,this.playersAway[l].idyellowcards=g.data.plays[y].play_id)}}if(g.data.plays[y].category_id==9){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=g.data.plays[y].minute,this.playersHome[m].idredcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=g.data.plays[y].minute,this.playersAway[p].idredcards=g.data.plays[y].play_id)}}}}}catch(g){return Promise.reject(g)}},async getLineupDataProbablesAway(e){console.log("HOla como estas? llego 1 ");try{const h=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!h||!h.data)throw new Error("There is not lineups for this game.");if(h.data.home_team.team_id==this.gameInfoheader.away_team){for(let d=0;d<h.data.home_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+"_g.svg","away",0);var a=h.data.home_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=h.data.home_team.starting_lineup[0].lineup[d].x;r=Math.abs(r-100);var c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.home_team.team_id,number:h.data.home_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.home_team.starting_lineup[0].lineup[d].player_id+".png",posX:c+7,posY:h.data.home_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.home_team.team_id+".png"}this.playersAway.sort((d,l)=>d.position_id>l.position_id?1:l.position_id>d.position_id?-1:0)}if(h.data.away_team.team_id==this.gameInfoheader.away_team)for(let d=0;d<h.data.away_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+"_g.svg","away",0);var a=h.data.away_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=h.data.away_team.starting_lineup[0].lineup[d].x,c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.away_team.team_id,number:h.data.away_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.away_team.starting_lineup[0].lineup[d].player_id+".png",posX:100-(100-h.data.away_team.starting_lineup[0].lineup[d].x)*50/100,posY:h.data.away_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.away_team.team_id+".png"}console.log("Cambiaste AWAY this.players"),console.log(this.players)}catch(h){return Promise.reject(h)}},async getLineupDataProbablesHome(e){console.log("HOla como estas? llego 2 ");try{const l=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!l||!l.data)throw new Error("There is not lineups for this game.");if(console.log("data.data.home_team"),console.log(l.data.home_team.team_id),console.log("data.data.away_team"),console.log(l.data.away_team.team_id),l.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.home_team.players,l.data.home_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.home_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+"_g.svg","home",0);var a=l.data.home_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=l.data.home_team.starting_lineup[0].lineup[m].x,c=r*50/100;this.players.push({team_id:l.data.home_team.team_id,number:l.data.home_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.home_team.starting_lineup[0].lineup[m].player_id+".png",posX:l.data.home_team.starting_lineup[0].lineup[m].x*50/100,posY:l.data.home_team.starting_lineup[0].lineup[m].y}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.home_team.team_id+".png"}}if(l.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.away_team.players,l.data.away_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.away_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+"_g.svg","home",0);var a=l.data.away_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var h=l.data.away_team.starting_lineup[0].lineup[m].x;h=Math.abs(h-100);var c=h*50/100,d=l.data.away_team.starting_lineup[0].lineup[m].y;d=Math.abs(d-100),this.players.push({team_id:l.data.away_team.team_id,number:l.data.away_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.away_team.starting_lineup[0].lineup[m].player_id+".png",posX:c-2,posY:d-9}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.away_team.team_id+".png"}}console.log("Cambiaste HOME this.players"),console.log(this.players)}catch(l){return Promise.reject(l)}},async getLineUp(e){if(dC(),!this.playersHome.length)try{const w=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!w||!w.data)throw new Error("There is not lineups for this game.");this.players=[],this.dataPlayersHome=w.data.home_team.players,this.dataPlayersAway=w.data.away_team.players,w.data.home_team.starting_lineup[0].lineup.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0);for(let E=0;E<w.data.home_team.starting_lineup[0].lineup.length;E++){this.home_team_id=w.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+"_g.svg","home",0);var a=w.data.home_team.starting_lineup[0].lineup[E].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=w.data.home_team.starting_lineup[0].lineup[E].x,h=c*50/100,d=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.starting_lineup[0].lineup[E].player_id);this.players.push({number:w.data.home_team.starting_lineup[0].lineup[E].jersey_number,isFirstTeam:!0,name:i+". "+s,photo:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[E].player_id+".png",posX:w.data.home_team.starting_lineup[0].lineup[E].x*50/100,posY:w.data.home_team.starting_lineup[0].lineup[E].y}),this.playersHome.push({played:!0,name:w.data.home_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.home_team.players[d].position_id-1].name,position_id:w.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.home_team.players[d].nationality?w.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.home_team.starting_lineup[0].lineup[E].y-13,positionY:h*.9,positionXOrigin:w.data.home_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.home_team.starting_lineup[0].lineup[E].x-2,playerId:w.data.home_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png"}if(this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.home_team.bench){for(let E=0;E<w.data.home_team.bench.length;E++){this.subsTitle=!0;var l=w.data.home_team.bench[E].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.bench[E].playerID);this.playersHome.push({played:!1,name:w.data.home_team.bench[E].playerName,position:f!=-1?this.positions[w.data.home_team.players[f].position_id-1].name:"",position_id:w.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.bench[E].playerID+".png",nationality:f!=-1&&w.data.home_team.players[f].nationality?w.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.home_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.home_team.team_id})}this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}for(let E=0;E<w.data.away_team.starting_lineup[0].lineup.length;E++){this.away_team_id=w.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+"_g.svg","away",0);var b=w.data.away_team.starting_lineup[0].lineup[E].player_name.split(","),k=b[0].split(" "),B=b[1].trim().split(" "),_="";k.length==2||k.length==1?k[0].length<4?_=k[0]+" "+k[1]:_=k[0]:k.length==3?_=k[0]+" "+k[1]:k.length==4&&(_=k[1]+" "+k[2]+" "+k[3]);var C=B[n.length-1]!=""?B[B.length-1].charAt(0):B[B.length-2]?B[B.length-2].charAt(0):"";_=_.replace(",","");var N=C+". "+_,V=w.data.away_team.starting_lineup[0].lineup[E].x,$=100-(100-V)*50/100;$=$*.9;var x=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.starting_lineup[0].lineup[E].player_id);this.players.push({number:w.data.away_team.starting_lineup[0].lineup[E].jersey_number,isFirstTeam:!1,name:C+". "+_,photo:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[E].player_id+".png",posX:100-(100-w.data.away_team.starting_lineup[0].lineup[E].x)*50/100,posY:w.data.away_team.starting_lineup[0].lineup[E].y}),this.playersAway.push({played:!0,name:w.data.away_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.away_team.players[x].position_id-1].name,position_id:w.data.away_team.players[x].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.away_team.players[x].nationality?w.data.away_team.players[x].nationality.substring(0,3):"",imgNationality:w.data.away_team.players[x].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:N,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.away_team.starting_lineup[0].lineup[E].y-13,positionY:$,positionXOrigin:w.data.away_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.away_team.starting_lineup[0].lineup[E].x-7,playerId:w.data.away_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png"}if(this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.away_team.bench){for(let E=0;E<w.data.away_team.bench.length;E++){this.subsTitle=!0;var F=w.data.away_team.bench[E].playerName.split(","),A=F[0].split(" "),I=F[1].trim().split(" "),P="";A.length==2||A.length==1?A[0].length<4?P=A[0]+" "+A[1]:P=A[0]:A.length==3?P=A[0]+" "+A[1]:A.length==4&&(P=A[1]+" "+A[2]+" "+A[3]);var Q=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";P=P.replace(",","");var K=Q+". "+P,R=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.bench[E].playerID);this.playersAway.push({played:!1,name:w.data.away_team.bench[E].playerName,position:R!=-1?this.positions[w.data.away_team.players[R].position_id-1].name:"",position_id:w.data.away_team.players[R].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.bench[E].playerID+".png",nationality:R!=-1&&w.data.away_team.players[R].nationality?w.data.away_team.players[R].nationality.substring(0,3):"",imgNationality:R!=-1?w.data.away_team.players[R].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:K,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.away_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.away_team.team_id})}this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}this.game.prematch||this.getMXM(this.game.game_id)}catch(w){return Promise.reject(w)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var n=new XMLHttpRequest,s=0;a=="away"?o==1?this.uniformAway==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformAwayG==""&&(n.open("HEAD",e,!1),n.send(),s=1):o==1?this.uniformHome==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformHomeG==""&&(n.open("HEAD",e,!1),n.send(),s=1),s==1&&(n.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),n=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),n!=-1?(this.substitutionModal.out.name=this.playersHome[n].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[n].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[n].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[n].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[n].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var s=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);s!=-1?(this.substitutionModal.min=this.playersAway[s].substitutionMin,this.substitutionModal.in.name=this.playersAway[s].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[s].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[s].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[s].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[s].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},Xs=e=>(t.pushScopeId("data-v-d4bc4b57"),e=e(),t.popScopeId(),e),r6e={class:"lineup__header",ref:"gamesContainer"},l6e=Xs(()=>t.createElementVNode("h2",null,"Alineaciones",-1)),c6e={key:0,style:{width:"325px"}},d6e={class:"lineup__card"},m6e={key:0},p6e={key:1},h6e={key:2},y6e={key:3,class:"lineup__card-body"},g6e={key:0,class:"lineup__selector",style:{margin:"auto"}},u6e={class:"lineup__selector-item"},f6e={key:4,class:"lineup__card-body",style:{"flex-flow":"column"}},_6e={class:"lineup__filters"},b6e={class:"selector-tournaments"},w6e={class:"lineup__items-carousel"},C6e=Xs(()=>t.createElementVNode("div",null,null,-1)),k6e={class:"lineup__items-center"},S6e={class:"lineup__selector-recientes"},E6e={key:1,class:"containernofoundsearchrecientes"},N6e=Xs(()=>t.createElementVNode("div",{class:"text-containernofoundsearchrecientes"},[t.createTextVNode("No hay resultados con los criterios, "),t.createElementVNode("br"),t.createTextVNode(" de búsqueda aplicados.")],-1)),$6e={key:0,class:"lineup__selector-recientes",style:{margin:"auto",width:"100%"}},B6e={key:5,class:"lineup__card-body space-between"},x6e={class:"lineup__card-body__probables"},V6e={class:"selector-tournaments"},I6e=Xs(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),A6e=["src"],O6e={class:"lineup__card-body__probables"},T6e=["src"],z6e=Xs(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),F6e={class:"selector-tournaments"},R6e={key:6,class:"lineup__card-body space-between"},P6e={class:"postmatch__matchday"};function D6e(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("LineupMainHeader"),h=t.resolveComponent("GSCCarousel"),d=t.resolveComponent("LineupFilter"),l=t.resolveComponent("GSCDropdown"),m=t.resolveComponent("LineupRecentItem"),p=t.resolveComponent("MatchDetails"),g=t.resolveComponent("LineupField");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["lineup",{"break-point-3":i.mobileClass}])},[t.createElementVNode("div",r6e,[l6e,o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",c6e,[(s.gameInfoheader.game_status==0||s.gameInfoheader.game_status==4)&&i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.selectedOption,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:a[0]||(a[0]=y=>o.selectedOption=y)},null,8,["selectedOption"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],512),t.createElementVNode("div",d6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("h3",m6e,"Alineación utilizada este torneo en:")):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("h3",p6e,"Alineaciones recientes de:")):(t.openBlock(),t.createElementBlock("h3",h6e,"Alineación utilizada en:"))],64)):t.createCommentVNode("",!0),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(s.headerInfoHistoricItemGame).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:s.headerInfoHistoricItemGame.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.headerInfoHistoricItemGame.home_team+".png"},visitTeam:{acronym:s.headerInfoHistoricItemGame.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.headerInfoHistoricItemGame.away_team+".png"},probablyTeamHome:{acronym:s.rivalHomeAbrev,img:s.rivalHomeImg},probablyTeamAway:{acronym:s.rivalVisitAbrev,img:s.rivalVisitImg},score:s.headerInfoHistoricItemGame.score[0]+" - "+s.headerInfoHistoricItemGame.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(s.gameInfoheader).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:s.gameInfoheader.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.gameInfoheader.home_team+".png"},visitTeam:{acronym:s.gameInfoheader.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+s.gameInfoheader.away_team+".png"},probablyTeamHome:{acronym:s.rivalHomeAbrev,img:s.rivalHomeImg},probablyTeamAway:{acronym:s.rivalVisitAbrev,img:s.rivalVisitImg},score:s.gameInfoheader.score[0]+" - "+s.gameInfoheader.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock("div",y6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",g6e,[s.gamesHistoric.length>0?(t.openBlock(),t.createBlock(h,{key:s.updatehistoricos,onInput:i.changeCarouselItemH,items:s.gamesHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:y})=>[t.createElementVNode("div",u6e,t.toDisplayString(y.description),1)]),_:1},8,["onInput","items"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("div",f6e,[t.createElementVNode("div",_6e,[t.createVNode(d,{name:"Filtros",onChange:i.changeFiltersModal,reset:s.vDeleteFilter},null,8,["onChange","reset"]),t.createElementVNode("div",{class:"lineup__filters__selector",ref:"targetElement",onClick:a[1]||(a[1]=(...y)=>i.handleInsideClick&&i.handleInsideClick(...y))},[t.createVNode(l,{items:i.matchdaysFinal,onInput:i.changeDropdown,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(y=>[t.createElementVNode("div",b6e,t.toDisplayString(y.selectedItem.name),1)]),availableItem:t.withCtx(({item:y})=>[t.createElementVNode("div",null,t.toDisplayString(y.name),1)]),_:1},8,["items","onInput"])],512),t.createElementVNode("div",{class:"lineup__text-btn",onClick:a[2]||(a[2]=y=>s.showDetails=!s.showDetails)},t.toDisplayString(s.showDetails?"Ocultar detalles":"Ver detalles"),1)]),t.createElementVNode("div",w6e,[C6e,t.createElementVNode("div",k6e,[i.mobileClass?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",S6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":s.selectedIndexOption,width:"600px",height:"80px",key:s.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:y})=>[t.createVNode(m,{game:y,teamSelect:s.teamSelect},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):(t.openBlock(),t.createElementBlock("div",E6e,[N6e,t.createElementVNode("div",{class:"btn-delete-filters",onClick:a[3]||(a[3]=(...y)=>i.clickOnDeleteFilter&&i.clickOnDeleteFilter(...y))},"Eliminar filtros aplicados")]))]),s.showDetails?(t.openBlock(),t.createBlock(p,{key:0,localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],64))])]),i.mobileClass?(t.openBlock(),t.createElementBlock("div",$6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":s.selectedIndexOption,width:"600px",height:"80px",key:s.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1},{default:t.withCtx(({item:y})=>[t.createVNode(m,{game:y,teamSelect:s.teamSelect,style:{"max-width":"200px"}},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0),s.showDetails?(t.openBlock(),t.createBlock(p,{key:1,localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("div",B6e,[t.createElementVNode("div",x6e,[t.createVNode(l,{items:i.matchHomeProbables,onInput:i.changeDropdownLocal,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(y=>[t.createElementVNode("div",V6e,t.toDisplayString(y.selectedItem.name),1)]),availableItem:t.withCtx(({item:y})=>[t.createElementVNode("div",null,t.toDisplayString(y.name),1)]),_:1},8,["items","onInput"]),I6e,t.createElementVNode("img",{src:s.rivalHomeImg,class:"lineup__card-body__img-probables"},null,8,A6e)]),t.createElementVNode("div",O6e,[t.createElementVNode("img",{src:s.rivalVisitImg,class:"lineup__card-body__img-probables"},null,8,T6e),z6e,t.createVNode(l,{items:i.matchAwayProbables,onInput:i.changeDropdownVisit,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(y=>[t.createElementVNode("div",F6e,t.toDisplayString(y.selectedItem.name),1)]),availableItem:t.withCtx(({item:y})=>[t.createElementVNode("div",null,t.toDisplayString(y.name),1)]),_:1},8,["items","onInput"])])])):o.selectedOption==="Postmatch"?(t.openBlock(),t.createElementBlock("div",R6e,[t.createElementVNode("div",P6e,t.toDisplayString(s.gameInfoheader.season_name!==void 0?s.gameInfoheader.season_name+"  |  "+i.remplazarMxJor(s.gameInfoheader.matchday_abbreviation)+"  |  "+s.gameInfoheader.home_team_abbreviation+" - "+s.gameInfoheader.away_team_abbreviation:""),1)])):t.createCommentVNode("",!0),t.createVNode(g,{class:"lineup__field",players:s.players},null,8,["players"])])],2)}const j6e=wt(i6e,[["render",D6e],["__scopeId","data-v-d4bc4b57"]]),L6e={components:{},props:{data:{type:Object,default:()=>{}},position:{type:String,default:"gsc-position-player"},type:{type:Number,default:1}},data(){return{}},computed:{},methods:{},mounted(){}},mc=e=>(t.pushScopeId("data-v-ee0e325b"),e=e(),t.popScopeId(),e),v6e={key:0,class:"gsc-item-player"},M6e={class:"gsc-num-player"},H6e={class:"gsc-cont-info-by-player"},U6e={class:"gsc-cont-info-by-player-row1"},G6e={class:"shield-player-cont"},W6e=["src"],q6e={class:"gsc-cont-info-by-player-row2"},J6e={class:"gsc-cont-info-by-player-row2-line-name"},X6e={class:"gsc-cont-info-by-player-row2-line-data"},Z6e={class:"cont-display-gsc"},Y6e=["src"],K6e={class:"gsc-cont-cards"},Q6e={key:0,class:"gsc-yellow_card_div"},eke={key:1,class:"gsc-red_card_div"},tke={key:2,class:"gsc-yellowred_card_div"},ake=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),oke={key:5,class:"gsc-goal_card_div_wrapper"},nke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),ske={key:1,class:"gsc-item-player"},ike={class:"gsc-num-player2"},rke={class:"gsc-cont-info-by-player2"},lke={class:"gsc-cont-info-by-player-row2"},cke={class:"gsc-cont-info-by-player-row2-line-name2"},dke={class:"gsc-cont-info-by-player-row2-line-data"},mke={class:"gsc-cont-cards2"},pke={key:0,class:"gsc-yellow_card_div"},hke={key:1,class:"gsc-red_card_div"},yke={key:2,class:"gsc-yellowred_card_div"},gke=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),uke={key:5,class:"gsc-goal_card_div_wrapper"},fke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),_ke={class:"cont-display-gsc"},bke=["src"],wke={class:"gsc-cont-info-by-player-row1"},Cke={class:"shield-player-cont"},kke=["src"];function Ske(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock(t.Fragment,null,[o.type==1?(t.openBlock(),t.createElementBlock("div",v6e,[t.createElementVNode("div",M6e,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",H6e,[t.createElementVNode("div",U6e,[t.createElementVNode("div",G6e,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,W6e)])]),t.createElementVNode("div",q6e,[t.createElementVNode("div",J6e,t.toDisplayString(o.data.name),1),t.createElementVNode("div",X6e,[t.createElementVNode("div",Z6e,[t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,Y6e),t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3)]),t.createElementVNode("div",K6e,[o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",Q6e)):t.createCommentVNode("",!0),o.data.redcard==1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",eke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==1?(t.openBlock(),t.createElementBlock("div",tke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[ake,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",oke,[nke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)])])])])])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createElementBlock("div",ske,[t.createElementVNode("div",ike,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",rke,[t.createElementVNode("div",lke,[t.createElementVNode("div",cke,t.toDisplayString(o.data.name),1),t.createElementVNode("div",dke,[t.createElementVNode("div",mke,[o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",pke)):t.createCommentVNode("",!0),o.data.redcard==1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",hke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==1?(t.openBlock(),t.createElementBlock("div",yke)):t.createCommentVNode("",!0),o.data.yellowcard==1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[gke,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",uke,[fke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",_ke,[t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3),t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,bke)])])]),t.createElementVNode("div",wke,[t.createElementVNode("div",Cke,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,kke)])])])])):t.createCommentVNode("",!0)],64)}const Eke=wt(L6e,[["render",Ske],["__scopeId","data-v-ee0e325b"]]),og="/icn-filter.svg",Zs="/icn-expand-arrow.svg",BC="/backarrow.svg",xC="/nextarrow.svg",Nke="_selectoritem_1dafy_137",$ke="_selectoritem2_1dafy_157",Bke="_gscheaderlineup_1dafy_177",xke="_anNoEstn_1dafy_191",Vke="_groupsLeague_1dafy_197",Ike="_jugadores_1dafy_209",Ake="_switchOption_1dafy_219",Oke="_jugadores1_1dafy_239",Tke="_switchOption1_1dafy_249",zke="_switchStatesBig_1dafy_265",Fke="_groupsLeagueParent_1dafy_283",Rke="_imgHomeTeamIcon_1dafy_301",Pke="_imgHomeTeamWrapper_1dafy_313",Dke="_teamContainer_1dafy_337",jke="_name_1dafy_361",Lke="_homeTeamContainer_1dafy_373",vke="_div_1dafy_393",Mke="_scoreContainer_1dafy_401",Hke="_scoreContainerWrapper_1dafy_421",Uke="_teamContainer1_1dafy_447",Gke="_awayTeamContainer_1dafy_471",Wke="_matchContainer_1dafy_491",qke="_sliderMatchesChild_1dafy_509",Jke="_manchesterUnited_1dafy_521",Xke="_sliderMatchesItem_1dafy_533",Zke="_sliderMatches_1dafy_509",Yke="_sortIcon_1dafy_569",Kke="_filtros_1dafy_583",Qke="_sortParent_1dafy_599",e7e="_shapeIcon_1dafy_613",t7e="_btnFilter_1dafy_623",a7e="_btnFilter1_1dafy_651",o7e="_btnFilterParent_1dafy_679",n7e="_backArrowIcon_1dafy_695",s7e="_teamContainer2_1dafy_707",i7e="_homeTeam_1dafy_373",r7e="_div4_1dafy_735",l7e="_finalScore_1dafy_745",c7e="_manchesterUnited1_1dafy_771",d7e="_scoreContainer1_1dafy_785",m7e="_match_1dafy_491",p7e="_manchesterUnited2_1dafy_821",h7e="_btnDetails_1dafy_831",y7e="_matchContainer1_1dafy_851",g7e="_goalChild_1dafy_867",u7e="_goal_1dafy_867",f7e="_manchesterUnited3_1dafy_893",_7e="_minuteEvent_1dafy_907",b7e="_yellowCard_1dafy_921",w7e="_awayTeamEvents_1dafy_935",C7e="_rectangle_1dafy_949",k7e="_homeTeamEvents_1dafy_963",S7e="_totalEvents_1dafy_979",E7e="_headerSeccionAlineaciones1_1dafy_995",N7e="_switchOption3_1dafy_1017",$7e="_switchOption4_1dafy_1041",B7e="_switchStatesBig1_1dafy_1061",x7e="_manchesterUnited13_1dafy_1075",V7e="_homeTeamContainer1_1dafy_1085",I7e="_scoreContainer2_1dafy_1099",A7e="_matchContainer2_1dafy_1127",O7e="_manchesterUnited14_1dafy_1147",T7e="_sliderMatchesInner_1dafy_1161",z7e="_rectangleIcon_1dafy_1181",F7e="_sliderMatches1_1dafy_1201",R7e="_containerData_1dafy_1217",P7e="_headerSeccionAlineaciones2_1dafy_1245",D7e="_headerSeccionAlineaciones_1dafy_995",j7e="_headerSeccionAlineaciones21200_1dafy_1293",L7e="_headerSeccionAlineaciones1540_1dafy_1299",v7e="_headerSeccionAlineaciones2540_1dafy_1307",M7e={selectoritem:Nke,selectoritem2:$ke,gscheaderlineup:Bke,anNoEstn:xke,groupsLeague:Vke,jugadores:Ike,switchOption:Ake,jugadores1:Oke,switchOption1:Tke,switchStatesBig:zke,groupsLeagueParent:Fke,imgHomeTeamIcon:Rke,imgHomeTeamWrapper:Pke,teamContainer:Dke,name:jke,homeTeamContainer:Lke,div:vke,scoreContainer:Mke,scoreContainerWrapper:Hke,teamContainer1:Uke,awayTeamContainer:Gke,matchContainer:Wke,sliderMatchesChild:qke,manchesterUnited:Jke,sliderMatchesItem:Xke,sliderMatches:Zke,sortIcon:Yke,filtros:Kke,sortParent:Qke,shapeIcon:e7e,btnFilter:t7e,btnFilter1:a7e,btnFilterParent:o7e,backArrowIcon:n7e,teamContainer2:s7e,homeTeam:i7e,div4:r7e,finalScore:l7e,manchesterUnited1:c7e,scoreContainer1:d7e,match:m7e,manchesterUnited2:p7e,btnDetails:h7e,matchContainer1:y7e,goalChild:g7e,goal:u7e,manchesterUnited3:f7e,minuteEvent:_7e,yellowCard:b7e,awayTeamEvents:w7e,rectangle:C7e,homeTeamEvents:k7e,totalEvents:S7e,headerSeccionAlineaciones1:E7e,switchOption3:N7e,switchOption4:$7e,switchStatesBig1:B7e,manchesterUnited13:x7e,homeTeamContainer1:V7e,scoreContainer2:I7e,matchContainer2:A7e,manchesterUnited14:O7e,sliderMatchesInner:T7e,rectangleIcon:z7e,sliderMatches1:F7e,containerData:R7e,headerSeccionAlineaciones2:P7e,headerSeccionAlineaciones:D7e,headerSeccionAlineaciones21200:j7e,headerSeccionAlineaciones1540:L7e,headerSeccionAlineaciones2540:v7e},H7e={components:{GSCCarousel:dc,GscSwitchComponent:Js},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameRecientes:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{changeCarouselItem(e){console.log(e),this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},U7e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),G7e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),W7e=["src"],q7e=["src"],J7e=["src"],X7e=["src"],Z7e=["src"],Y7e=["src"];function K7e(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[U7e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),G7e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.home_team+".png"},null,10,W7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)}," - ",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.away_team+".png"},null,10,q7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":s.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:og},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:BC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.home_team+".png"},null,10,J7e)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.away_team+".png"},null,10,X7e)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en: ",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.home_team+".png"},null,10,Z7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[s.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[s.selectedOption].objgame.away_team+".png"},null,10,Y7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":s.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem2)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)}const Q7e={$style:M7e},eSe=wt(H7e,[["render",K7e],["__cssModules",Q7e]]),pc=e=>(t.pushScopeId("data-v-2118a6cd"),e=e(),t.popScopeId(),e),tSe=t.createStaticVNode('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-2118a6cd><g id="vuesax/outline/sort" data-v-2118a6cd><g id="sort" data-v-2118a6cd><path id="Vector" opacity="0.7" d="M15.75 5.8125H2.25C1.9425 5.8125 1.6875 5.5575 1.6875 5.25C1.6875 4.9425 1.9425 4.6875 2.25 4.6875H15.75C16.0575 4.6875 16.3125 4.9425 16.3125 5.25C16.3125 5.5575 16.0575 5.8125 15.75 5.8125Z" fill="white" data-v-2118a6cd></path><path id="Vector_2" opacity="0.7" d="M13.5 9.5625H4.5C4.1925 9.5625 3.9375 9.3075 3.9375 9C3.9375 8.6925 4.1925 8.4375 4.5 8.4375H13.5C13.8075 8.4375 14.0625 8.6925 14.0625 9C14.0625 9.3075 13.8075 9.5625 13.5 9.5625Z" fill="white" data-v-2118a6cd></path><path id="Vector_3" opacity="0.7" d="M10.5 13.3125H7.5C7.1925 13.3125 6.9375 13.0575 6.9375 12.75C6.9375 12.4425 7.1925 12.1875 7.5 12.1875H10.5C10.8075 12.1875 11.0625 12.4425 11.0625 12.75C11.0625 13.0575 10.8075 13.3125 10.5 13.3125Z" fill="white" data-v-2118a6cd></path></g></g></svg>',1),aSe=["value"],oSe=pc(()=>t.createElementVNode("svg",{width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:"#92929D"})],-1)),nSe={class:"filter-modal__padding"},sSe={class:"filter-modal__content-header"},iSe=pc(()=>t.createElementVNode("h3",null,"Jugando como:",-1)),rSe={class:"filter-modal__content-options"},lSe=["onClick"],cSe={class:"filter-modal__content-header"},dSe=pc(()=>t.createElementVNode("h3",null,"Resultados:",-1)),mSe={class:"filter-modal__content-options"},pSe=["onClick"],hSe=pc(()=>t.createElementVNode("hr",{style:{"border-color":"#FFFFFF33"}},null,-1)),ySe={__name:"gsc-filter",props:{name:{type:String,default:""},zIndex:{type:Number,default:1},showButton:{type:Boolean,default:!1},marginModal:{type:String,default:"0px"},isOpen:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},itemSelect:{type:Object,default:()=>{}},componentWidth:{type:Number,default:768,validator(e){return e>0}}},emits:["update:model-value","change"],setup(e,{emit:a}){const o=e;t.useCssVars(B=>({d00c78a6:e.marginModal}));const n=[{id:"local",name:"Local"},{id:"visit",name:"Visitante"}],s=[{id:"win",name:"Ganado"},{id:"draw",name:"Empatados"},{id:"lose",name:"Perdidos"}],i=t.ref(null),r=t.ref(["local","visit"]),c=t.ref(["win","draw","lose"]),h=t.ref(!0),d=t.ref(!0),l=t.ref(!0),m=t.ref(!0),p=t.ref(["local","visit"]),g=t.ref(["win","draw","lose"]),y=()=>{i.value.focus(),r.value=JSON.parse(JSON.stringify(p.value)),c.value=JSON.parse(JSON.stringify(g.value)),h.value=l.value,d.value=m.value};t.watch(()=>o.itemSelect,B=>{B&&(p.value=B.selectedFilterTeam,g.value=B.selectedFilterResults)}),t.watch(()=>o.reset,B=>{B&&f()});const u=(B,_)=>{let C;_==="team"?C=p.value:C=g.value;const N=C.findIndex(V=>V===B);N==-1?C.push(B):_=="team"&&p.value.length==2?C.splice(N,1):(_=="team"&&C.push(B),g.value.length>1&&C.splice(N,1)),l.value=p.value.length==2,m.value=g.value.length==3},f=()=>{p.value=["local","visit"],g.value=["win","draw","lose"],l.value=!0,m.value=!0,a("change",{selectedFilterTeam:p.value,selectedFilterResults:g.value})},b=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:g.value})},k=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:g.value})};return(B,_)=>(t.openBlock(),t.createElementBlock("div",{class:"filter-modal",style:t.normalizeStyle({zIndex:e.zIndex})},[e.showButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"filter-modal__input",onClick:y},[tSe,t.createElementVNode("input",{type:"text",value:e.name,readonly:""},null,8,aSe),oSe])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["filter-modal__content",e.isOpen?"open":"close"]),tabindex:"0",ref_key:"filterElement",ref:i,onFocusout:_[4]||(_[4]=C=>{e.isOpen=!1,k()})},[t.createElementVNode("div",nSe,[t.createElementVNode("div",sSe,[iSe,t.createVNode(lc,{modelValue:l.value,"onUpdate:modelValue":[_[0]||(_[0]=C=>l.value=C),_[1]||(_[1]=C=>C&&(p.value=["local","visit"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",rSe,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,C=>t.createElementVNode("li",{onClick:N=>u(C.id,"team"),class:t.normalizeClass({active:p.value.includes(C.id)})},t.toDisplayString(C.name),11,lSe)),64))]),t.createElementVNode("div",cSe,[dSe,t.createVNode(lc,{modelValue:m.value,"onUpdate:modelValue":[_[2]||(_[2]=C=>m.value=C),_[3]||(_[3]=C=>C&&(g.value=["win","lose","draw"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",mSe,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(s,C=>t.createElementVNode("li",{onClick:N=>u(C.id,"player"),class:t.normalizeClass({active:g.value.includes(C.id)})},t.toDisplayString(C.name),11,pSe)),64))])]),hSe,t.createElementVNode("div",{class:"filter-modal__buttons"},[t.createElementVNode("div",{class:"button filter-modal__text-btn",onClick:f},"Quitar filtros"),t.createElementVNode("div",{class:"button filter-modal__outline-btn",onClick:b},"Listo")])],34)],4))}},gSe=wt(ySe,[["__scopeId","data-v-2118a6cd"]]),uSe="/icn-filter1.svg",fSe="/icn-expand-arrow1.svg",_Se="/icn-filter2.svg",bSe="/icn-arrow-expand.svg",wSe="_containernofoundsearchrecientes_1gxk5_159",CSe="_btndeletefilters_1gxk5_215",kSe="_leyenddeleteshow_1gxk5_247",SSe="_selectoritem_1gxk5_261",ESe="_anNoEstn_1gxk5_279",NSe="_groupsLeague_1gxk5_287",$Se="_historicas_1gxk5_297",BSe="_switchOption_1gxk5_309",xSe="_recientes_1gxk5_331",VSe="_switchOption1_1gxk5_343",ISe="_switchOption2_1gxk5_369",ASe="_switchStatesBig_1gxk5_387",OSe="_groupsLeagueParent_1gxk5_407",TSe="_imgHomeTeamIcon_1gxk5_427",zSe="_imgHomeTeamWrapper_1gxk5_441",FSe="_teamContainer_1gxk5_467",RSe="_name_1gxk5_493",PSe="_homeTeamContainer_1gxk5_507",DSe="_div_1gxk5_529",jSe="_scoreContainer_1gxk5_539",LSe="_scoreContainerWrapper_1gxk5_561",vSe="_teamContainer1_1gxk5_587",MSe="_awayTeamContainer_1gxk5_613",HSe="_matchContainer_1gxk5_635",USe="_sliderMatchesChild_1gxk5_655",GSe="_manchesterUnited_1gxk5_669",WSe="_sliderMatchesItem_1gxk5_683",qSe="_sliderMatches_1gxk5_655",JSe="_sortIcon_1gxk5_719",XSe="_filtros_1gxk5_735",ZSe="_sortParent_1gxk5_753",YSe="_shapeIcon_1gxk5_769",KSe="_btnFilter_1gxk5_781",QSe="_btnFilter1_1gxk5_813",e9e="_btnFilterParent_1gxk5_843",t9e="_backArrowIcon_1gxk5_861",a9e="_teamContainer2_1gxk5_875",o9e="_homeTeam_1gxk5_507",n9e="_div4_1gxk5_907",s9e="_finalScore_1gxk5_919",i9e="_manchesterUnited1_1gxk5_947",r9e="_scoreContainer1_1gxk5_963",l9e="_match_1gxk5_635",c9e="_manchesterUnited2_1gxk5_997",d9e="_btnDetails_1gxk5_1023",m9e="_matchContainer1_1gxk5_1047",p9e="_goalChild_1gxk5_1065",h9e="_goal_1gxk5_1065",y9e="_manchesterUnited3_1gxk5_1095",g9e="_minuteEvent_1gxk5_1111",u9e="_yellowCard_1gxk5_1127",f9e="_awayTeamEvents_1gxk5_1143",_9e="_rectangle_1gxk5_1159",b9e="_homeTeamEvents_1gxk5_1175",w9e="_totalEvents_1gxk5_1193",C9e="_headerSeccionAlineaciones1_1gxk5_1211",k9e="_sliderMatchesInner_1gxk5_1233",S9e="_btnFilter2_1gxk5_1247",E9e="_btnDetails1_1gxk5_1281",N9e="_matchContainer3_1gxk5_1299",$9e="_backArrowIcon1_1gxk5_1321",B9e="_match1_1gxk5_1335",x9e="_headerSeccionAlineaciones2_1gxk5_1347",V9e="_jugadores2_1gxk5_1369",I9e="_switchOption6_1gxk5_1383",A9e="_switchOption7_1gxk5_1405",O9e="_switchStatesBig2_1gxk5_1431",T9e="_manchesterUnited26_1gxk5_1447",z9e="_homeTeamContainer2_1gxk5_1459",F9e="_vectorIcon_1gxk5_1475",R9e="_teamSwitch_1gxk5_1487",P9e="_matchContainer5_1gxk5_1513",D9e="_manchesterUnited27_1gxk5_1535",j9e="_sliderMatchesChild1_1gxk5_1551",L9e="_sliderMatchesChild2_1gxk5_1573",v9e="_sliderMatches2_1gxk5_1595",M9e="_filtros2_1gxk5_1615",H9e="_btnFilter4_1gxk5_1635",U9e="_jornada2_1gxk5_1667",G9e="_filterMatchday_1gxk5_1681",W9e="_btnDetails2_1gxk5_1703",q9e="_filtersContainer_1gxk5_1725",J9e="_matchContainer6_1gxk5_1745",X9e="_matchDetailContainer_1gxk5_1763",Z9e="_containerData_1gxk5_1783",Y9e="_headerSeccionAlineaciones3_1gxk5_1813",K9e="_headerSeccionAlineaciones_1gxk5_1211",Q9e="_headerSeccionAlineaciones31200_1gxk5_1865",eEe="_headerSeccionAlineaciones3420_1gxk5_1891",tEe="_headerSeccionAlineaciones3880_1gxk5_1917",aEe="_headerSeccionAlineaciones3540_1gxk5_1941",oEe="_headerSeccionAlineaciones11200_1gxk5_1967",nEe="_headerSeccionAlineaciones1420_1gxk5_1995",sEe="_headerSeccionAlineaciones1880_1gxk5_2017",iEe="_headerSeccionAlineaciones21200_1gxk5_2039",rEe="_headerSeccionAlineaciones2420_1gxk5_2067",lEe="_headerSeccionAlineaciones2880_1gxk5_2091",cEe="_headerSeccionAlineaciones2540_1gxk5_2113",dEe={containernofoundsearchrecientes:wSe,"text-containernofoundsearchrecientes":"_text-containernofoundsearchrecientes_1gxk5_171","btn-delete-filters":"_btn-delete-filters_1gxk5_183",btndeletefilters:CSe,leyenddeleteshow:kSe,selectoritem:SSe,anNoEstn:ESe,groupsLeague:NSe,historicas:$Se,switchOption:BSe,recientes:xSe,switchOption1:VSe,switchOption2:ISe,switchStatesBig:ASe,groupsLeagueParent:OSe,imgHomeTeamIcon:TSe,imgHomeTeamWrapper:zSe,teamContainer:FSe,name:RSe,homeTeamContainer:PSe,div:DSe,scoreContainer:jSe,scoreContainerWrapper:LSe,teamContainer1:vSe,awayTeamContainer:MSe,matchContainer:HSe,sliderMatchesChild:USe,manchesterUnited:GSe,sliderMatchesItem:WSe,sliderMatches:qSe,sortIcon:JSe,filtros:XSe,sortParent:ZSe,shapeIcon:YSe,btnFilter:KSe,btnFilter1:QSe,btnFilterParent:e9e,backArrowIcon:t9e,teamContainer2:a9e,homeTeam:o9e,div4:n9e,finalScore:s9e,manchesterUnited1:i9e,scoreContainer1:r9e,match:l9e,manchesterUnited2:c9e,btnDetails:d9e,matchContainer1:m9e,goalChild:p9e,goal:h9e,manchesterUnited3:y9e,minuteEvent:g9e,yellowCard:u9e,awayTeamEvents:f9e,rectangle:_9e,homeTeamEvents:b9e,totalEvents:w9e,headerSeccionAlineaciones1:C9e,sliderMatchesInner:k9e,btnFilter2:S9e,btnDetails1:E9e,matchContainer3:N9e,backArrowIcon1:$9e,match1:B9e,headerSeccionAlineaciones2:x9e,jugadores2:V9e,switchOption6:I9e,switchOption7:A9e,switchStatesBig2:O9e,manchesterUnited26:T9e,homeTeamContainer2:z9e,vectorIcon:F9e,teamSwitch:R9e,matchContainer5:P9e,manchesterUnited27:D9e,sliderMatchesChild1:j9e,sliderMatchesChild2:L9e,sliderMatches2:v9e,filtros2:M9e,btnFilter4:H9e,jornada2:U9e,filterMatchday:G9e,btnDetails2:W9e,filtersContainer:q9e,matchContainer6:J9e,matchDetailContainer:X9e,containerData:Z9e,headerSeccionAlineaciones3:Y9e,headerSeccionAlineaciones:K9e,headerSeccionAlineaciones31200:Q9e,headerSeccionAlineaciones3420:eEe,headerSeccionAlineaciones3880:tEe,headerSeccionAlineaciones3540:aEe,headerSeccionAlineaciones11200:oEe,headerSeccionAlineaciones1420:nEe,headerSeccionAlineaciones1880:sEe,headerSeccionAlineaciones21200:iEe,headerSeccionAlineaciones2420:rEe,headerSeccionAlineaciones2880:lEe,headerSeccionAlineaciones2540:cEe},mEe={components:{GSCCarousel:dc,GscSwitchComponent:Js,GSCDropdown:ag,GSCFilter:gSe,GSCSwitchRadio:hC,GSCMatchDetails:uC},props:{widthSize:{type:Number,default:0},optionSelected:{type:String,default:"Historicos"},selectedOption:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.teamSelect=e.home_team_abbreviation,this.matchFilter()}catch(a){throw new Error(a)}}},gameRecientes:{immediate:!0,handler:async function(e){this.matchFilter()}}},data(){return{playminutes:[],showDetails:!1,teamSelect:"",updateCarouselGames:0,selectedIndexOption:0,openfiltervalue:!1,vDeleteFilter:!1,filterObject:{},matchdaysFiltersUpdate:[],gamesFiltersUpdate:[],localDetails:[],foreignDetails:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},headerSeccionAlineaciones1Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones1420:e<=880?this.$style.headerSeccionAlineaciones1880:e<=1200?this.$style.headerSeccionAlineaciones11200:this.$style.headerSeccionAlineaciones1},headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones2420:e<=540?this.$style.headerSeccionAlineaciones2540:e<=880?this.$style.headerSeccionAlineaciones2880:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones3Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones3420:e<=540?this.$style.headerSeccionAlineaciones3540:e<=880?this.$style.headerSeccionAlineaciones3880:e<=1200?this.$style.headerSeccionAlineaciones31200:this.$style.headerSeccionAlineaciones3}},methods:{deleteFilters(){this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickShowDetails(){this.showDetails=!this.showDetails},changeDropdown(e){const a=this.gameRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_match_result}),a.push(this.gameRecientes[this.teamSelect][o])):this.gameRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]));else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o])}else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gameRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},changeFiltersModal(e){this.filterObject=e,this.openfiltervalue=!1,this.matchFilter()},openFilter(){this.openfiltervalue=!0},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},changeCarouselItem(e){this.getMinutesData(e.selectedItem.minutes),this.$emit("input",e),this.selectedIndexOption=e.selectedItemIndex},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.$emit("changeTeam",this.teamSelect),this.updateCarouselGames+=1,this.matchFilter())},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},pEe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),hEe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),yEe=["src"],gEe=["src"],uEe={class:"selector-tournaments"},fEe=["src"],_Ee=["src"],bEe={key:1},wEe=t.createElementVNode("br",null,null,-1),CEe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),kEe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),SEe=["src"],EEe=["src"],NEe={class:"selector-tournaments"},$Ee=["src"],BEe=["src"],xEe={key:1},VEe=t.createElementVNode("br",null,null,-1),IEe=["src"],AEe=["src"],OEe={class:"selector-tournaments"},TEe=["src"],zEe=["src"],FEe={key:1},REe=t.createElementVNode("br",null,null,-1);function PEe(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCSwitchRadio"),h=t.resolveComponent("GSCFilter"),d=t.resolveComponent("GSCDropdown"),l=t.resolveComponent("GSCCarousel"),m=t.resolveComponent("GSCMatchDetails");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop-full"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[pEe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),hEe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,yEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":s.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,gEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[0]||(a[0]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:og},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2),t.createVNode(h,{"item-select":s.filterObject,"is-open":s.openfiltervalue,onChange:i.changeFiltersModal,reset:s.vDeleteFilter,"margin-modal":"-83px"},null,8,["item-select","is-open","onChange","reset"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",uEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:s.updateCarouselGames,items:i.gameRecientesFilter,"current-item-index":s.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,fEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,_Ee),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",bEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),wEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[1]||(a[1]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),s.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[2]||(a[2]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[s.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[CEe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),kEe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,SEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":s.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,EEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer3)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter2),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[3]||(a[3]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:uSe},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:fSe},null,2),t.createVNode(h,{"item-select":s.filterObject,"is-open":s.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-99px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",NEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[4]||(a[4]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[s.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match1)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":s.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,$Ee)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,BEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",xEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),VEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[5]||(a[5]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),s.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones3Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited26)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer5),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,IEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":s.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,AEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter4),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[6]||(a[6]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:_Se},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros2)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:bSe},null,2),t.createVNode(h,{"item-select":s.filterObject,"is-open":s.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-75px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.filterMatchday),id:"menu-matchday",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"25px",width:"100px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",OEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[7]||(a[7]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[s.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchDetailContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer6),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":s.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,TEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==s.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,zEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",FEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),REe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[8]||(a[8]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),s.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:s.localDetails,foreignDetails:s.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)],2)}const DEe={$style:dEe},jEe=wt(mEe,[["render",PEe],["__cssModules",DEe]]),LEe="_selectoritem_16hc8_179",vEe="_selectoritem2_16hc8_199",MEe="_gscheaderlineup_16hc8_219",HEe="_anNoEstn_16hc8_233",UEe="_groupsLeague_16hc8_239",GEe="_jugadores_16hc8_249",WEe="_switchOption_16hc8_259",qEe="_jugadores1_16hc8_279",JEe="_switchOption1_16hc8_289",XEe="_switchStatesBig_16hc8_305",ZEe="_groupsLeagueParent_16hc8_323",YEe="_imgHomeTeamIcon_16hc8_341",KEe="_imgHomeTeamWrapper_16hc8_353",QEe="_teamContainer_16hc8_377",eNe="_name_16hc8_401",tNe="_homeTeamContainer_16hc8_413",aNe="_div_16hc8_433",oNe="_titleSession_16hc8_441",nNe="_scoreContainer_16hc8_461",sNe="_scoreContainerWrapper_16hc8_481",iNe="_teamContainer1_16hc8_505",rNe="_awayTeamContainer_16hc8_529",lNe="_matchContainer_16hc8_549",cNe="_sliderMatchesChild_16hc8_567",dNe="_manchesterUnited_16hc8_579",mNe="_sliderMatchesItem_16hc8_591",pNe="_sliderMatches_16hc8_567",hNe="_sortIcon_16hc8_627",yNe="_filtros_16hc8_641",gNe="_sortParent_16hc8_657",uNe="_shapeIcon_16hc8_671",fNe="_btnFilter_16hc8_681",_Ne="_btnFilter1_16hc8_709",bNe="_btnFilterParent_16hc8_737",wNe="_backArrowIcon_16hc8_753",CNe="_teamContainer2_16hc8_765",kNe="_homeTeam_16hc8_413",SNe="_div4_16hc8_793",ENe="_finalScore_16hc8_803",NNe="_manchesterUnited1_16hc8_829",$Ne="_scoreContainer1_16hc8_843",BNe="_match_16hc8_549",xNe="_manchesterUnited2_16hc8_879",VNe="_btnDetails_16hc8_889",INe="_matchContainer1_16hc8_909",ANe="_goalChild_16hc8_925",ONe="_goal_16hc8_925",TNe="_manchesterUnited3_16hc8_951",zNe="_minuteEvent_16hc8_965",FNe="_yellowCard_16hc8_979",RNe="_awayTeamEvents_16hc8_993",PNe="_rectangle_16hc8_1007",DNe="_homeTeamEvents_16hc8_1021",jNe="_totalEvents_16hc8_1037",LNe="_headerSeccionAlineaciones1_16hc8_1053",vNe="_switchOption3_16hc8_1075",MNe="_switchOption4_16hc8_1099",HNe="_switchStatesBig1_16hc8_1119",UNe="_manchesterUnited13_16hc8_1133",GNe="_homeTeamContainer1_16hc8_1143",WNe="_scoreContainer2_16hc8_1157",qNe="_matchContainer2_16hc8_1185",JNe="_manchesterUnited14_16hc8_1205",XNe="_sliderMatchesInner_16hc8_1219",ZNe="_rectangleIcon_16hc8_1239",YNe="_sliderMatches1_16hc8_1259",KNe="_containerData_16hc8_1275",QNe="_headerSeccionAlineaciones2_16hc8_1303",e$e="_headerSeccionAlineaciones_16hc8_1053",t$e="_headerSeccionAlineaciones21200_16hc8_1351",a$e="_headerSeccionAlineaciones1540_16hc8_1357",o$e="_headerSeccionAlineaciones2540_16hc8_1365",n$e={selectoritem:LEe,selectoritem2:vEe,gscheaderlineup:MEe,anNoEstn:HEe,groupsLeague:UEe,jugadores:GEe,switchOption:WEe,jugadores1:qEe,switchOption1:JEe,switchStatesBig:XEe,groupsLeagueParent:ZEe,imgHomeTeamIcon:YEe,imgHomeTeamWrapper:KEe,teamContainer:QEe,name:eNe,homeTeamContainer:tNe,div:aNe,titleSession:oNe,scoreContainer:nNe,scoreContainerWrapper:sNe,teamContainer1:iNe,awayTeamContainer:rNe,matchContainer:lNe,sliderMatchesChild:cNe,manchesterUnited:dNe,sliderMatchesItem:mNe,sliderMatches:pNe,sortIcon:hNe,filtros:yNe,sortParent:gNe,shapeIcon:uNe,btnFilter:fNe,btnFilter1:_Ne,btnFilterParent:bNe,backArrowIcon:wNe,teamContainer2:CNe,homeTeam:kNe,div4:SNe,finalScore:ENe,manchesterUnited1:NNe,scoreContainer1:$Ne,match:BNe,manchesterUnited2:xNe,btnDetails:VNe,matchContainer1:INe,goalChild:ANe,goal:ONe,manchesterUnited3:TNe,minuteEvent:zNe,yellowCard:FNe,awayTeamEvents:RNe,rectangle:PNe,homeTeamEvents:DNe,totalEvents:jNe,headerSeccionAlineaciones1:LNe,switchOption3:vNe,switchOption4:MNe,switchStatesBig1:HNe,manchesterUnited13:UNe,homeTeamContainer1:GNe,scoreContainer2:WNe,matchContainer2:qNe,manchesterUnited14:JNe,sliderMatchesInner:XNe,rectangleIcon:ZNe,sliderMatches1:YNe,containerData:KNe,headerSeccionAlineaciones2:QNe,headerSeccionAlineaciones:e$e,headerSeccionAlineaciones21200:t$e,headerSeccionAlineaciones1540:a$e,headerSeccionAlineaciones2540:o$e},s$e={components:{GSCCarousel:dc,GscSwitchComponent:Js},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{remplazarMxJor(e){return e.replace("M","JOR ")},changeCarouselItem(e){this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},i$e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),r$e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),l$e=["src"],c$e=["src"],d$e=["src"],m$e=["src"],p$e=["src"],h$e=["src"];function y$e(e,a,o,n,s,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[i$e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),r$e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},null,2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,l$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titleSession)},t.toDisplayString(o.gameInfo.season_name!==void 0?o.gameInfo.season_name+"  |  "+i.remplazarMxJor(o.gameInfo.matchday_abbreviation)+"  |  "+o.gameInfo.home_team_abbreviation+" - "+o.gameInfo.away_team_abbreviation:""),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,c$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:og},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zs},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:BC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,d$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,m$e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,p$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,h$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},null,2)],2)],2)],2)],2)}const g$e={$style:n$e},u$e=wt(s$e,[["render",y$e],["__cssModules",g$e]]),f$e="_anNoEstn_j98j7_139",_$e="_groupsLeague_j98j7_145",b$e="_historicas_j98j7_153",w$e="_switchOption_j98j7_163",C$e="_switchOption1_j98j7_183",k$e="_probables_j98j7_203",S$e="_switchOption2_j98j7_213",E$e="_switchStatesBig_j98j7_237",N$e="_groupsLeagueParent_j98j7_255",$$e="_imgHomeTeamIcon_j98j7_273",B$e="_imgHomeTeamWrapper_j98j7_285",x$e="_teamContainer_j98j7_309",V$e="_name_j98j7_333",I$e="_jor_j98j7_345",A$e="_jorParent_j98j7_357",O$e="_shapeIcon_j98j7_373",T$e="_frameParent_j98j7_383",z$e="_manchesterUnited_j98j7_413",F$e="_necaxaIcon_j98j7_435",R$e="_manchesterUnited1_j98j7_447",P$e="_team_j98j7_309",D$e="_homeTeamContainer_j98j7_475",j$e="_div1_j98j7_495",L$e="_scoreContainer_j98j7_503",v$e="_scoreContainerWrapper_j98j7_525",M$e="_team1_j98j7_549",H$e="_name1_j98j7_563",U$e="_teamContainer1_j98j7_577",G$e="_awayTeamContainer_j98j7_601",W$e="_matchContainer_j98j7_623",q$e="_goalChild_j98j7_641",J$e="_goal_j98j7_641",X$e="_manchesterUnited4_j98j7_667",Z$e="_minuteEvent_j98j7_681",Y$e="_yellowCard_j98j7_695",K$e="_awayTeamEvents_j98j7_709",Q$e="_rectangle_j98j7_723",eBe="_homeTeamEvents_j98j7_737",tBe="_totalEvents_j98j7_753",aBe="_headerSeccionAlineaciones1_j98j7_769",oBe="_homeTeamContainer1_j98j7_789",nBe="_awayTeamContainer1_j98j7_813",sBe="_headerSeccionAlineaciones2_j98j7_837",iBe="_jugadores_j98j7_857",rBe="_switchOption6_j98j7_869",lBe="_switchOption8_j98j7_889",cBe="_switchStatesBig2_j98j7_913",dBe="_manchesterUnited28_j98j7_927",mBe="_homeTeamContainer2_j98j7_935",pBe="_matchContainer2_j98j7_949",hBe="_manchesterUnited29_j98j7_971",yBe="_sliderMatchesChild_j98j7_985",gBe="_sliderMatchesItem_j98j7_1005",uBe="_sliderMatches_j98j7_985",fBe="_jorParent2_j98j7_1045",_Be="_filterMatchday_j98j7_1059",bBe="_necaxaIcon4_j98j7_1081",wBe="_team4_j98j7_1093",CBe="_filterMatchdayParent_j98j7_1113",kBe="_filterMatchday1_j98j7_1127",SBe="_teamParent_j98j7_1157",EBe="_filtersContainer_j98j7_1177",NBe="_containerData_j98j7_1195",$Be="_headerSeccionAlineaciones3_j98j7_1223",BBe="_headerSeccionAlineaciones_j98j7_769",xBe={anNoEstn:f$e,groupsLeague:_$e,historicas:b$e,switchOption:w$e,switchOption1:C$e,probables:k$e,switchOption2:S$e,switchStatesBig:E$e,groupsLeagueParent:N$e,imgHomeTeamIcon:$$e,imgHomeTeamWrapper:B$e,teamContainer:x$e,name:V$e,jor:I$e,jorParent:A$e,shapeIcon:O$e,frameParent:T$e,manchesterUnited:z$e,necaxaIcon:F$e,manchesterUnited1:R$e,team:P$e,homeTeamContainer:D$e,div1:j$e,scoreContainer:L$e,scoreContainerWrapper:v$e,team1:M$e,name1:H$e,teamContainer1:U$e,awayTeamContainer:G$e,matchContainer:W$e,goalChild:q$e,goal:J$e,manchesterUnited4:X$e,minuteEvent:Z$e,yellowCard:Y$e,awayTeamEvents:K$e,rectangle:Q$e,homeTeamEvents:eBe,totalEvents:tBe,headerSeccionAlineaciones1:aBe,homeTeamContainer1:oBe,awayTeamContainer1:nBe,headerSeccionAlineaciones2:sBe,jugadores:iBe,switchOption6:rBe,switchOption8:lBe,switchStatesBig2:cBe,manchesterUnited28:dBe,homeTeamContainer2:mBe,matchContainer2:pBe,manchesterUnited29:hBe,sliderMatchesChild:yBe,sliderMatchesItem:gBe,sliderMatches:uBe,jorParent2:fBe,filterMatchday:_Be,necaxaIcon4:bBe,team4:wBe,filterMatchdayParent:CBe,filterMatchday1:kBe,teamParent:SBe,filtersContainer:EBe,containerData:NBe,headerSeccionAlineaciones3:$Be,headerSeccionAlineaciones:BBe},VBe={components:{GSCDropdown:ag,GscSwitchComponent:Js},props:{optionSelected:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},data(){return{rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",rivalVisitAbrev:"",auxVal:0}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",e)}catch(a){throw new Error(a)}}}},methods:{clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)},changeDropdownVisit(e){const a=this.gameRecientes[this.gameInfo.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team_abbreviation:this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team+".png",this.$emit("changeaway",this.gameRecientes[this.gameInfo.away_team_abbreviation][a])},changeDropdownLocal(e){const a=this.gameRecientes[this.gameInfo.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team_abbreviation:this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team+".png",this.$emit("changehome",this.gameRecientes[this.gameInfo.home_team_abbreviation][a])}}},IBe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),ABe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),OBe=["src"],TBe={class:"selector-tournaments"},zBe=["src"],FBe=["src"],RBe={class:"selector-tournaments"},PBe=["src"],DBe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),jBe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),LBe=["src"],vBe={class:"selector-tournaments"},MBe=["src"],HBe=["src"],UBe={class:"selector-tournaments"},GBe=["src"],WBe=["src"],qBe=["src"],JBe={class:"selector-tournaments"},XBe=["src"],ZBe=["src"],YBe={class:"selector-tournaments"};function KBe(e,a,o,n,s,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCDropdown");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones1),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[IBe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),ABe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,OBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",TBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalHomeImg},null,10,zBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"-",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalVisitImg},null,10,FBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",RBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name1)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,PBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones2),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[DBe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),jBe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,LBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",vBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalHomeImg},null,10,MBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(s.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:s.rivalVisitImg},null,10,HBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",UBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,GBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones3),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited28)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,WBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,qBe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchdayParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",JBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team4)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:s.rivalHomeImg},null,10,XBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:s.rivalVisitImg},null,10,ZBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",YBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2)],2)],2)],2)],2)}const QBe={$style:xBe},exe=wt(VBe,[["render",KBe],["__cssModules",QBe]]),VC="/line.png";let IC=null;const txe={name:"lineupPlayers",props:{game:{type:Object,default:()=>{}},selectedOption:{type:Boolean,default:"Prematch"}},components:{CardPlayer:Eke,HeaderPlayerHistorico:eSe,HeaderPlayerRecientes:jEe,HeaderPlayerProbables:exe,HeaderPlayerPostmatch:u$e},data(){return{selectOptMenuheader:"Historicos",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",valueUpdateRecientes:0,uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},homeTeam:{},visitingTeam:{},gameForAnalysis:{},movil:!1,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,auxHistoricGameID:0,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0}},computed:{goalcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"goal_card_div440":e<=650?"goal_card_div650":e<=820?"goal_card_div820":"goal_card_div"},yellowredcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"yellowred_card_div440":e<=650?"yellowred_card_div650":e<=820?"yellowred_card_div820":"yellowred_card_div"},redcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"red_card_div440":e<=650?"red_card_div650":e<=820?"red_card_div820":"red_card_div"},yellowcarddivclass(){const e=this.gamesContainerWidth;return e<=440?"yellow_card_div440":e<=650?"yellow_card_div650":e<=820?"yellow_card_div820":"yellow_card_div"},infochangeplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-chamge-player-item440":e<=650?"info-chamge-player-item650":e<=740?"info-chamge-player-item740":"info-chamge-player-item"},infonameplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-name-player-item440":e<=650?"info-name-player-item650":e<=740?"info-name-player-item740":"info-name-player-item"},infoplayeritemClass(){const e=this.gamesContainerWidth;return e<=400?"info-player-item400":e<=440?"info-player-item440":e<=650?"info-player-item650":e<=740?"info-player-item740":"info-player-item"},numPlayerClass(){const e=this.gamesContainerWidth;return e<=440?"num-Player440":e<=540?"num-Player540":e<=740?"num-Player740":"num-Player"},jerseyitemplayerClass(){const e=this.gamesContainerWidth;return e<=440?"jerseyitemplayer440":e<=540?"jerseyitemplayer540":e<=650?"jerseyitemplayer650":e<=740?"jerseyitemplayer740":"jerseyitemplayer"},itemplayerfieldClass(){return this.gamesContainerWidth<=740?"itemplayer-field740":"itemplayer-field"},canchacontainerClass(){const e=this.gamesContainerWidth;return e<=300?"cancha-container300":e<=325?"cancha-container325":e<=350?"cancha-container350":e<=440?"cancha-container440":e<=540?"cancha-container540":e<=740?"cancha-container740":e<=820?"cancha-container820":e<=840?"cancha-container840":e<=940?"cancha-container940":e<=1140?"cancha-container1140":"cancha-container"},fieldcontainerClass(){const e=this.gamesContainerWidth;return e<=300?"field-container300":e<=380?"field-container380":e<=440?"field-container440":e<=540?"field-container540":e<=740?"field-container740":"field-container"},notificationnolineupsClass(){const e=this.gamesContainerWidth;return e<=300?"notification-no-lineups300":e<=370?"notification-no-lineups370":e<=400?"notification-no-lineups400":e<=460?"notification-no-lineups460":e<=500?"notification-no-lineups500":e<=530?"notification-no-lineups530":e<=740?"notification-no-lineups740":e<=768?"notification-no-lineups768":e<=830?"notification-no-lineups830":e<=900?"notification-no-lineups900":"notification-no-lineups"},containernolineups(){const e=this.gamesContainerWidth;return e<=300?"container-no-lineups300":e<=350?"container-no-lineups350":e<=768?"container-no-lineups768":"container-no-lineups"},menuTeamsClass(){return this.gamesContainerWidth<=740?"menu-teams-mobile740":"menu-teams-mobile"},positionClass(){return this.gamesContainerWidth<=500?"gsc-position-player500":"gsc-position-player"},positionClass2(){return this.gamesContainerWidth<=500?"gsc-position-player2500":"gsc-position-player2"},containerlineupsClass(){const e=this.gamesContainerWidth;return e<=740?"gsc-lineups-container680":e<=900?"gsc-lineups-container900":"gsc-lineups-container"},containerClassHome(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontainerhome680":e<=768?"gsclineupscontainerhome768":e<=900?"gsclineupscontainerhome900":"gsclineupscontainerhome"},containerClassAway(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontaineraway680":e<=768?"gsclineupscontaineraway768":e<=900?"gsclineupscontaineraway900":"gsclineupscontaineraway"},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0}},async mounted(){if(setTimeout(()=>{this.setUpResizeObserver()},100),this.game||this.$route.params.gameId)try{this.cleaneData()}catch(e){throw new Error(e)}},watch:{selectOptMenuheader:{immediate:!0,async handler(e){e==="Historicos"&&(this.cleaneData(),await this.getLineUp(this.gamesHistoric[0].game)),e==="Recientes"&&(this.cleaneData(),await this.getLineUp(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][0].id),this.valueUpdateRecientes+=1)}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){try{e&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Postmatch"&&await this.getLineUp(this.gameInfoheader.id),this.selectOptMenuheader=="Historicos"&&this.getLineUp(this.gamesHistoric[0].game))}catch(a){throw new Error(a)}}}},sockets:{new_bench(e,a){if(a[this.home_team_id]){this.playersHome=this.playersHome.filter(function(f){return!f.isbench});for(let f=0;f<a[this.home_team_id].length;f++)if(!a[this.home_team_id][f].isTitular){this.subsTitle=!0;var o=a[this.home_team_id][f].playerName.split(","),n=o[0].split(" "),s=o[1].trim().split(" "),i="";n.length==2||n.length==1?n[0].length<4?i=n[0]+" "+n[1]:i=n[0]:n.length==3?i=n[0]+" "+n[1]:n.length==4&&(i=n[1]+" "+n[2]+" "+n[3]);var r=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=this.dataPlayersHome.findIndex(b=>b.player_id==a[this.home_team_id][f].playerID);this.playersHome.push({played:!1,name:a[this.home_team_id][f].playerName,position:h!=-1?this.positions[this.dataPlayersHome[h].position_id-1].name:"",position_id:this.dataPlayersHome[h].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.home_team_id][f].playerID+".png",nationality:h!=-1&&this.dataPlayersHome[h].nationality?this.dataPlayersHome[h].nationality.substring(0,3):"",imgNationality:h!=-1?this.dataPlayersHome[h].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.home_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.home_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.home_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersHome.sort((f,b)=>f.position_id>b.position_id?1:b.position_id>f.position_id?-1:0)}if(a[this.away_team_id]){this.playersAway=this.playersAway.filter(function(f){return!f.isbench});for(let f=0;f<a[this.away_team_id].length;f++)if(!a[this.away_team_id][f].isTitular){this.subsTitle=!0;var d=a[this.away_team_id][f].playerName.split(","),l=d[0].split(" "),m=o[1].trim().split(" "),p="";l.length==2||l.length==1?l[0].length<4?p=l[0]+" "+l[1]:p=l[0]:l.length==3?p=l[0]+" "+l[1]:l.length==4&&(p=l[1]+" "+l[2]+" "+l[3]);var g=m[m.length-1]!=""?m[m.length-1].charAt(0):m[m.length-2]?m[m.length-2].charAt(0):"";p=p.replace(",","");var y=g+". "+p,u=this.dataPlayersAway.findIndex(b=>b.player_id==a[this.away_team_id][f].playerID);this.playersAway.push({played:!1,name:a[this.away_team_id][f].playerName,position:u!=-1?this.positions[this.dataPlayersAway[u].position_id-1].name:"",position_id:this.dataPlayersAway[u].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.away_team_id][f].playerID+".png",nationality:u!=-1&&this.dataPlayersAway[u].nationality?this.dataPlayersAway[u].nationality.substring(0,3):"",imgNationality:u!=-1?this.dataPlayersAway[u].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:y,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.away_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.away_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.away_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersAway.sort((f,b)=>f.position_id>b.position_id?1:b.position_id>f.position_id?-1:0)}},new_lineup(e,a){if(a.team_id==a.home_team.team_id){if(this.playersHome.length==0){this.dataPlayersHome=a.home_team.players;for(let _=0;_<a.data.length;_++){this.home_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","home",0);var o=a.data[_].player_name.split(","),n=o[0].split(" "),s=o[1].trim().split(" "),i="";n.length==2||n.length==1?n[0].length<4?i=n[0]+" "+n[1]:i=n[0]:n.length==3?i=n[0]+" "+n[1]:n.length==4&&(i=n[1]+" "+n[2]+" "+n[3]);var r=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=a.data[_].x,d=h*50/100,l=a.home_team.players.findIndex(C=>C.player_id==a.data[_].player_id);this.playersHome.push({played:!0,name:a.data[_].player_name,position:l!=-1?this.positions[a.home_team.players[l].position_id-1].name:"",position_id:a.home_team.players[l].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[_].player_id+".png",nationality:l!=-1&&a.home_team.players[l].nationality?a.home_team.players[l].nationality.substring(0,3):"",imgNationality:l!=-1?a.home_team.players[l].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[_].jersey_number,positionX:a.data[_].y-13,positionY:d*.9,positionXOrigin:a.data[_].y-17,positionYOrigin:a.data[_].x-2,playerId:a.data[_].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersHome.sort((_,C)=>_.position_id>C.position_id?1:C.position_id>_.position_id?-1:0)}}else if(this.playersAway.length==0){this.dataPlayersAway=a.away_team.players;for(let _=0;_<a.data.length;_++){this.away_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","away",0);var m=a.data[_].player_name.split(","),p=m[0].split(" "),g=m[1].trim().split(" "),y="";p.length==2||p.length==1?p[0].length<4?y=p[0]+" "+p[1]:y=p[0]:p.length==3?y=p[0]+" "+p[1]:p.length==4&&(y=p[1]+" "+p[2]+" "+p[3]);var u=g[g.length-1]!=""?g[g.length-1].charAt(0):g[g.length-2]?g[g.length-2].charAt(0):"";y=y.replace(",","");var f=u+". "+y,b=a.data[_].x,k=100-(100-b)*50/100;k=k*.9;var B=a.away_team.players.findIndex(C=>C.player_id==a.data[_].player_id);this.playersAway.push({played:!0,name:a.data[_].player_name,position:B!=-1?this.positions[a.away_team.players[B].position_id-1].name:"",position_id:a.away_team.players[B].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[_].player_id+".png",nationality:B!=-1&&a.away_team.players[B].nationality?a.away_team.players[B].nationality.substring(0,3):"",imgNationality:B!=-1?a.away_team.players[B].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:f,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[_].jersey_number,positionX:a.data[_].y-13,positionY:k+2,positionXOrigin:a.data[_].y-17,positionYOrigin:a.data[_].x-7,playerId:a.data[_].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersAway.sort((_,C)=>_.position_id>C.position_id?1:C.position_id>_.position_id?-1:0)}},update_mxm(e,a){var o=-1,n=-1;if(this.playersHome.length>0){var s=this.playersHome.findIndex($=>$.idredcards==a.play_id),i=this.playersHome.findIndex($=>$.idyellowcards==a.play_id),r=this.playersHome.findIndex($=>$.idSubstitution==a.play_id);for(let $=0;$<this.playersHome.length;$++){var c=this.playersHome[$].idsGoals.findIndex(x=>x==a.play_id);c!=-1&&(o=c,n=$)}s!=-1&&this.resetPlayUpdate("RedCard","Home",s,n),i!=-1&&this.resetPlayUpdate("YellowCard","Home",i,n),r!=-1&&this.resetPlayUpdate("Substitution","Home",r,n),o!=-1&&this.resetPlayUpdate("Goals","Home",o,n)}if(this.playersAway.length>0){var h=this.playersAway.findIndex($=>$.idredcards==a.play_id),d=this.playersAway.findIndex($=>$.idyellowcards==a.play_id),l=this.playersAway.findIndex($=>$.idSubstitution==a.play_id);for(let $=0;$<this.playersAway.length;$++){var m=this.playersAway[$].idsGoals.findIndex(x=>x==a.play_id);m!=-1&&(o=m,n=$)}h!=-1&&this.resetPlayUpdate("RedCard","Away",h,n),d!=-1&&this.resetPlayUpdate("YellowCard","Away",d,n),l!=-1&&this.resetPlayUpdate("Substitution","Away",l,n),o!=-1&&this.resetPlayUpdate("Goals","Away",o,n)}if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=a.player_id.split("@"),g=this.playersHome.findIndex($=>$.playerId==p[0]),y=this.playersHome.findIndex($=>$.playerId==p[1]);g!=-1&&(this.playersHome[g].idSubstitution=a.play_id,this.playersHome[g].substitutionOut=!0,this.playersHome[g].substitutionMin=a.minute,this.playersHome[g].substitutionDataID=a.team_id+"@"+a.player_id),y!=-1&&(this.playersHome[y].idSubstitution=a.play_id,this.playersHome[y].substitutionIn=!0,this.playersHome[y].substitutionMin=a.minute,this.playersHome[y].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var u=a.player_id.split("@"),f=this.playersAway.findIndex($=>$.playerId==u[0]),b=this.playersAway.findIndex($=>$.playerId==u[1]);g!=-1&&(this.playersAway[f].idSubstitution=a.play_id,this.playersAway[f].substitutionOut=!0,this.playersAway[f].substitutionMin=a.minute,this.playersAway[f].substitutionDataID=a.team_id+"@"+a.player_id),b!=-1&&(this.playersAway[b].idSubstitution=a.play_id,this.playersAway[b].substitutionIn=!0,this.playersAway[b].substitutionMin=a.minute,this.playersAway[b].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var k=this.playersHome.findIndex($=>$.playerId==a.player_id);k!=-1&&(this.playersHome[k].goals+=1,this.playersHome[k].goalsMin.push(a.minute),this.playersHome[k].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var B=this.playersAway.findIndex($=>$.playerId==a.player_id);B!=-1&&(this.playersAway[B].goals+=1,this.playersAway[B].goalsMin.push(a.minute),this.playersAway[B].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var _=this.playersHome.findIndex($=>$.playerId==a.player_id);_!=-1&&(this.playersHome[_].yellowcards+=1,this.playersHome[_].yellowcardsMin=a.minute,this.playersHome[_].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var C=this.playersAway.findIndex($=>$.playerId==a.player_id);C!=-1&&(this.playersAway[C].yellowcards+=1,this.playersAway[C].yellowcardsMin=a.minute,this.playersAway[C].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var N=this.playersHome.findIndex($=>$.playerId==a.player_id);N!=-1&&(this.playersHome[N].redcards+=1,this.playersHome[N].redcardsMin=a.minute,this.playersHome[N].idredcards=a.play_id)}}else if(this.playersAway.length>0){var V=this.playersAway.findIndex($=>$.playerId==a.player_id);V!=-1&&(this.playersAway[V].redcards+=1,this.playersAway[V].redcardsMin=a.minute,this.playersAway[V].idredcards=a.play_id)}}}},delete_mxm(e,a){if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++)this.playersHome[o].idSubstitution==a.play_id&&(this.playersHome[o].substitutionOut=!1,this.playersHome[o].substitutionIn=!1,this.playersHome[o].substitutionMin="",this.playersHome[o].substitutionDataID="",this.playersHome[o].idSubstitution=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idSubstitution==a.play_id&&(this.playersAway[o].substitutionOut=!1,this.playersAway[o].substitutionIn=!1,this.playersAway[o].substitutionMin="",this.playersAway[o].substitutionDataID="",this.playersAway[o].idSubstitution=0);if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++){const n=this.playersHome[o].idsGoals.findIndex(s=>s==a.play_id);n!=-1&&(this.playersHome[o].goals=this.playersHome[o].goals-1,this.playersHome[o].goalsMin.splice(n,1),this.playersHome[o].idsGoals.splice(n,1))}if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++){const n=this.playersAway[o].idsGoals.findIndex(s=>s==a.play_id);n!=-1&&(this.playersAway[o].goals=this.playersAway[o].goals-1,this.playersAway[o].goalsMin.splice(n,1),this.playersAway[o].idsGoals.splice(n,1))}if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idyellowcards==a.play_id&&(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idyellowcards==a.play_id&&(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0);if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idredcards==a.play_id&&(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idredcards==a.play_id&&(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)},new_mxm(e,a){if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var o=a.player_id.split("@"),n=this.playersHome.findIndex(y=>y.playerId==o[0]),s=this.playersHome.findIndex(y=>y.playerId==o[1]);n!=-1&&(this.playersHome[n].idSubstitution=a.play_id,this.playersHome[n].substitutionOut=!0,this.playersHome[n].substitutionMin=a.minute,this.playersHome[n].substitutionDataID=a.team_id+"@"+a.player_id),s!=-1&&(this.playersHome[s].idSubstitution=a.play_id,this.playersHome[s].substitutionIn=!0,this.playersHome[s].substitutionMin=a.minute,this.playersHome[s].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var i=a.player_id.split("@"),r=this.playersAway.findIndex(y=>y.playerId==i[0]),c=this.playersAway.findIndex(y=>y.playerId==i[1]);n!=-1&&(this.playersAway[r].idSubstitution=a.play_id,this.playersAway[r].substitutionOut=!0,this.playersAway[r].substitutionMin=a.minute,this.playersAway[r].substitutionDataID=a.team_id+"@"+a.player_id),c!=-1&&(this.playersAway[c].idSubstitution=a.play_id,this.playersAway[c].substitutionIn=!0,this.playersAway[c].substitutionMin=a.minute,this.playersAway[c].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var h=this.playersHome.findIndex(y=>y.playerId==a.player_id);h!=-1&&(this.playersHome[h].goals+=1,this.playersHome[h].goalsMin.push(a.minute),this.playersHome[h].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var d=this.playersAway.findIndex(y=>y.playerId==a.player_id);d!=-1&&(this.playersAway[d].goals+=1,this.playersAway[d].goalsMin.push(a.minute),this.playersAway[d].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var l=this.playersHome.findIndex(y=>y.playerId==a.player_id);l!=-1&&(this.playersHome[l].yellowcards+=1,this.playersHome[l].yellowcardsMin=a.minute,this.playersHome[l].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var m=this.playersAway.findIndex(y=>y.playerId==a.player_id);m!=-1&&(this.playersAway[m].yellowcards+=1,this.playersAway[m].yellowcardsMin=a.minute,this.playersAway[m].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=this.playersHome.findIndex(y=>y.playerId==a.player_id);p!=-1&&(this.playersHome[p].redcards+=1,this.playersHome[p].redcardsMin=a.minute,this.playersHome[p].idredcards=a.play_id)}}else if(this.playersAway.length>0){var g=this.playersAway.findIndex(y=>y.playerId==a.player_id);g!=-1&&(this.playersAway[g].redcards+=1,this.playersAway[g].redcardsMin=a.minute,this.playersAway[g].idredcards=a.play_id)}}}}},methods:{async getLineUpProbablesHome3D(e){try{const B=Pt.create({headers:{Authorization:`${this.tokenPremium}`}});console.log("this.gameInfoheader.home_team"),console.log(this.gameInfoheader.home_team);const _=await B.get(this.url+e);if(!_||!_.data)throw new Error("There is not lineups for this game.");if(_.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=_.data.home_team.players,_.data.home_team.starting_lineup[0].lineup.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0);for(let C=0;C<_.data.home_team.starting_lineup[0].lineup.length;C++){this.home_team_id=_.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+"_g.svg","home",0);var a=_.data.home_team.starting_lineup[0].lineup[C].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=_.data.home_team.starting_lineup[0].lineup[C].x,h=c*50/100,d=_.data.home_team.players.findIndex(N=>N.player_id==_.data.home_team.starting_lineup[0].lineup[C].player_id);this.playersHome.push({played:!0,name:_.data.home_team.starting_lineup[0].lineup[C].player_name,position:this.positions[_.data.home_team.players[d].position_id-1].name,position_id:_.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.starting_lineup[0].lineup[C].player_id+".png",nationality:_.data.home_team.players[d].nationality?_.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.starting_lineup[0].lineup[C].jersey_number,positionX:_.data.home_team.starting_lineup[0].lineup[C].y-13,positionY:h*.9,positionXOrigin:_.data.home_team.starting_lineup[0].lineup[C].y-17,positionYOrigin:_.data.home_team.starting_lineup[0].lineup[C].x-2,playerId:_.data.home_team.starting_lineup[0].lineup[C].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png"}if(this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0),_.data.home_team.bench){for(let C=0;C<_.data.home_team.bench.length;C++){this.subsTitle=!0;var l=_.data.home_team.bench[C].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=_.data.home_team.players.findIndex(N=>N.player_id==_.data.home_team.bench[C].playerID);this.playersHome.push({played:!1,name:_.data.home_team.bench[C].playerName,position:f!=-1?this.positions[_.data.home_team.players[f].position_id-1].name:"",position_id:_.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.bench[C].playerID+".png",nationality:f!=-1&&_.data.home_team.players[f].nationality?_.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.bench[C].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.home_team.bench[C].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.home_team.team_id})}this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0)}}if(_.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=_.data.away_team.players,_.data.away_team.starting_lineup[0].lineup.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0);for(let C=0;C<_.data.away_team.starting_lineup[0].lineup.length;C++){this.home_team_id=_.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+"_g.svg","home",0);var a=_.data.away_team.starting_lineup[0].lineup[C].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,b=_.data.away_team.starting_lineup[0].lineup[C].x;b=Math.abs(b-100);var h=b*50/100,k=_.data.away_team.starting_lineup[0].lineup[C].y;k=Math.abs(k-100);var d=_.data.away_team.players.findIndex(Q=>Q.player_id==_.data.away_team.starting_lineup[0].lineup[C].player_id);this.playersHome.push({played:!0,name:_.data.away_team.starting_lineup[0].lineup[C].player_name,position:this.positions[_.data.away_team.players[d].position_id-1].name,position_id:_.data.away_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.starting_lineup[0].lineup[C].player_id+".png",nationality:_.data.away_team.players[d].nationality?_.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.starting_lineup[0].lineup[C].jersey_number,positionX:k-20,positionY:h*.9,positionXOrigin:_.data.away_team.starting_lineup[0].lineup[C].y-17,positionYOrigin:_.data.away_team.starting_lineup[0].lineup[C].x-2,playerId:_.data.away_team.starting_lineup[0].lineup[C].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.away_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png"}if(this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0),_.data.away_team.bench){for(let C=0;C<_.data.away_team.bench.length;C++){this.subsTitle=!0;var l=_.data.away_team.bench[C].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=_.data.away_team.players.findIndex(P=>P.player_id==_.data.away_team.bench[C].playerID);this.playersHome.push({played:!1,name:_.data.away_team.bench[C].playerName,position:f!=-1?this.positions[_.data.away_team.players[f].position_id-1].name:"",position_id:_.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.bench[C].playerID+".png",nationality:f!=-1&&_.data.away_team.players[f].nationality?_.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.bench[C].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.away_team.bench[C].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.away_team.team_id})}this.playersHome.sort((C,N)=>C.position_id>N.position_id?1:N.position_id>C.position_id?-1:0)}}this.getMXM(e)}catch(B){return Promise.reject(B)}},cleaneDataHome(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.homeTeamLogo="",this.homeTeamName="",this.homeTeamAbrev="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataAway(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.awayTeamAbrev="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},async getLineUpProbablesAway3D(e){try{const b=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!b||!b.data)throw new Error("There is not lineups for this game.");if(b.data.home_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=b.data.home_team.players;for(let k=0;k<b.data.home_team.starting_lineup[0].lineup.length;k++){this.away_team_id=b.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.home_team.team_id+"_g.svg","away",0);var a=b.data.home_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=b.data.home_team.starting_lineup[0].lineup[k].x;c=Math.abs(c-100);var h=100-(100-c)*50/100;h=h*.9;var d=b.data.home_team.players.findIndex(B=>B.player_id==b.data.home_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:b.data.home_team.starting_lineup[0].lineup[k].player_name,position:this.positions[b.data.home_team.players[d].position_id-1].name,position_id:b.data.home_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.home_team.starting_lineup[0].lineup[k].player_id+".png",nationality:b.data.home_team.players[d].nationality?b.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:b.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.home_team.starting_lineup[0].lineup[k].jersey_number,positionX:b.data.home_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:b.data.home_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:b.data.home_team.starting_lineup[0].lineup[k].x-7,playerId:b.data.home_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:b.data.home_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+b.data.home_team.team_id+".png"}if(this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0),b.data.home_team.bench){for(let k=0;k<b.data.home_team.bench.length;k++){this.subsTitle=!0;var l=b.data.home_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=b.data.home_team.players.findIndex(B=>B.player_id==b.data.home_team.bench[k].playerID);this.playersAway.push({played:!1,name:b.data.home_team.bench[k].playerName,position:f!=-1?this.positions[b.data.home_team.players[f].position_id-1].name:"",position_id:b.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.home_team.bench[k].playerID+".png",nationality:f!=-1&&b.data.home_team.players[f].nationality?b.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?b.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.home_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:b.data.home_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:b.data.home_team.team_id})}this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0)}}if(b.data.away_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=b.data.away_team.players;for(let k=0;k<b.data.away_team.starting_lineup[0].lineup.length;k++){this.away_team_id=b.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+b.data.away_team.team_id+"_g.svg","away",0);var a=b.data.away_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=b.data.away_team.starting_lineup[0].lineup[k].x,h=100-(100-c)*50/100;h=h*.9;var d=b.data.away_team.players.findIndex(I=>I.player_id==b.data.away_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:b.data.away_team.starting_lineup[0].lineup[k].player_name,position:this.positions[b.data.away_team.players[d].position_id-1].name,position_id:b.data.away_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.away_team.starting_lineup[0].lineup[k].player_id+".png",nationality:b.data.away_team.players[d].nationality?b.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:b.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.away_team.starting_lineup[0].lineup[k].jersey_number,positionX:b.data.away_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:b.data.away_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:b.data.away_team.starting_lineup[0].lineup[k].x-7,playerId:b.data.away_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:b.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+b.data.away_team.team_id+".png"}if(this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0),b.data.away_team.bench){for(let k=0;k<b.data.away_team.bench.length;k++){this.subsTitle=!0;var l=b.data.away_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=b.data.away_team.players.findIndex(F=>F.player_id==b.data.away_team.bench[k].playerID);this.playersAway.push({played:!1,name:b.data.away_team.bench[k].playerName,position:f!=-1?this.positions[b.data.away_team.players[f].position_id-1].name:"",position_id:b.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+b.data.away_team.bench[k].playerID+".png",nationality:f!=-1&&b.data.away_team.players[f].nationality?b.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?b.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+b.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:b.data.away_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:b.data.away_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:b.data.away_team.team_id})}this.playersAway.sort((k,B)=>k.position_id>B.position_id?1:B.position_id>k.position_id?-1:0)}}this.getMXM(e)}catch(b){return Promise.reject(b)}},async getLineupProbablesHome(e){this.auxProbablesIDGameHome!=e.id&&(this.auxProbablesIDGameHome=e.id,this.cleaneDataHome(),this.getLineUpProbablesHome3D(e.id))},async getLineupProbablesAway(e){this.auxProbablesIDGameAway!=e.id&&(this.auxProbablesIDGameAway=e.id,this.cleaneDataAway(),this.getLineUpProbablesAway3D(e.id))},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItem(e){typeof e.game_id<"u"&&e.game_id!=this.gameInfoheader.id&&this.auxHistoricGameID!=e.game_id&&(this.auxHistoricGameID=e.game_id,this.cleaneData(),await this.getLineUp(e.game_id))},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");this.gameInfoheader=a.data.game;for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[];for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});console.log("se cargan los recientes"),console.log(this.gamesRecientes);for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:this.getRound(a.data.away_team_games_recent[o].matchday_abbreviation),id:a.data.away_team_games_recent[o].matchday_id})},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},clickOnSelectOption(e){console.log("Nuevo valor: "),console.log(e),this.selectOptMenuheader=e,this.cleaneData(),this.auxProbablesIDGameAway=0,this.auxProbablesIDGameHome=0},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.visitingTeam=a.data.teams[1];const o=a.data.games.find(n=>n.game_id===Number(n.game_id));this.gameForAnalysis=o},cleaneData(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.homeTeamAbrev="",this.awayTeamAbrev="",this.home_team_id=0,this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){yn("lineups.game."+this.game.game_id),yn("mxm.game."+this.game.game_id),yn("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,n){if(e=="Substitution")if(a=="Home"){var s=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==s[1]),r=this.playersHome.findIndex(l=>l.playerId==s[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[n].goals=this.playersHome[n].goals-1,this.playersHome[n].goalsMin.splice(o,1),this.playersHome[n].idsGoals.splice(o,1)):(this.playersAway[n].goals=this.playersAway[n].goals-1,this.playersAway[n].goalsMin.splice(o,1),this.playersAway[n].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)IC=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),IC.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const g=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let y=0;y<g.data.plays.length;y++){if(g.data.plays[y].event_type_id==3){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var a=g.data.plays[y].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),n=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=g.data.plays[y].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=g.data.plays[y].minute,this.playersHome[o].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),n!=-1&&(this.playersHome[n].idSubstitution=g.data.plays[y].play_id,this.playersHome[n].substitutionIn=!0,this.playersHome[n].substitutionMin=g.data.plays[y].minute,this.playersHome[n].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}else if(this.playersAway.length>0){var s=g.data.plays[y].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==s[0]),r=this.playersAway.findIndex(u=>u.playerId==s[1]);i!=-1&&(this.playersAway[i].idSubstitution=g.data.plays[y].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=g.data.plays[y].minute,this.playersAway[i].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id),r!=-1&&(this.playersAway[r].idSubstitution=g.data.plays[y].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=g.data.plays[y].minute,this.playersAway[r].substitutionDataID=g.data.plays[y].team_id+"@"+g.data.plays[y].player_id)}}if(g.data.plays[y].event_type_id==1){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(g.data.plays[y].minute),this.playersHome[c].idsGoals.push(g.data.plays[y].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(g.data.plays[y].minute),this.playersAway[h].idsGoals.push(g.data.plays[y].play_id))}}if(g.data.plays[y].event_type_id==2){if(g.data.plays[y].category_id==8){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=g.data.plays[y].minute,this.playersHome[d].idyellowcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=g.data.plays[y].minute,this.playersAway[l].idyellowcards=g.data.plays[y].play_id)}}if(g.data.plays[y].category_id==9){if(g.data.plays[y].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==g.data.plays[y].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=g.data.plays[y].minute,this.playersHome[m].idredcards=g.data.plays[y].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==g.data.plays[y].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=g.data.plays[y].minute,this.playersAway[p].idredcards=g.data.plays[y].play_id)}}}}}catch(g){return Promise.reject(g)}},async getLineUp(e){if(e!=null&&(dC(),!this.playersHome.length&&!this.playersHome.length))try{const w=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!w||!w.data)throw new Error("There is not lineups for this game.");this.dataPlayersHome=w.data.home_team.players,this.dataPlayersAway=w.data.away_team.players,w.data.home_team.starting_lineup[0].lineup.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0);for(let E=0;E<w.data.home_team.starting_lineup[0].lineup.length;E++){this.home_team_id=w.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+"_g.svg","home",0);var a=w.data.home_team.starting_lineup[0].lineup[E].player_name.split(","),o=a[0].split(" "),n=a[1].trim().split(" "),s="";o.length==2||o.length==1?o[0].length<4?s=o[0]+" "+o[1]:s=o[0]:o.length==3?s=o[0]+" "+o[1]:o.length==4&&(s=o[1]+" "+o[2]+" "+o[3]);var i=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";s=s.replace(",","");var r=i+". "+s,c=w.data.home_team.starting_lineup[0].lineup[E].x,h=c*50/100,d=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.starting_lineup[0].lineup[E].player_id);this.playersHome.push({played:!0,name:w.data.home_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.home_team.players[d].position_id-1].name,position_id:w.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.home_team.players[d].nationality?w.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.home_team.starting_lineup[0].lineup[E].y-13,positionY:h*.9,positionXOrigin:w.data.home_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.home_team.starting_lineup[0].lineup[E].x-2,playerId:w.data.home_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png"}if(this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.home_team.bench){for(let E=0;E<w.data.home_team.bench.length;E++){this.subsTitle=!0;var l=w.data.home_team.bench[E].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),g="";m.length==2||m.length==1?m[0].length<4?g=m[0]+" "+m[1]:g=m[0]:m.length==3?g=m[0]+" "+m[1]:m.length==4&&(g=m[1]+" "+m[2]+" "+m[3]);var y=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";g=g.replace(",","");var u=y+". "+g,f=w.data.home_team.players.findIndex(O=>O.player_id==w.data.home_team.bench[E].playerID);this.playersHome.push({played:!1,name:w.data.home_team.bench[E].playerName,position:f!=-1?this.positions[w.data.home_team.players[f].position_id-1].name:"",position_id:w.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.bench[E].playerID+".png",nationality:f!=-1&&w.data.home_team.players[f].nationality?w.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.home_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.home_team.team_id})}this.playersHome.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}for(let E=0;E<w.data.away_team.starting_lineup[0].lineup.length;E++){this.away_team_id=w.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+"_g.svg","away",0);var b=w.data.away_team.starting_lineup[0].lineup[E].player_name.split(","),k=b[0].split(" "),B=b[1].trim().split(" "),_="";k.length==2||k.length==1?k[0].length<4?_=k[0]+" "+k[1]:_=k[0]:k.length==3?_=k[0]+" "+k[1]:k.length==4&&(_=k[1]+" "+k[2]+" "+k[3]);var C=B[n.length-1]!=""?B[B.length-1].charAt(0):B[B.length-2]?B[B.length-2].charAt(0):"";_=_.replace(",","");var N=C+". "+_,V=w.data.away_team.starting_lineup[0].lineup[E].x,$=100-(100-V)*50/100;$=$*.9;var x=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.starting_lineup[0].lineup[E].player_id);this.playersAway.push({played:!0,name:w.data.away_team.starting_lineup[0].lineup[E].player_name,position:this.positions[w.data.away_team.players[x].position_id-1].name,position_id:w.data.away_team.players[x].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[E].player_id+".png",nationality:w.data.away_team.players[x].nationality?w.data.away_team.players[x].nationality.substring(0,3):"",imgNationality:w.data.away_team.players[x].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:N,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.starting_lineup[0].lineup[E].jersey_number,positionX:w.data.away_team.starting_lineup[0].lineup[E].y-13,positionY:$,positionXOrigin:w.data.away_team.starting_lineup[0].lineup[E].y-17,positionYOrigin:w.data.away_team.starting_lineup[0].lineup[E].x-7,playerId:w.data.away_team.starting_lineup[0].lineup[E].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png"}if(this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0),w.data.away_team.bench){for(let E=0;E<w.data.away_team.bench.length;E++){this.subsTitle=!0;var F=w.data.away_team.bench[E].playerName.split(","),A=F[0].split(" "),I=F[1].trim().split(" "),P="";A.length==2||A.length==1?A[0].length<4?P=A[0]+" "+A[1]:P=A[0]:A.length==3?P=A[0]+" "+A[1]:A.length==4&&(P=A[1]+" "+A[2]+" "+A[3]);var Q=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";P=P.replace(",","");var K=Q+". "+P,R=w.data.away_team.players.findIndex(O=>O.player_id==w.data.away_team.bench[E].playerID);this.playersAway.push({played:!1,name:w.data.away_team.bench[E].playerName,position:R!=-1?this.positions[w.data.away_team.players[R].position_id-1].name:"",position_id:w.data.away_team.players[R].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.bench[E].playerID+".png",nationality:R!=-1&&w.data.away_team.players[R].nationality?w.data.away_team.players[R].nationality.substring(0,3):"",imgNationality:R!=-1?w.data.away_team.players[R].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:K,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.bench[E].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.away_team.bench[E].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.away_team.team_id})}this.playersAway.sort((E,O)=>E.position_id>O.position_id?1:O.position_id>E.position_id?-1:0)}this.getMXM(e)}catch(w){return Promise.reject(w)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var n=new XMLHttpRequest,s=0;a=="away"?o==1?this.uniformAway==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformAwayG==""&&(n.open("HEAD",e,!1),n.send(),s=1):o==1?this.uniformHome==""&&(n.open("HEAD",e,!1),n.send(),s=1):this.uniformHomeG==""&&(n.open("HEAD",e,!1),n.send(),s=1),s==1&&(n.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),n=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),n!=-1?(this.substitutionModal.out.name=this.playersHome[n].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[n].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[n].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[n].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[n].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var s=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);s!=-1?(this.substitutionModal.min=this.playersAway[s].substitutionMin,this.substitutionModal.in.name=this.playersAway[s].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[s].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[s].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[s].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[s].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},axe={class:"size-browser-class"},oxe={class:"lineup-players is-centered"},nxe={style:{width:"92%",margin:"0 auto","margin-top":"10px"}},sxe={class:"modal-substitutions__substitution-container"},ixe={class:"modal-substitutions__substitution-container__header"},rxe={style:{"margin-left":"32px"}},lxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn-close.png"},null,-1),cxe=[lxe],dxe={class:"modal-substitutions__substitution-container__players-container"},mxe={class:"substitution-player-data-container"},pxe={class:"substitution-player-data-container__img-player"},hxe=["src"],yxe={class:"substitution-player-data-container__img-player__team"},gxe=["src"],uxe={class:"substitution-player-data-container__name-player"},fxe={class:"substitution-player-data-container__position-player"},_xe={class:"substitution-player-data-container__shirt-player",style:{"padding-left":"30px"}},bxe={key:0,class:"substitution-player-data-container__shirt-player__circle"},wxe={key:1},Cxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"},null,-1),kxe=[Cxe],Sxe={class:"substitution-player-data-container__substitution-player"},Exe={class:"substitution-indicator nomargin"},Nxe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"})],-1),$xe={class:"substitution-player-data-container__center"},Bxe=t.createElementVNode("div",{class:"substitution-player-data-container__border"},null,-1),xxe={class:"substitution-player-data-container__minute"},Vxe={class:"substitution-player-data-container"},Ixe={class:"substitution-player-data-container__img-player"},Axe=["src"],Oxe={class:"substitution-player-data-container__img-player__team"},Txe=["src"],zxe={class:"substitution-player-data-container__name-player"},Fxe={class:"substitution-player-data-container__position-player"},Rxe={class:"substitution-player-data-container__shirt-player",style:{"padding-right":"20px"}},Pxe={key:0},Dxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"},null,-1),jxe=[Dxe],Lxe={key:1,class:"substitution-player-data-container__shirt-player__circle"},vxe={class:"substitution-player-data-container__substitution-player"},Mxe={class:"substitution-indicator nomargin"},Hxe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"})],-1),Uxe=["onClick"],Gxe=t.createElementVNode("img",{src:VC},null,-1),Wxe=[Gxe],qxe=["onClick"],Jxe=t.createElementVNode("img",{src:VC},null,-1),Xxe=[Jxe],Zxe={key:0,class:"cont-lineup-gsc-componente"},Yxe={class:"shield-team-cont homecolor"},Kxe=["src"],Qxe={class:"shield-team-cont awaycolor"},eVe=["src"],tVe={key:0,class:"header-lineup-shield-team home"},aVe={class:"shield-team-cont homecolor"},oVe=["src"],nVe={class:"header-lineup-shield-team-wrapper"},sVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},iVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),rVe={key:0,class:"header-lineup-shield-team away"},lVe={class:"shield-team-cont awaycolor"},cVe=["src"],dVe={class:"header-lineup-shield-team-wrapper"},mVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},pVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),hVe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/graf-busqueda@3x.png",width:"74"},null,-1),yVe=[hVe],gVe=t.createElementVNode("br",null,null,-1);function uVe(e,a,o,n,s,i){const r=t.resolveComponent("HeaderPlayerPostmatch"),c=t.resolveComponent("HeaderPlayerHistorico"),h=t.resolveComponent("HeaderPlayerRecientes"),d=t.resolveComponent("HeaderPlayerProbables"),l=t.resolveComponent("CardPlayer");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",axe,t.toDisplayString(i.sizeBrowser),1),t.createElementVNode("div",oxe,[t.createElementVNode("div",nxe,[o.selectedOption=="Postmatch"?(t.openBlock(),t.createBlock(r,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":s.matchdaysPerTeam,"game-historic":s.gamesHistoric},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[s.selectOptMenuheader=="Historicos"?(t.openBlock(),t.createBlock(c,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":s.matchdaysPerTeam,"game-historic":s.gamesHistoric,"game-recientes":Object.keys(s.gameInfoheader).length>0?s.gamesRecientes[s.gameInfoheader.home_team_abbreviation].length+s.gamesRecientes[s.gameInfoheader.away_team_abbreviation].length:0},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic","game-recientes"])):t.createCommentVNode("",!0),s.selectOptMenuheader=="Recientes"?(t.openBlock(),t.createBlock(h,{key:1,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"100px"},"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,"player-home":s.playersHome,"player-away":s.playersAway,"matchdays-default":s.matchdaysPerTeam,onInput:i.changeCarouselItemRecent,"game-recientes":s.gamesRecientes},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","player-home","player-away","matchdays-default","onInput","game-recientes"])):t.createCommentVNode("",!0),s.selectOptMenuheader=="Probables"?(t.openBlock(),t.createBlock(d,{key:2,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"80px"},"matchdays-default":s.matchdaysPerTeam,"option-selected":s.selectOptMenuheader,"width-size":s.gamesContainerWidth,"game-info":s.gameInfoheader,onChangehome:i.getLineupProbablesHome,onChangeaway:i.getLineupProbablesAway,"game-recientes":s.gamesRecientes},null,8,["onClickOnSelectOption","matchdays-default","option-selected","width-size","game-info","onChangehome","onChangeaway","game-recientes"])):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",{class:t.normalizeClass(["lineup-players__container",{fallback:s.gamesContainerWidth===0}]),ref:"gamesContainer"},[t.createElementVNode("div",{class:t.normalizeClass(i.fieldcontainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(["modal-substitutions",s.subsActive?"activeSub":"deactiveSub"])},[t.createElementVNode("div",sxe,[t.createElementVNode("div",ixe,[t.createElementVNode("span",rxe,[t.createTextVNode("Cambio "),t.createElementVNode("span",{class:"close-susbtitutions",onClick:a[0]||(a[0]=m=>i.closeChange())},cxe)])]),t.createElementVNode("div",dxe,[t.createElementVNode("div",mxe,[t.createElementVNode("div",pxe,[s.substitutionModal.in.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.in.playerImg,width:"72",alt:"Jugador"},null,8,hxe)):t.createCommentVNode("",!0),t.createElementVNode("div",yxe,[s.substitutionModal.in.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.in.teamImg,width:"28",alt:"team"},null,8,gxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+s.substitutionModal.in.nationalityimg+")"})},null,4)]),t.createElementVNode("div",uxe,t.toDisplayString(s.substitutionModal.in.name),1),t.createElementVNode("div",fxe,t.toDisplayString(s.substitutionModal.in.position),1),t.createElementVNode("div",_xe,[s.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",bxe,t.toDisplayString(s.substitutionModal.in.shirt_number),1)):t.createCommentVNode("",!0),s.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",wxe,kxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Sxe,[t.createElementVNode("template",null,[t.createElementVNode("div",Exe,[t.createElementVNode("div",null,t.toDisplayString(s.substitutionModal.min)+"'",1),Nxe])])])]),t.createElementVNode("div",$xe,[Bxe,t.createElementVNode("div",xxe,t.toDisplayString(s.substitutionModal.min)+"'",1)]),t.createElementVNode("div",Vxe,[t.createElementVNode("div",Ixe,[s.substitutionModal.out.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.out.playerImg,width:"72",alt:"Jugador"},null,8,Axe)):t.createCommentVNode("",!0),t.createElementVNode("div",Oxe,[s.substitutionModal.out.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.substitutionModal.out.teamImg,width:"28",alt:"team"},null,8,Txe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+s.substitutionModal.out.nationalityimg+")"})},null,4)]),t.createElementVNode("div",zxe,t.toDisplayString(s.substitutionModal.out.name),1),t.createElementVNode("div",Fxe,t.toDisplayString(s.substitutionModal.out.position),1),t.createElementVNode("div",Rxe,[s.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Pxe,jxe)):t.createCommentVNode("",!0),s.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Lxe,t.toDisplayString(s.substitutionModal.out.shirt_number),1)):t.createCommentVNode("",!0)]),t.createElementVNode("div",vxe,[t.createElementVNode("template",null,[t.createElementVNode("div",Mxe,[t.createElementVNode("div",null,t.toDisplayString(s.substitutionModal.min)+"'",1),Hxe])])])])])])],2),t.createElementVNode("div",{class:t.normalizeClass(i.canchacontainerClass)},[(s.gameForAnalysis.game_status==4||s.gameForAnalysis.game_status==1)&&s.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.notificationnolineupsClass])}," Las alineaciones estarán disponibles unos minutos antes de que inicie el partido. ",2)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_home"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,s.gamesContainerWidth<740?s.teamActive=="home"?"active":"disabled":"",s.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(s.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+2+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:s.uniformHome}:{backgroundImage:s.uniformHomeG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new",[s.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:g=>i.viewChange(m.substitutionDataID)},Wxe,10,Uxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_away"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,s.gamesContainerWidth<740?s.teamActive=="away"?"active":"disabled":"",s.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(s.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:s.uniformAway}:{backgroundImage:s.uniformAwayG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new-away",[s.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:g=>i.viewChange(m.substitutionDataID)},Xxe,10,qxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128))],2)],2),(s.gameForAnalysis.game_status==4||s.gameForAnalysis.game_status==1)&&s.gameForAnalysis.is_live==0&&i.numPlayer==0?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Zxe,[t.createElementVNode("div",{class:t.normalizeClass(i.containerlineupsClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.menuTeamsClass)},[t.createElementVNode("div",{class:"header-lineup-shield-team home",style:t.normalizeStyle([{cursor:"pointer"},s.teamActive=="home"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[1]||(a[1]=m=>i.viewLineupTeam("home"))},[t.createElementVNode("div",Yxe,[s.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,Kxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(s.homeTeam.acronym),1)],4),t.createElementVNode("div",{class:"header-lineup-shield-team away",style:t.normalizeStyle([{cursor:"pointer"},s.teamActive=="away"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[2]||(a[2]=m=>i.viewLineupTeam("away"))},[t.createElementVNode("div",null,t.toDisplayString(s.visitingTeam.acronym),1),t.createElementVNode("div",Qxe,[s.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,eVe)):t.createCommentVNode("",!0)])],4)],2),s.teamActive=="home"||s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.containerClassHome)},[s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",tVe,[t.createElementVNode("div",aVe,[s.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,oVe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(s.homeTeam.acronym),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",nVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",sVe,[iVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0),s.teamActive=="away"||s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containerClassAway)},[s.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",rVe,[t.createElementVNode("div",null,t.toDisplayString(s.visitingTeam.acronym),1),t.createElementVNode("div",lVe,[s.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:s.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,cVe)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("div",dVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",mVe,[pVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0)],2)])),(s.gameForAnalysis.game_status==4||s.gameForAnalysis.game_status==1)&&s.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containernolineups)},[t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__img-search",s.gamesContainerWidth<740?"movil":""])},yVe,2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__title-info",s.gamesContainerWidth<740?"movil":""])}," Alineaciones sin definir ",2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__subtitle-info",s.gamesContainerWidth<740?"movil":""])},[t.createTextVNode(" Los equipos no han presentado sus alineaciones. Estas "),gVe,t.createTextVNode("serán dadas minutos antes del inicio del partido. ")],2)],2)):t.createCommentVNode("",!0)],2)])])])}const fVe=wt(txe,[["render",uVe]]),_Ve={components:{GSCLineups2D:j6e,GSCLineups3D:fVe},props:{selectedOption:{type:String,default:"Historicos"},game:{type:Object,default:()=>{}},type:{type:String,default:"2D"}},watch:{},data(){return{}},computed:{},methods:{}};function bVe(e,a,o,n,s,i){const r=t.resolveComponent("GSCLineups2D"),c=t.resolveComponent("GSCLineups3D");return t.openBlock(),t.createElementBlock("div",null,[o.type=="2D"?(t.openBlock(),t.createBlock(r,{key:0,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0),o.type=="3D"?(t.openBlock(),t.createBlock(c,{key:1,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0)])}const wVe=wt(_Ve,[["render",bVe]]);function AC(e,a){return function(){return e.apply(a,arguments)}}const{toString:CVe}=Object.prototype,{getPrototypeOf:ng}=Object,hc=(e=>a=>{const o=CVe.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ca=e=>(e=e.toLowerCase(),a=>hc(a)===e),yc=e=>a=>typeof a===e,{isArray:gn}=Array,Ys=yc("undefined");function kVe(e){return e!==null&&!Ys(e)&&e.constructor!==null&&!Ys(e.constructor)&&jt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const OC=Ca("ArrayBuffer");function SVe(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&OC(e.buffer),a}const EVe=yc("string"),jt=yc("function"),TC=yc("number"),gc=e=>e!==null&&typeof e=="object",NVe=e=>e===!0||e===!1,uc=e=>{if(hc(e)!=="object")return!1;const a=ng(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$Ve=Ca("Date"),BVe=Ca("File"),xVe=Ca("Blob"),VVe=Ca("FileList"),IVe=e=>gc(e)&&jt(e.pipe),AVe=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||jt(e.append)&&((a=hc(e))==="formdata"||a==="object"&&jt(e.toString)&&e.toString()==="[object FormData]"))},OVe=Ca("URLSearchParams"),TVe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ks(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),gn(e))for(n=0,s=e.length;n<s;n++)a.call(null,e[n],n,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(n=0;n<r;n++)c=i[n],a.call(null,e[c],c,e)}}function zC(e,a){a=a.toLowerCase();const o=Object.keys(e);let n=o.length,s;for(;n-- >0;)if(s=o[n],a===s.toLowerCase())return s;return null}const FC=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),RC=e=>!Ys(e)&&e!==FC;function sg(){const{caseless:e}=RC(this)&&this||{},a={},o=(n,s)=>{const i=e&&zC(a,s)||s;uc(a[i])&&uc(n)?a[i]=sg(a[i],n):uc(n)?a[i]=sg({},n):gn(n)?a[i]=n.slice():a[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Ks(arguments[n],o);return a}const zVe=(e,a,o,{allOwnKeys:n}={})=>(Ks(a,(s,i)=>{o&&jt(s)?e[i]=AC(s,o):e[i]=s},{allOwnKeys:n}),e),FVe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),RVe=(e,a,o,n)=>{e.prototype=Object.create(a.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},PVe=(e,a,o,n)=>{let s,i,r;const c={};if(a=a||{},e==null)return a;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!n||n(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&ng(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},DVe=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const n=e.indexOf(a,o);return n!==-1&&n===o},jVe=e=>{if(!e)return null;if(gn(e))return e;let a=e.length;if(!TC(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},LVe=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&ng(Uint8Array)),vVe=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=o.next())&&!n.done;){const s=n.value;a.call(e,s[0],s[1])}},MVe=(e,a)=>{let o;const n=[];for(;(o=e.exec(a))!==null;)n.push(o);return n},HVe=Ca("HTMLFormElement"),UVe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,n){return o.toUpperCase()+n}),PC=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),GVe=Ca("RegExp"),DC=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),n={};Ks(o,(s,i)=>{let r;(r=a(s,i,e))!==!1&&(n[i]=r||s)}),Object.defineProperties(e,n)},WVe=e=>{DC(e,(a,o)=>{if(jt(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const n=e[o];if(jt(n)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},qVe=(e,a)=>{const o={},n=s=>{s.forEach(i=>{o[i]=!0})};return gn(e)?n(e):n(String(e).split(a)),o},JVe=()=>{},XVe=(e,a)=>(e=+e,Number.isFinite(e)?e:a),ig="abcdefghijklmnopqrstuvwxyz",jC="0123456789",LC={DIGIT:jC,ALPHA:ig,ALPHA_DIGIT:ig+ig.toUpperCase()+jC},ZVe=(e=16,a=LC.ALPHA_DIGIT)=>{let o="";const{length:n}=a;for(;e--;)o+=a[Math.random()*n|0];return o};function YVe(e){return!!(e&&jt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const KVe=e=>{const a=new Array(10),o=(n,s)=>{if(gc(n)){if(a.indexOf(n)>=0)return;if(!("toJSON"in n)){a[s]=n;const i=gn(n)?[]:{};return Ks(n,(r,c)=>{const h=o(r,s+1);!Ys(h)&&(i[c]=h)}),a[s]=void 0,i}}return n};return o(e,0)},QVe=Ca("AsyncFunction"),eIe=e=>e&&(gc(e)||jt(e))&&jt(e.then)&&jt(e.catch),X={isArray:gn,isArrayBuffer:OC,isBuffer:kVe,isFormData:AVe,isArrayBufferView:SVe,isString:EVe,isNumber:TC,isBoolean:NVe,isObject:gc,isPlainObject:uc,isUndefined:Ys,isDate:$Ve,isFile:BVe,isBlob:xVe,isRegExp:GVe,isFunction:jt,isStream:IVe,isURLSearchParams:OVe,isTypedArray:LVe,isFileList:VVe,forEach:Ks,merge:sg,extend:zVe,trim:TVe,stripBOM:FVe,inherits:RVe,toFlatObject:PVe,kindOf:hc,kindOfTest:Ca,endsWith:DVe,toArray:jVe,forEachEntry:vVe,matchAll:MVe,isHTMLForm:HVe,hasOwnProperty:PC,hasOwnProp:PC,reduceDescriptors:DC,freezeMethods:WVe,toObjectSet:qVe,toCamelCase:UVe,noop:JVe,toFiniteNumber:XVe,findKey:zC,global:FC,isContextDefined:RC,ALPHABET:LC,generateString:ZVe,isSpecCompliantForm:YVe,toJSONObject:KVe,isAsyncFn:QVe,isThenable:eIe};function Ce(e,a,o,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),n&&(this.request=n),s&&(this.response=s)}X.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const vC=Ce.prototype,MC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{MC[e]={value:e}}),Object.defineProperties(Ce,MC),Object.defineProperty(vC,"isAxiosError",{value:!0}),Ce.from=(e,a,o,n,s,i)=>{const r=Object.create(vC);return X.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),Ce.call(r,e.message,a,o,n,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const tIe=null;function rg(e){return X.isPlainObject(e)||X.isArray(e)}function HC(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function UC(e,a,o){return e?e.concat(a).map(function(n,s){return n=HC(n),!o&&s?"["+n+"]":n}).join(o?".":""):a}function aIe(e){return X.isArray(e)&&!e.some(rg)}const oIe=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});function fc(e,a,o){if(!X.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=X.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!X.isUndefined(y[g])});const n=o.metaTokens,s=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(a);if(!X.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(X.isDate(g))return g.toISOString();if(!c&&X.isBlob(g))throw new Ce("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(g)||X.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,u){let f=g;if(g&&!u&&typeof g=="object"){if(X.endsWith(y,"{}"))y=n?y:y.slice(0,-2),g=JSON.stringify(g);else if(X.isArray(g)&&aIe(g)||(X.isFileList(g)||X.endsWith(y,"[]"))&&(f=X.toArray(g)))return y=HC(y),f.forEach(function(b,k){!(X.isUndefined(b)||b===null)&&a.append(r===!0?UC([y],k,i):r===null?y:y+"[]",h(b))}),!1}return rg(g)?!0:(a.append(UC(u,y,i),h(g)),!1)}const l=[],m=Object.assign(oIe,{defaultVisitor:d,convertValue:h,isVisitable:rg});function p(g,y){if(!X.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),X.forEach(g,function(u,f){(!(X.isUndefined(u)||u===null)&&s.call(a,u,X.isString(f)?f.trim():f,y,m))===!0&&p(u,y?y.concat(f):[f])}),l.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),a}function GC(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function lg(e,a){this._pairs=[],e&&fc(e,this,a)}const WC=lg.prototype;WC.append=function(e,a){this._pairs.push([e,a])},WC.toString=function(e){const a=e?function(o){return e.call(this,o,GC)}:GC;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function nIe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qC(e,a,o){if(!a)return e;const n=o&&o.encode||nIe,s=o&&o.serialize;let i;if(s?i=s(a,o):i=X.isURLSearchParams(a)?a.toString():new lg(a,o).toString(n),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class sIe{constructor(){this.handlers=[]}use(a,o,n){return this.handlers.push({fulfilled:a,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){X.forEach(this.handlers,function(o){o!==null&&a(o)})}}const JC=sIe,XC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iIe=typeof URLSearchParams<"u"?URLSearchParams:lg,rIe=typeof FormData<"u"?FormData:null,lIe=typeof Blob<"u"?Blob:null,cIe=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),dIe=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ka={isBrowser:!0,classes:{URLSearchParams:iIe,FormData:rIe,Blob:lIe},isStandardBrowserEnv:cIe,isStandardBrowserWebWorkerEnv:dIe,protocols:["http","https","file","blob","url","data"]};function mIe(e,a){return fc(e,new ka.classes.URLSearchParams,Object.assign({visitor:function(o,n,s,i){return ka.isNode&&X.isBuffer(o)?(this.append(n,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function pIe(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function hIe(e){const a={},o=Object.keys(e);let n;const s=o.length;let i;for(n=0;n<s;n++)i=o[n],a[i]=e[i];return a}function ZC(e){function a(o,n,s,i){let r=o[i++];const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&X.isArray(s)?s.length:r,h?(X.hasOwnProp(s,r)?s[r]=[s[r],n]:s[r]=n,!c):((!s[r]||!X.isObject(s[r]))&&(s[r]=[]),a(o,n,s[r],i)&&X.isArray(s[r])&&(s[r]=hIe(s[r])),!c)}if(X.isFormData(e)&&X.isFunction(e.entries)){const o={};return X.forEachEntry(e,(n,s)=>{a(pIe(n),s,o,0)}),o}return null}function yIe(e,a,o){if(X.isString(e))try{return(a||JSON.parse)(e),X.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(e)}const cg={transitional:XC,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",n=o.indexOf("application/json")>-1,s=X.isObject(e);if(s&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return n&&n?JSON.stringify(ZC(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return mIe(e,this.formSerializer).toString();if((i=X.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return fc(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return s||n?(a.setContentType("application/json",!1),yIe(e)):e}],transformResponse:[function(e){const a=this.transitional||cg.transitional,o=a&&a.forcedJSONParsing,n=this.responseType==="json";if(e&&X.isString(e)&&(o&&!this.responseType||n)){const s=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(s)throw i.name==="SyntaxError"?Ce.from(i,Ce.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ka.classes.FormData,Blob:ka.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{cg.headers[e]={}});const dg=cg,gIe=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),uIe=e=>{const a={};let o,n,s;return e&&e.split(`
86
86
  `).forEach(function(i){s=i.indexOf(":"),o=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!o||a[o]&&gIe[o])&&(o==="set-cookie"?a[o]?a[o].push(n):a[o]=[n]:a[o]=a[o]?a[o]+", "+n:n)}),a},YC=Symbol("internals");function Qs(e){return e&&String(e).trim().toLowerCase()}function _c(e){return e===!1||e==null?e:X.isArray(e)?e.map(_c):String(e)}function fIe(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=o.exec(e);)a[n[1]]=n[2];return a}const _Ie=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function mg(e,a,o,n,s){if(X.isFunction(n))return n.call(this,a,o);if(s&&(a=o),!!X.isString(a)){if(X.isString(n))return a.indexOf(n)!==-1;if(X.isRegExp(n))return n.test(a)}}function bIe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,n)=>o.toUpperCase()+n)}function wIe(e,a){const o=X.toCamelCase(" "+a);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+o,{value:function(s,i,r){return this[n].call(this,a,s,i,r)},configurable:!0})})}let bc=class{constructor(a){a&&this.set(a)}set(a,o,n){const s=this;function i(c,h,d){const l=Qs(h);if(!l)throw new Error("header name must be a non-empty string");const m=X.findKey(s,l);(!m||s[m]===void 0||d===!0||d===void 0&&s[m]!==!1)&&(s[m||h]=_c(c))}const r=(c,h)=>X.forEach(c,(d,l)=>i(d,l,h));return X.isPlainObject(a)||a instanceof this.constructor?r(a,o):X.isString(a)&&(a=a.trim())&&!_Ie(a)?r(uIe(a),o):a!=null&&i(o,a,n),this}get(a,o){if(a=Qs(a),a){const n=X.findKey(this,a);if(n){const s=this[n];if(!o)return s;if(o===!0)return fIe(s);if(X.isFunction(o))return o.call(this,s,n);if(X.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=Qs(a),a){const n=X.findKey(this,a);return!!(n&&this[n]!==void 0&&(!o||mg(this,this[n],n,o)))}return!1}delete(a,o){const n=this;let s=!1;function i(r){if(r=Qs(r),r){const c=X.findKey(n,r);c&&(!o||mg(n,n[c],c,o))&&(delete n[c],s=!0)}}return X.isArray(a)?a.forEach(i):i(a),s}clear(a){const o=Object.keys(this);let n=o.length,s=!1;for(;n--;){const i=o[n];(!a||mg(this,this[i],i,a,!0))&&(delete this[i],s=!0)}return s}normalize(a){const o=this,n={};return X.forEach(this,(s,i)=>{const r=X.findKey(n,i);if(r){o[r]=_c(s),delete o[i];return}const c=a?bIe(i):String(i).trim();c!==i&&delete o[i],o[c]=_c(s),n[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return X.forEach(this,(n,s)=>{n!=null&&n!==!1&&(o[s]=a&&X.isArray(n)?n.join(", "):n)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
87
87
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const n=new this(a);return o.forEach(s=>n.set(s)),n}static accessor(a){const o=(this[YC]=this[YC]={accessors:{}}).accessors,n=this.prototype;function s(i){const r=Qs(i);o[r]||(wIe(n,i),o[r]=!0)}return X.isArray(a)?a.forEach(s):s(a),this}};bc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(bc.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(n){this[o]=n}}}),X.freezeMethods(bc);const La=bc;function pg(e,a){const o=this||dg,n=a||o,s=La.from(n.headers);let i=n.data;return X.forEach(e,function(r){i=r.call(o,i,s.normalize(),a?a.status:void 0)}),s.normalize(),i}function KC(e){return!!(e&&e.__CANCEL__)}function ei(e,a,o){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,a,o),this.name="CanceledError"}X.inherits(ei,Ce,{__CANCEL__:!0});function CIe(e,a,o){const n=o.config.validateStatus;!o.status||!n||n(o.status)?e(o):a(new Ce("Request failed with status code "+o.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const kIe=ka.isStandardBrowserEnv?function(){return{write:function(e,a,o,n,s,i){const r=[];r.push(e+"="+encodeURIComponent(a)),X.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),X.isString(n)&&r.push("path="+n),X.isString(s)&&r.push("domain="+s),i===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function SIe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function EIe(e,a){return a?e.replace(/\/+$/,"")+"/"+a.replace(/^\/+/,""):e}function QC(e,a){return e&&!SIe(a)?EIe(e,a):a}const NIe=ka.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function n(s){let i=s;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=n(window.location.href),function(s){const i=X.isString(s)?n(s):s;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function $Ie(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function BIe(e,a){e=e||10;const o=new Array(e),n=new Array(e);let s=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=n[i];r||(r=h),o[s]=c,n[s]=h;let l=i,m=0;for(;l!==s;)m+=o[l++],l=l%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function e8(e,a){let o=0;const n=BIe(50,250);return s=>{const i=s.loaded,r=s.lengthComputable?s.total:void 0,c=i-o,h=n(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:s};l[a?"download":"upload"]=!0,e(l)}}const xIe=typeof XMLHttpRequest<"u",VIe=xIe&&function(e){return new Promise(function(a,o){let n=e.data;const s=La.from(e.headers).normalize(),i=e.responseType;let r;function c(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}let h;X.isFormData(n)&&(ka.isStandardBrowserEnv||ka.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.getContentType(/^\s*multipart\/form-data/)?X.isString(h=s.getContentType())&&s.setContentType(h.replace(/^\s*(multipart\/form-data);+/,"$1")):s.setContentType("multipart/form-data"));let d=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(g+":"+y))}const l=QC(e.baseURL,e.url);d.open(e.method.toUpperCase(),qC(l,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function m(){if(!d)return;const g=La.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),y={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:e,request:d};CIe(function(u){a(u),c()},function(u){o(u),c()},y),d=null}if("onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(o(new Ce("Request aborted",Ce.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new Ce("Network Error",Ce.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const y=e.transitional||XC;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),o(new Ce(g,y.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,d)),d=null},ka.isStandardBrowserEnv){const g=(e.withCredentials||NIe(l))&&e.xsrfCookieName&&kIe.read(e.xsrfCookieName);g&&s.set(e.xsrfHeaderName,g)}n===void 0&&s.setContentType(null),"setRequestHeader"in d&&X.forEach(s.toJSON(),function(g,y){d.setRequestHeader(y,g)}),X.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),i&&i!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",e8(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",e8(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=g=>{d&&(o(!g||g.type?new ei(null,e,d):g),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));const p=$Ie(l);if(p&&ka.protocols.indexOf(p)===-1){o(new Ce("Unsupported protocol "+p+":",Ce.ERR_BAD_REQUEST,e));return}d.send(n||null)})},hg={http:tIe,xhr:VIe};X.forEach(hg,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const t8=e=>`- ${e}`,IIe=e=>X.isFunction(e)||e===null||e===!1,a8={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:a}=e;let o,n;const s={};for(let i=0;i<a;i++){o=e[i];let r;if(n=o,!IIe(o)&&(n=hg[(r=String(o)).toLowerCase()],n===void 0))throw new Ce(`Unknown adapter '${r}'`);if(n)break;s[r||"#"+i]=n}if(!n){const i=Object.entries(s).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
88
88
  `+i.map(t8).join(`