@golstats/gsc-top-player 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FilterConditions-55d68355-Dpbg-_AB.js → FilterConditions-55d68355-C5NIJbY6.js} +1 -1
- package/dist/{FilterField-59a73e38-j9kmr0oF.js → FilterField-59a73e38-DO8nYLqs.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-DwhgmIwf.js → FilterSubcategories-a9b32cc9-DlkHni1L.js} +1 -1
- package/dist/gsc-top-player.css +1 -1
- package/dist/gsc-top-player.es.js +1 -1
- package/dist/gsc-top-player.umd.js +11 -15
- package/dist/images/events/logo-fusionado.svg +38 -0
- package/dist/{index-oO1T2oQg.js → index-DfxUh38Q.js} +4115 -5038
- package/dist/logo-team@2x.png +0 -0
- package/dist/player-shadow-02@2x.png +0 -0
- package/dist/player-shadow@2x.png +0 -0
- package/dist/styles.css +906 -921
- package/package.json +1 -1
- package/src/App.vue +7 -12
- package/src/components/comparative/dummy-top-players.js +122 -0
- package/src/components/comparative/gsc-button.vue +8 -19
- package/src/components/comparative/gsc-header-tops.vue +1 -4
- package/src/components/comparative/gsc-row.vue +1624 -1810
- package/src/components/comparative/gsc-top.vue +162 -166
- package/src/components/comparative/gsc-tops-full.vue +11 -1
- package/src/components/gsc-top-player.vue +16 -2
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
(function(Q,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(Q=typeof globalThis<"u"?globalThis:Q||self,t(Q.GscTopPlayer={},Q.Vue))})(this,function(Q,t){"use strict";function ia(e,i){return function(){return e.apply(i,arguments)}}const{toString:cs}=Object.prototype,{getPrototypeOf:ot}=Object,{iterator:Ee,toStringTag:sa}=Symbol,Ne=(e=>i=>{const a=cs.call(i);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),U=e=>(e=e.toLowerCase(),i=>Ne(i)===e),Ve=e=>i=>typeof i===e,{isArray:ce}=Array,he=Ve("undefined");function ds(e){return e!==null&&!he(e)&&e.constructor!==null&&!he(e.constructor)&&G(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const na=U("ArrayBuffer");function ms(e){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(e):i=e&&e.buffer&&na(e.buffer),i}const ps=Ve("string"),G=Ve("function"),oa=Ve("number"),Pe=e=>e!==null&&typeof e=="object",fs=e=>e===!0||e===!1,Be=e=>{if(Ne(e)!=="object")return!1;const i=ot(e);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(sa in e)&&!(Ee in e)},us=U("Date"),hs=U("File"),ys=U("Blob"),gs=U("FileList"),_s=e=>Pe(e)&&G(e.pipe),bs=e=>{let i;return e&&(typeof FormData=="function"&&e instanceof FormData||G(e.append)&&((i=Ne(e))==="formdata"||i==="object"&&G(e.toString)&&e.toString()==="[object FormData]"))},Ts=U("URLSearchParams"),[Ss,ws,Cs,ks]=["ReadableStream","Request","Response","Headers"].map(U),Es=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ye(e,i,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let s,o;if(typeof e!="object"&&(e=[e]),ce(e))for(s=0,o=e.length;s<o;s++)i.call(null,e[s],s,e);else{const n=a?Object.getOwnPropertyNames(e):Object.keys(e),r=n.length;let l;for(s=0;s<r;s++)l=n[s],i.call(null,e[l],l,e)}}function ra(e,i){i=i.toLowerCase();const a=Object.keys(e);let s=a.length,o;for(;s-- >0;)if(o=a[s],i===o.toLowerCase())return o;return null}const ee=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,la=e=>!he(e)&&e!==ee;function rt(){const{caseless:e}=la(this)&&this||{},i={},a=(s,o)=>{const n=e&&ra(i,o)||o;Be(i[n])&&Be(s)?i[n]=rt(i[n],s):Be(s)?i[n]=rt({},s):ce(s)?i[n]=s.slice():i[n]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&ye(arguments[s],a);return i}const Ns=(e,i,a,{allOwnKeys:s}={})=>(ye(i,(o,n)=>{a&&G(o)?e[n]=ia(o,a):e[n]=o},{allOwnKeys:s}),e),Vs=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ps=(e,i,a,s)=>{e.prototype=Object.create(i.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:i.prototype}),a&&Object.assign(e.prototype,a)},Bs=(e,i,a,s)=>{let o,n,r;const l={};if(i=i||{},e==null)return i;do{for(o=Object.getOwnPropertyNames(e),n=o.length;n-- >0;)r=o[n],(!s||s(r,e,i))&&!l[r]&&(i[r]=e[r],l[r]=!0);e=a!==!1&&ot(e)}while(e&&(!a||a(e,i))&&e!==Object.prototype);return i},xs=(e,i,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=i.length;const s=e.indexOf(i,a);return s!==-1&&s===a},Fs=e=>{if(!e)return null;if(ce(e))return e;let i=e.length;if(!oa(i))return null;const a=new Array(i);for(;i-- >0;)a[i]=e[i];return a},zs=(e=>i=>e&&i instanceof e)(typeof Uint8Array<"u"&&ot(Uint8Array)),As=(e,i)=>{const s=(e&&e[Ee]).call(e);let o;for(;(o=s.next())&&!o.done;){const n=o.value;i.call(e,n[0],n[1])}},Is=(e,i)=>{let a;const s=[];for(;(a=e.exec(i))!==null;)s.push(a);return s},Rs=U("HTMLFormElement"),Os=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,o){return s.toUpperCase()+o}),ca=(({hasOwnProperty:e})=>(i,a)=>e.call(i,a))(Object.prototype),Ls=U("RegExp"),da=(e,i)=>{const a=Object.getOwnPropertyDescriptors(e),s={};ye(a,(o,n)=>{let r;(r=i(o,n,e))!==!1&&(s[n]=r||o)}),Object.defineProperties(e,s)},Gs=e=>{da(e,(i,a)=>{if(G(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const s=e[a];if(G(s)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},Ws=(e,i)=>{const a={},s=o=>{o.forEach(n=>{a[n]=!0})};return ce(e)?s(e):s(String(e).split(i)),a},Ds=()=>{},Ms=(e,i)=>e!=null&&Number.isFinite(e=+e)?e:i;function vs(e){return!!(e&&G(e.append)&&e[sa]==="FormData"&&e[Ee])}const js=e=>{const i=new Array(10),a=(s,o)=>{if(Pe(s)){if(i.indexOf(s)>=0)return;if(!("toJSON"in s)){i[o]=s;const n=ce(s)?[]:{};return ye(s,(r,l)=>{const p=a(r,o+1);!he(p)&&(n[l]=p)}),i[o]=void 0,n}}return s};return a(e,0)},Us=U("AsyncFunction"),$s=e=>e&&(Pe(e)||G(e))&&G(e.then)&&G(e.catch),ma=((e,i)=>e?setImmediate:i?((a,s)=>(ee.addEventListener("message",({source:o,data:n})=>{o===ee&&n===a&&s.length&&s.shift()()},!1),o=>{s.push(o),ee.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",G(ee.postMessage)),Js=typeof queueMicrotask<"u"?queueMicrotask.bind(ee):typeof process<"u"&&process.nextTick||ma,g={isArray:ce,isArrayBuffer:na,isBuffer:ds,isFormData:bs,isArrayBufferView:ms,isString:ps,isNumber:oa,isBoolean:fs,isObject:Pe,isPlainObject:Be,isReadableStream:Ss,isRequest:ws,isResponse:Cs,isHeaders:ks,isUndefined:he,isDate:us,isFile:hs,isBlob:ys,isRegExp:Ls,isFunction:G,isStream:_s,isURLSearchParams:Ts,isTypedArray:zs,isFileList:gs,forEach:ye,merge:rt,extend:Ns,trim:Es,stripBOM:Vs,inherits:Ps,toFlatObject:Bs,kindOf:Ne,kindOfTest:U,endsWith:xs,toArray:Fs,forEachEntry:As,matchAll:Is,isHTMLForm:Rs,hasOwnProperty:ca,hasOwnProp:ca,reduceDescriptors:da,freezeMethods:Gs,toObjectSet:Ws,toCamelCase:Os,noop:Ds,toFiniteNumber:Ms,findKey:ra,global:ee,isContextDefined:la,isSpecCompliantForm:vs,toJSONObject:js,isAsyncFn:Us,isThenable:$s,setImmediate:ma,asap:Js,isIterable:e=>e!=null&&G(e[Ee])};function C(e,i,a,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",i&&(this.code=i),a&&(this.config=a),s&&(this.request=s),o&&(this.response=o,this.status=o.status?o.status:null)}g.inherits(C,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:g.toJSONObject(this.config),code:this.code,status:this.status}}});const pa=C.prototype,fa={};["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=>{fa[e]={value:e}}),Object.defineProperties(C,fa),Object.defineProperty(pa,"isAxiosError",{value:!0}),C.from=(e,i,a,s,o,n)=>{const r=Object.create(pa);return g.toFlatObject(e,r,function(p){return p!==Error.prototype},l=>l!=="isAxiosError"),C.call(r,e.message,i,a,s,o),r.cause=e,r.name=e.name,n&&Object.assign(r,n),r};const Hs=null;function lt(e){return g.isPlainObject(e)||g.isArray(e)}function ua(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function ha(e,i,a){return e?e.concat(i).map(function(o,n){return o=ua(o),!a&&n?"["+o+"]":o}).join(a?".":""):i}function qs(e){return g.isArray(e)&&!e.some(lt)}const Ks=g.toFlatObject(g,{},null,function(i){return/^is[A-Z]/.test(i)});function xe(e,i,a){if(!g.isObject(e))throw new TypeError("target must be an object");i=i||new FormData,a=g.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,b){return!g.isUndefined(b[h])});const s=a.metaTokens,o=a.visitor||d,n=a.dots,r=a.indexes,p=(a.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(i);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(g.isDate(y))return y.toISOString();if(g.isBoolean(y))return y.toString();if(!p&&g.isBlob(y))throw new C("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(y)||g.isTypedArray(y)?p&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,h,b){let S=y;if(y&&!b&&typeof y=="object"){if(g.endsWith(h,"{}"))h=s?h:h.slice(0,-2),y=JSON.stringify(y);else if(g.isArray(y)&&qs(y)||(g.isFileList(y)||g.endsWith(h,"[]"))&&(S=g.toArray(y)))return h=ua(h),S.forEach(function(E,P){!(g.isUndefined(E)||E===null)&&i.append(r===!0?ha([h],P,n):r===null?h:h+"[]",c(E))}),!1}return lt(y)?!0:(i.append(ha(b,h,n),c(y)),!1)}const m=[],f=Object.assign(Ks,{defaultVisitor:d,convertValue:c,isVisitable:lt});function u(y,h){if(!g.isUndefined(y)){if(m.indexOf(y)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(y),g.forEach(y,function(S,T){(!(g.isUndefined(S)||S===null)&&o.call(i,S,g.isString(T)?T.trim():T,h,f))===!0&&u(S,h?h.concat(T):[T])}),m.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return u(e),i}function ya(e){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return i[s]})}function ct(e,i){this._pairs=[],e&&xe(e,this,i)}const ga=ct.prototype;ga.append=function(i,a){this._pairs.push([i,a])},ga.toString=function(i){const a=i?function(s){return i.call(this,s,ya)}:ya;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function Zs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _a(e,i,a){if(!i)return e;const s=a&&a.encode||Zs;g.isFunction(a)&&(a={serialize:a});const o=a&&a.serialize;let n;if(o?n=o(i,a):n=g.isURLSearchParams(i)?i.toString():new ct(i,a).toString(s),n){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class ba{constructor(){this.handlers=[]}use(i,a,s){return this.handlers.push({fulfilled:i,rejected:a,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){g.forEach(this.handlers,function(s){s!==null&&i(s)})}}const Ta={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ys={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ct,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},dt=typeof window<"u"&&typeof document<"u",mt=typeof navigator=="object"&&navigator||void 0,Xs=dt&&(!mt||["ReactNative","NativeScript","NS"].indexOf(mt.product)<0),Qs=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",en=dt&&window.location.href||"http://localhost",O={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dt,hasStandardBrowserEnv:Xs,hasStandardBrowserWebWorkerEnv:Qs,navigator:mt,origin:en},Symbol.toStringTag,{value:"Module"})),...Ys};function tn(e,i){return xe(e,new O.classes.URLSearchParams,Object.assign({visitor:function(a,s,o,n){return O.isNode&&g.isBuffer(a)?(this.append(s,a.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},i))}function an(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(i=>i[0]==="[]"?"":i[1]||i[0])}function sn(e){const i={},a=Object.keys(e);let s;const o=a.length;let n;for(s=0;s<o;s++)n=a[s],i[n]=e[n];return i}function Sa(e){function i(a,s,o,n){let r=a[n++];if(r==="__proto__")return!0;const l=Number.isFinite(+r),p=n>=a.length;return r=!r&&g.isArray(o)?o.length:r,p?(g.hasOwnProp(o,r)?o[r]=[o[r],s]:o[r]=s,!l):((!o[r]||!g.isObject(o[r]))&&(o[r]=[]),i(a,s,o[r],n)&&g.isArray(o[r])&&(o[r]=sn(o[r])),!l)}if(g.isFormData(e)&&g.isFunction(e.entries)){const a={};return g.forEachEntry(e,(s,o)=>{i(an(s),o,a,0)}),a}return null}function nn(e,i,a){if(g.isString(e))try{return(i||JSON.parse)(e),g.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(a||JSON.stringify)(e)}const ge={transitional:Ta,adapter:["xhr","http","fetch"],transformRequest:[function(i,a){const s=a.getContentType()||"",o=s.indexOf("application/json")>-1,n=g.isObject(i);if(n&&g.isHTMLForm(i)&&(i=new FormData(i)),g.isFormData(i))return o?JSON.stringify(Sa(i)):i;if(g.isArrayBuffer(i)||g.isBuffer(i)||g.isStream(i)||g.isFile(i)||g.isBlob(i)||g.isReadableStream(i))return i;if(g.isArrayBufferView(i))return i.buffer;if(g.isURLSearchParams(i))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let l;if(n){if(s.indexOf("application/x-www-form-urlencoded")>-1)return tn(i,this.formSerializer).toString();if((l=g.isFileList(i))||s.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return xe(l?{"files[]":i}:i,p&&new p,this.formSerializer)}}return n||o?(a.setContentType("application/json",!1),nn(i)):i}],transformResponse:[function(i){const a=this.transitional||ge.transitional,s=a&&a.forcedJSONParsing,o=this.responseType==="json";if(g.isResponse(i)||g.isReadableStream(i))return i;if(i&&g.isString(i)&&(s&&!this.responseType||o)){const r=!(a&&a.silentJSONParsing)&&o;try{return JSON.parse(i)}catch(l){if(r)throw l.name==="SyntaxError"?C.from(l,C.ERR_BAD_RESPONSE,this,null,this.response):l}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],e=>{ge.headers[e]={}});const on=g.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"]),rn=e=>{const i={};let a,s,o;return e&&e.split(`
|
|
2
|
-
`).forEach(function(r){o=r.indexOf(":"),
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...a){const s=new this(i);return a.forEach(o=>s.set(o)),s}static accessor(i){const s=(this[wa]=this[wa]={accessors:{}}).accessors,o=this.prototype;function n(r){const l=_e(r);s[l]||(mn(o,r),s[l]=!0)}return g.isArray(i)?i.forEach(n):n(i),this}};W.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),g.reduceDescriptors(W.prototype,({value:e},i)=>{let a=i[0].toUpperCase()+i.slice(1);return{get:()=>e,set(s){this[a]=s}}}),g.freezeMethods(W);function ft(e,i){const a=this||ge,s=i||a,o=W.from(s.headers);let n=s.data;return g.forEach(e,function(l){n=l.call(a,n,o.normalize(),i?i.status:void 0)}),o.normalize(),n}function Ca(e){return!!(e&&e.__CANCEL__)}function de(e,i,a){C.call(this,e??"canceled",C.ERR_CANCELED,i,a),this.name="CanceledError"}g.inherits(de,C,{__CANCEL__:!0});function ka(e,i,a){const s=a.config.validateStatus;!a.status||!s||s(a.status)?e(a):i(new C("Request failed with status code "+a.status,[C.ERR_BAD_REQUEST,C.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function pn(e){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return i&&i[1]||""}function fn(e,i){e=e||10;const a=new Array(e),s=new Array(e);let o=0,n=0,r;return i=i!==void 0?i:1e3,function(p){const c=Date.now(),d=s[n];r||(r=c),a[o]=p,s[o]=c;let m=n,f=0;for(;m!==o;)f+=a[m++],m=m%e;if(o=(o+1)%e,o===n&&(n=(n+1)%e),c-r<i)return;const u=d&&c-d;return u?Math.round(f*1e3/u):void 0}}function un(e,i){let a=0,s=1e3/i,o,n;const r=(c,d=Date.now())=>{a=d,o=null,n&&(clearTimeout(n),n=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),m=d-a;m>=s?r(c,d):(o=c,n||(n=setTimeout(()=>{n=null,r(o)},s-m)))},()=>o&&r(o)]}const ze=(e,i,a=3)=>{let s=0;const o=fn(50,250);return un(n=>{const r=n.loaded,l=n.lengthComputable?n.total:void 0,p=r-s,c=o(p),d=r<=l;s=r;const m={loaded:r,total:l,progress:l?r/l:void 0,bytes:p,rate:c||void 0,estimated:c&&l&&d?(l-r)/c:void 0,event:n,lengthComputable:l!=null,[i?"download":"upload"]:!0};e(m)},a)},Ea=(e,i)=>{const a=e!=null;return[s=>i[0]({lengthComputable:a,total:e,loaded:s}),i[1]]},Na=e=>(...i)=>g.asap(()=>e(...i)),hn=O.hasStandardBrowserEnv?((e,i)=>a=>(a=new URL(a,O.origin),e.protocol===a.protocol&&e.host===a.host&&(i||e.port===a.port)))(new URL(O.origin),O.navigator&&/(msie|trident)/i.test(O.navigator.userAgent)):()=>!0,yn=O.hasStandardBrowserEnv?{write(e,i,a,s,o,n){const r=[e+"="+encodeURIComponent(i)];g.isNumber(a)&&r.push("expires="+new Date(a).toGMTString()),g.isString(s)&&r.push("path="+s),g.isString(o)&&r.push("domain="+o),n===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const i=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _n(e,i){return i?e.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):e}function Va(e,i,a){let s=!gn(i);return e&&(s||a==!1)?_n(e,i):i}const Pa=e=>e instanceof W?{...e}:e;function te(e,i){i=i||{};const a={};function s(c,d,m,f){return g.isPlainObject(c)&&g.isPlainObject(d)?g.merge.call({caseless:f},c,d):g.isPlainObject(d)?g.merge({},d):g.isArray(d)?d.slice():d}function o(c,d,m,f){if(g.isUndefined(d)){if(!g.isUndefined(c))return s(void 0,c,m,f)}else return s(c,d,m,f)}function n(c,d){if(!g.isUndefined(d))return s(void 0,d)}function r(c,d){if(g.isUndefined(d)){if(!g.isUndefined(c))return s(void 0,c)}else return s(void 0,d)}function l(c,d,m){if(m in i)return s(c,d);if(m in e)return s(void 0,c)}const p={url:n,method:n,data:n,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:l,headers:(c,d,m)=>o(Pa(c),Pa(d),m,!0)};return g.forEach(Object.keys(Object.assign({},e,i)),function(d){const m=p[d]||o,f=m(e[d],i[d],d);g.isUndefined(f)&&m!==l||(a[d]=f)}),a}const Ba=e=>{const i=te({},e);let{data:a,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:n,headers:r,auth:l}=i;i.headers=r=W.from(r),i.url=_a(Va(i.baseURL,i.url,i.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&r.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let p;if(g.isFormData(a)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((p=r.getContentType())!==!1){const[c,...d]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];r.setContentType([c||"multipart/form-data",...d].join("; "))}}if(O.hasStandardBrowserEnv&&(s&&g.isFunction(s)&&(s=s(i)),s||s!==!1&&hn(i.url))){const c=o&&n&&yn.read(n);c&&r.set(o,c)}return i},bn=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(a,s){const o=Ba(e);let n=o.data;const r=W.from(o.headers).normalize();let{responseType:l,onUploadProgress:p,onDownloadProgress:c}=o,d,m,f,u,y;function h(){u&&u(),y&&y(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function S(){if(!b)return;const E=W.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),N={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:E,config:e,request:b};ka(function(F){a(F),h()},function(F){s(F),h()},N),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(s(new C("Request aborted",C.ECONNABORTED,e,b)),b=null)},b.onerror=function(){s(new C("Network Error",C.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let P=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const N=o.transitional||Ta;o.timeoutErrorMessage&&(P=o.timeoutErrorMessage),s(new C(P,N.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,e,b)),b=null},n===void 0&&r.setContentType(null),"setRequestHeader"in b&&g.forEach(r.toJSON(),function(P,N){b.setRequestHeader(N,P)}),g.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),l&&l!=="json"&&(b.responseType=o.responseType),c&&([f,y]=ze(c,!0),b.addEventListener("progress",f)),p&&b.upload&&([m,u]=ze(p),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",u)),(o.cancelToken||o.signal)&&(d=E=>{b&&(s(!E||E.type?new de(null,e,b):E),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const T=pn(o.url);if(T&&O.protocols.indexOf(T)===-1){s(new C("Unsupported protocol "+T+":",C.ERR_BAD_REQUEST,e));return}b.send(n||null)})},Tn=(e,i)=>{const{length:a}=e=e?e.filter(Boolean):[];if(i||a){let s=new AbortController,o;const n=function(c){if(!o){o=!0,l();const d=c instanceof Error?c:this.reason;s.abort(d instanceof C?d:new de(d instanceof Error?d.message:d))}};let r=i&&setTimeout(()=>{r=null,n(new C(`timeout ${i} of ms exceeded`,C.ETIMEDOUT))},i);const l=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(n):c.removeEventListener("abort",n)}),e=null)};e.forEach(c=>c.addEventListener("abort",n));const{signal:p}=s;return p.unsubscribe=()=>g.asap(l),p}},Sn=function*(e,i){let a=e.byteLength;if(a<i){yield e;return}let s=0,o;for(;s<a;)o=s+i,yield e.slice(s,o),s=o},wn=async function*(e,i){for await(const a of Cn(e))yield*Sn(a,i)},Cn=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const i=e.getReader();try{for(;;){const{done:a,value:s}=await i.read();if(a)break;yield s}}finally{await i.cancel()}},xa=(e,i,a,s)=>{const o=wn(e,i);let n=0,r,l=p=>{r||(r=!0,s&&s(p))};return new ReadableStream({async pull(p){try{const{done:c,value:d}=await o.next();if(c){l(),p.close();return}let m=d.byteLength;if(a){let f=n+=m;a(f)}p.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(p){return l(p),o.return()}},{highWaterMark:2})},Ae=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Fa=Ae&&typeof ReadableStream=="function",kn=Ae&&(typeof TextEncoder=="function"?(e=>i=>e.encode(i))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),za=(e,...i)=>{try{return!!e(...i)}catch{return!1}},En=Fa&&za(()=>{let e=!1;const i=new Request(O.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!i}),Aa=64*1024,ut=Fa&&za(()=>g.isReadableStream(new Response("").body)),Ie={stream:ut&&(e=>e.body)};Ae&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!Ie[i]&&(Ie[i]=g.isFunction(e[i])?a=>a[i]():(a,s)=>{throw new C(`Response type '${i}' is not supported`,C.ERR_NOT_SUPPORT,s)})})})(new Response);const Nn=async e=>{if(e==null)return 0;if(g.isBlob(e))return e.size;if(g.isSpecCompliantForm(e))return(await new Request(O.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(g.isArrayBufferView(e)||g.isArrayBuffer(e))return e.byteLength;if(g.isURLSearchParams(e)&&(e=e+""),g.isString(e))return(await kn(e)).byteLength},Vn=async(e,i)=>{const a=g.toFiniteNumber(e.getContentLength());return a??Nn(i)},ht={http:Hs,xhr:bn,fetch:Ae&&(async e=>{let{url:i,method:a,data:s,signal:o,cancelToken:n,timeout:r,onDownloadProgress:l,onUploadProgress:p,responseType:c,headers:d,withCredentials:m="same-origin",fetchOptions:f}=Ba(e);c=c?(c+"").toLowerCase():"text";let u=Tn([o,n&&n.toAbortSignal()],r),y;const h=u&&u.unsubscribe&&(()=>{u.unsubscribe()});let b;try{if(p&&En&&a!=="get"&&a!=="head"&&(b=await Vn(d,s))!==0){let N=new Request(i,{method:"POST",body:s,duplex:"half"}),B;if(g.isFormData(s)&&(B=N.headers.get("content-type"))&&d.setContentType(B),N.body){const[F,j]=Ea(b,ze(Na(p)));s=xa(N.body,Aa,F,j)}}g.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;y=new Request(i,{...f,signal:u,method:a.toUpperCase(),headers:d.normalize().toJSON(),body:s,duplex:"half",credentials:S?m:void 0});let T=await fetch(y,f);const E=ut&&(c==="stream"||c==="response");if(ut&&(l||E&&h)){const N={};["status","statusText","headers"].forEach(A=>{N[A]=T[A]});const B=g.toFiniteNumber(T.headers.get("content-length")),[F,j]=l&&Ea(B,ze(Na(l),!0))||[];T=new Response(xa(T.body,Aa,F,()=>{j&&j(),h&&h()}),N)}c=c||"text";let P=await Ie[g.findKey(Ie,c)||"text"](T,e);return!E&&h&&h(),await new Promise((N,B)=>{ka(N,B,{data:P,headers:W.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(S){throw h&&h(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new C("Network Error",C.ERR_NETWORK,e,y),{cause:S.cause||S}):C.from(S,S&&S.code,e,y)}})};g.forEach(ht,(e,i)=>{if(e){try{Object.defineProperty(e,"name",{value:i})}catch{}Object.defineProperty(e,"adapterName",{value:i})}});const Ia=e=>`- ${e}`,Pn=e=>g.isFunction(e)||e===null||e===!1,Ra={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:i}=e;let a,s;const o={};for(let n=0;n<i;n++){a=e[n];let r;if(s=a,!Pn(a)&&(s=ht[(r=String(a)).toLowerCase()],s===void 0))throw new C(`Unknown adapter '${r}'`);if(s)break;o[r||"#"+n]=s}if(!s){const n=Object.entries(o).map(([l,p])=>`adapter ${l} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=i?n.length>1?`since :
|
|
4
|
-
`+n.map(
|
|
5
|
-
`):" "+
|
|
6
|
-
`+n):s.stack=n}catch{}}throw s}}_request(i,a){typeof i=="string"?(a=a||{},a.url=i):a=i||{},a=te(this.defaults,a);const{transitional:s,paramsSerializer:o,headers:n}=a;s!==void 0&&Oe.assertOptions(s,{silentJSONParsing:H.transitional(H.boolean),forcedJSONParsing:H.transitional(H.boolean),clarifyTimeoutError:H.transitional(H.boolean)},!1),o!=null&&(g.isFunction(o)?a.paramsSerializer={serialize:o}:Oe.assertOptions(o,{encode:H.function,serialize:H.function},!0)),a.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?a.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:a.allowAbsoluteUrls=!0),Oe.assertOptions(a,{baseUrl:H.spelling("baseURL"),withXsrfToken:H.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let r=n&&g.merge(n.common,n[a.method]);n&&g.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),a.headers=W.concat(r,n);const l=[];let p=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(a)===!1||(p=p&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let d,m=0,f;if(!p){const y=[Oa.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),f=y.length,d=Promise.resolve(a);m<f;)d=d.then(y[m++],y[m++]);return d}f=l.length;let u=a;for(m=0;m<f;){const y=l[m++],h=l[m++];try{u=y(u)}catch(b){h.call(this,b);break}}try{d=Oa.call(this,u)}catch(y){return Promise.reject(y)}for(m=0,f=c.length;m<f;)d=d.then(c[m++],c[m++]);return d}getUri(i){i=te(this.defaults,i);const a=Va(i.baseURL,i.url,i.allowAbsoluteUrls);return _a(a,i.params,i.paramsSerializer)}};g.forEach(["delete","get","head","options"],function(i){ae.prototype[i]=function(a,s){return this.request(te(s||{},{method:i,url:a,data:(s||{}).data}))}}),g.forEach(["post","put","patch"],function(i){function a(s){return function(n,r,l){return this.request(te(l||{},{method:i,headers:s?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ae.prototype[i]=a(),ae.prototype[i+"Form"]=a(!0)});let xn=class ls{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(n){a=n});const s=this;this.promise.then(o=>{if(!s._listeners)return;let n=s._listeners.length;for(;n-- >0;)s._listeners[n](o);s._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(l=>{s.subscribe(l),n=l}).then(o);return r.cancel=function(){s.unsubscribe(n)},r},i(function(n,r,l){s.reason||(s.reason=new de(n,r,l),a(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const i=new AbortController,a=s=>{i.abort(s)};return this.subscribe(a),i.signal.unsubscribe=()=>this.unsubscribe(a),i.signal}static source(){let i;return{token:new ls(function(o){i=o}),cancel:i}}};function Fn(e){return function(a){return e.apply(null,a)}}function zn(e){return g.isObject(e)&&e.isAxiosError===!0}const gt={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(gt).forEach(([e,i])=>{gt[i]=e});function Wa(e){const i=new ae(e),a=ia(ae.prototype.request,i);return g.extend(a,ae.prototype,i,{allOwnKeys:!0}),g.extend(a,i,null,{allOwnKeys:!0}),a.create=function(o){return Wa(te(e,o))},a}const V=Wa(ge);V.Axios=ae,V.CanceledError=de,V.CancelToken=xn,V.isCancel=Ca,V.VERSION=La,V.toFormData=xe,V.AxiosError=C,V.Cancel=V.CanceledError,V.all=function(i){return Promise.all(i)},V.spread=Fn,V.isAxiosError=zn,V.mergeConfig=te,V.AxiosHeaders=W,V.formToJSON=e=>Sa(g.isHTMLForm(e)?new FormData(e):e),V.getAdapter=Ra.getAdapter,V.HttpStatusCode=gt,V.default=V;const{Axios:tu,AxiosError:au,CanceledError:iu,isCancel:su,CancelToken:nu,VERSION:ou,all:ru,Cancel:lu,isAxiosError:cu,spread:du,toFormData:mu,AxiosHeaders:pu,HttpStatusCode:fu,formToJSON:uu,getAdapter:hu,mergeConfig:yu}=V,An={computed:{sizeTabsFontMP(){const e=this.elementSize.width;return e<=380?"12px":e<=768?"14px":"16px"},sizeTabsFontMS(){const e=this.elementSize.width;return e<=600?"12px":e<=768?"13px":"14px"},sizeTabsMS(){const e=this.elementSize.width;return e<=480?"145px":e<=600?"153px":e<=620?"163px":e<=640?"170px":e<=660?"175px":e<=680?"180px":e<=700?"185px":e<=720?"195px":"200px"},sizeTabsMP(){const e=this.elementSize.width;return e<=319?"68px":e<=330?"73px":e<=340?"78px":e<=350?"82px":e<=360||e<=370?"90px":e<=390?"95px":e<=410?"105px":e<=430?"110px":e<=450?"117px":e<=470?"122px":e<=500?"130px":e<=530?"138px":e<=560?"155px":e<=590?"163px":e<=620?"175px":e<=650?"180px":e<=680?"195px":e<=730?"210px":e<=768?"100px":"110px"},comextleyemdmultipleleaguesClass(){return this.elementSize.width<=380?this.$style.comtextleyemdmultipleleagues380:this.$style.comtextleyemdmultipleleagues},comdropdownParentClass(){return this.elementSize.width<=730?this.$style.comdropdownParent730:this.$style.comdropdownParent},comdescubreVideosClass(){const e=this.elementSize.width;return e<=960?this.$style.comdescubreVideos960:e<=1232?this.$style.comdescubreVideos1232:this.$style.comdescubreVideos},comquitarFiltrosClass(){const e=this.elementSize.width;return e<=380?this.$style.comquitarFiltros380:e<=480?this.$style.comquitarFiltros480:e<=730?this.$style.comquitarFiltros730:this.$style.comquitarFiltros},commejoresJugadoresClass(){const e=this.elementSize.width;return e<=480?this.$style.commejoresJugadores480:e<=730?this.$style.commejoresJugadores730:this.$style.commejoresJugadores},menuSectionClass(){return this.elementSize.width<=960?this.$style.commenuSection960:this.$style.commenuSection},topFiltersClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFilters420:e<=460?this.$style.comtopFilters460:e<=1232?this.$style.comtopFilters1232:this.$style.comtopFilters},toniKroosWrapperClass(){const e=this.elementSize.width;return e<=319?this.$style.comtoniKroosWrapper320:e<=420?this.$style.comtoniKroosWrapper420:e<=916?this.$style.comtoniKroosWrapper760:e<=975?this.$style.comtoniKroosWrapper975:e<=1079?this.$style.comtoniKroosWrapper1080:this.$style.comtoniKroosWrapper},containerTablesClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTables320:e<=916?this.$style.comcontainerTables760:e<=1079?this.$style.comcontainerTables960:this.$style.comcontainerTables},containerTheBestClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTheBest320:e<=960?this.$style.comcontainerTheBest960:e<=1232?this.$style.comcontainerTheBest1232:this.$style.comcontainerTheBest},menuSectionHeaderClass(){const e=this.elementSize.width;return e<=730?this.$style.commenuSectionHeader730:e<=960?this.$style.commenuSectionHeader960:e<=1232?this.$style.commenuSectionHeader1232:this.$style.commenuSectionHeader},losMejoresClass(){const e=this.elementSize.width;return e<=380?this.$style.comlosMejores380:e<=530?this.$style.comlosMejores530:e<=730?this.$style.comlosMejores730:this.$style.comlosMejores},dropdownClass(){return this.elementSize.width<=730?this.$style.comdropdown730:this.$style.comdropdown},dropdown1Class(){return this.elementSize.width<=730?this.$style.comdropdown1730:this.$style.comdropdown1},menuSectionParentHeaderClass(){const e=this.elementSize.width;return e<=430?this.$style.commenuSectionParentHeader430:e<=730?this.$style.commenuSectionParentHeader730:e<=960?this.$style.commenuSectionParentHeader960:e<=1232?this.$style.commenuSectionParentHeader1232:this.$style.commenuSectionParentHeader},templateLosMejoresClass(){const e=this.elementSize.width;return e<=319?this.$style.comtemplateLosMejores1320:e<=350?this.$style.comtemplateLosMejores1350:e<=420?this.$style.comtemplateLosMejores1420:e<=540?this.$style.comtemplateLosMejores1540:e<=960?this.$style.comtemplateLosMejores1960:e<=1232?this.$style.comtemplateLosMejores11232:this.$style.comtemplateLosMejores1},containerMenuClass(){return this.elementSize.width<=760?this.$style.comcontainerMenu760:this.$style.comcontainerMenu},titleSectionClass(){return this.elementSize.width<=540?this.$style.comtitleSection540:this.$style.comtitleSection},containerSectionClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerSection320:e<=350?this.$style.comcontainerSection350:e<=960?this.$style.comcontainerSection960:e<=1232?this.$style.comcontainerSection1232:this.$style.comcontainerSection},filtersContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.comfiltersContainer420:e<=760?this.$style.comfiltersContainer760:e<=1232?this.$style.comfiltersContainer1232:this.$style.comfiltersContainer},topFiltersParentClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFiltersParent420:e<=460?this.$style.comtopFiltersParent460:e<=1232?this.$style.comtopFiltersParent1232:this.$style.comtopFiltersParent}}};function be(e){const i=t.ref({width:0,height:0});function a(){const s=e.value.getBoundingClientRect();i.value.width=s.width,i.value.height=s.height}return t.onMounted(()=>{a(),window.addEventListener("resize",a)}),t.onUnmounted(()=>{window.removeEventListener("resize",a)}),{elementSize:i}}const Y=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},_t={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconPosition:{type:String,default:"left"},iconSize:String,mini:{type:Boolean,default:!1},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"},buttonMaxWidth:{type:String,default:"auto"},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,maxWidth:this.buttonMaxWidth,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))}}},Da=()=>{t.useCssVars(e=>({"142f4a30":e.height,"425d470b":e.borderWidthBtn,e390e3e2:e.borderType,"37c60b2e":e.borderColor,"4c69ebb2":e.borderRadius,"1e10a0c6":e.width,64535028:e.backgroundColor,"26a98839":e.cursorType,"0ff73bb9":e.fontSize,"22158e0e":e.fontStyle,"4f1cadc8":e.fontFamily,"38d08a5c":e.marginLeftStat,f38f9ca6:e.fontSizeStat}))},Ma=_t.setup;_t.setup=Ma?(e,i)=>(Da(),Ma(e,i)):Da;const In=["src"],Rn={key:1,class:"text"},On=["src"],Ln={class:"stats"},Gn={class:"numstats"},Wn={class:"leyend"};function Dn(e,i,a,s,o,n){return t.openBlock(),t.createElementBlock("div",null,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&a.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&a.typeOnOff&&n.customActive]),onClick:i[0]||(i[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[a.icon&&a.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(a.mini?"icon-txt":"icon"),style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,14,In)):t.createCommentVNode("",!0),a.textValue?(t.openBlock(),t.createElementBlock("div",Rn,t.toDisplayString(a.textValue),1)):t.createCommentVNode("",!0),a.icon&&a.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,On)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:i[1]||(i[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Ln,[i[2]||(i[2]=t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),t.createElementVNode("div",Gn,t.toDisplayString(a.textStat),1)]),t.createElementVNode("div",Wn,t.toDisplayString(a.textCategory),1)])):t.createCommentVNode("",!0)])}const va=Y(_t,[["render",Dn],["__scopeId","data-v-2d2e96b3"]]),Mn={tablePositionGames:"_tablePositionGames_1rp43_91",tablePositionWrapperGames:"_tablePositionWrapperGames_1rp43_123",imgHenrryIcon:"_imgHenrryIcon_1rp43_141",americaIcon:"_americaIcon_1rp43_157",playerPhotoGames:"_playerPhotoGames_1rp43_181",toniKroosGames:"_toniKroosGames_1rp43_199",shapeIcon:"_shapeIcon_1rp43_221",menuiconsTeams:"_menuiconsTeams_1rp43_233",component31:"_component31_1rp43_251",playerNameGames:"_playerNameGames_1rp43_273",icnPlayIcon:"_icnPlayIcon_1rp43_289",goles:"_goles_1rp43_305",americaIcon1:"_americaIcon1_1rp43_319",teamsAmerica:"_teamsAmerica_1rp43_347",containerData:"_containerData_1rp43_359",shapeIcon1:"_shapeIcon1_1rp43_375",icnExpand1:"_icnExpand1_1rp43_387",icnExpand:"_icnExpand_1rp43_387",playerDataGames:"_playerDataGames_1rp43_427",playerInfoGames:"_playerInfoGames_1rp43_449",headerTopGame:"_headerTopGame_1rp43_479",playerRow:"_playerRow_1rp43_507",groupsLeague:"_groupsLeague_1rp43_529",text:"_text_1rp43_547",btnViewFullList:"_btnViewFullList_1rp43_563",headerTopsGames:"_headerTopsGames_1rp43_597",btnVideosOptions:"_btnVideosOptions_1rp43_741",position:"_position_1rp43_1095",positionWrapper:"_positionWrapper_1rp43_1119",imgNecaxaIcon:"_imgNecaxaIcon_1rp43_1135",teamLogo:"_teamLogo_1rp43_1147",teamPhoto:"_teamPhoto_1rp43_1163",name:"_name_1rp43_1179",icnPlayIconType1:"_icnPlayIconType1_1rp43_1195",verVideosType1:"_verVideosType1_1rp43_1209",btnVideosOptionsType1:"_btnVideosOptionsType1_1rp43_1221",btnVideosOptions1Games:"_btnVideosOptions1Games_1rp43_1245",leftContainer:"_leftContainer_1rp43_1269",shapeIconType1:"_shapeIconType1_1rp43_1287",icnExpandType1:"_icnExpandType1_1rp43_1297",arrowExpand:"_arrowExpand_1rp43_1317",containerInfoGames:"_containerInfoGames_1rp43_1333",headerTopTeam:"_headerTopTeam_1rp43_1357",containerHeader:"_containerHeader_1rp43_1385",goles1:"_goles1_1rp43_1403",golesType1:"_golesType1_1rp43_1409",golesWrapper:"_golesWrapper_1rp43_1419",btnViewAll:"_btnViewAll_1rp43_1437",headerTopsTeams:"_headerTopsTeams_1rp43_1471",arrowExpandIcon:"_arrowExpandIcon_1rp43_1705",rotate:"_rotate_1rp43_1715"},bt={components:{GSCButton:va},props:{typeData:{type:Number,default:1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>{}},type:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},categoryName:{type:String,default:""},categoryId:{type:String,default:""},data:{type:Object,default:()=>{}},backgroundColor:{type:String,default:"#0d1d29"},backgroundColorHeader:{type:String,default:"#183143"},fontColorName:{type:String,default:"#F4F4F4"},fontSizeName:{type:String,default:"14px"},fontFamilyName:{type:String,default:"Poppins-Regular"},fontColorTopNum:{type:String,default:"#FFFFFF"},fontSizeTopNum:{type:String,default:"96px"},fontFamilyTopNum:{type:String,default:"Oswald-Bold"},fontColorCategory:{type:String,default:"#FFFFFF"},fontSizeCategory:{type:String,default:"12px"},fontFamilyCategory:{type:String,default:"Poppins-Regular"},opacityColorTopNum:{type:Number,default:.09},borderColorCategory:{type:String,default:"#cbee6b"},iconVideos:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconSize:{type:String,default:"18px"},iconPosition:{type:String,default:"left"},colorArrow:{type:String,default:"#D9D9D9"},buttonWidth:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"180px"},buttonHeight:{type:String,default:"24px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#cbee6b"},buttonFontSize:{type:String,default:"12px"}},data:()=>({expand:!1}),methods:{viewProfile(e){this.$emit("play",e)},clickMore(e){this.$emit("more",e)},clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},clickFav(e){this.$emit("fav",e)},clickEventMedia(e){this.$emit("mediadata",e)}}},ja=()=>{t.useCssVars(e=>({"1a70b91c":e.fontSizeTopNum,"8117d882":e.fontFamilyTopNum,d1eb0eac:e.fontColorTopNum,"12d7aac4":e.opacityColorTopNum,"285ed784":e.fontColorName,"71a3984e":e.fontFamilyName,"6642e714":e.fontSizeName,"1c2de347":e.backgroundColorHeader,"1f77c168":e.fontFamilyCategory,"7eace169":e.fontSizeCategory,"3bd4f577":e.fontColorCategory,b26fe10c:e.borderColorCategory}))},Ua=bt.setup;bt.setup=Ua?(e,i)=>(ja(),Ua(e,i)):ja;const vn=["src"],jn=["src"],Un=["src"],$n=["src"],Jn=["fill"],Hn=["fill"],qn=["src"],Kn=["fill"],Zn=["fill"];function Yn(e,i,a,s,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",null,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.headerTopsGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerRow),id:"player-row"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopGame)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerPhotoGames),id:"container-player-photp"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.tablePositionWrapperGames)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.tablePositionGames)},t.toDisplayString(a.data.top),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHenrryIcon),alt:"",src:a.data.photo},null,10,vn),t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon),alt:"",src:a.data.logo},null,10,jn)],2),t.createElementVNode("main",{class:t.normalizeClass(e.$style.playerInfoGames),id:"container-player-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerNameGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.toniKroosGames)},t.toDisplayString(a.data.name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerDataGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[a.canPlayVideos||a.game.awayTeam.team_id==a.teamWidget&&a.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(r,{"icon-size":a.iconSize,"icon-position":a.iconPosition,width:a.buttonWidth,"button-max-width":a.buttonMaxWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.data.total+" "+a.categoryName.toLowerCase(),"font-size":a.buttonFontSize,onClick:i[0]||(i[0]=l=>n.clickEventMedia(a.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmerica)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1),alt:"",src:a.data.logo},null,10,Un)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(r,{icon:"","icon-size":a.iconSize,"icon-position":a.iconPosition,width:a.buttonWidth,"button-max-width":a.buttonMaxWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.data.total+" "+a.categoryName.toLowerCase(),"font-size":a.buttonFontSize},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmerica)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1),alt:"",src:a.data.logo},null,10,$n)],2)],64))],2),a.arrow?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.icnExpand),onClick:i[1]||(i[1]=l=>n.clickExpand(a.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,a.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:a.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:a.colorArrow},null,8,Hn)],10,Jn))],2)):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.headerTopsTeams)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerHeader),id:"header-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPhoto),id:"container-team"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.positionWrapper)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.position)},t.toDisplayString(a.data.top),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamLogo)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgNecaxaIcon),alt:"",src:a.data.logo},null,10,qn)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerInfoGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leftContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(a.data.name_team),3),t.createVNode(r,{"icon-size":a.iconSize,"icon-position":a.iconPosition,width:a.buttonWidth,"button-max-width":a.buttonMaxWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.data.total+" "+a.categoryName.toLowerCase(),"font-size":a.buttonFontSize,onClick:i[2]||(i[2]=l=>n.clickEventMedia(a.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideosOptions1Games)},[t.createVNode(r,{"icon-size":a.iconSize,"icon-position":a.iconPosition,width:a.buttonWidth,"button-max-width":a.buttonMaxWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.data.total+" "+a.categoryName.toLowerCase(),"font-size":a.buttonFontSize,onClick:i[3]||(i[3]=l=>n.clickEventMedia(a.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideosType1)},t.toDisplayString(a.data.total),3)],2)],2),a.arrow?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.arrowExpand),onClick:i[4]||(i[4]=l=>n.clickExpand(a.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,a.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:a.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:a.colorArrow},null,8,Zn)],10,Kn))],2)):t.createCommentVNode("",!0)],2)],2)],2)],2)):t.createCommentVNode("",!0)])}const Xn=Y(bt,[["render",Yn],["__cssModules",{$style:Mn}]]),Qn={rotate:"_rotate_1pla5_5",positionContainer:"_positionContainer_1pla5_99",positionContainer620:"_positionContainer620_1pla5_113",rowwPlayerGames:"_rowwPlayerGames_1pla5_127",rowwPlayer960Games:"_rowwPlayer960Games_1pla5_159",rowwPlayer420Games:"_rowwPlayer420Games_1pla5_189",rowwPlayer460Games:"_rowwPlayer460Games_1pla5_221",containerLeftGames:"_containerLeftGames_1pla5_255",containerLeft420Games:"_containerLeft420Games_1pla5_271",containerLeft620Games:"_containerLeft620Games_1pla5_287",iconFavoritesType1:"_iconFavoritesType1_1pla5_301",iconFavoritesType1320:"_iconFavoritesType1320_1pla5_317",iconFavorites:"_iconFavorites_1pla5_301",iconFavorites420:"_iconFavorites420_1pla5_349",playerContainerGames:"_playerContainerGames_1pla5_365",playerContainer420Games:"_playerContainer420Games_1pla5_389",playerContainer460Games:"_playerContainer460Games_1pla5_413",playerContainerType1Games:"_playerContainerType1Games_1pla5_437",playerContainerType1320Games:"_playerContainerType1320Games_1pla5_457",playerContainerType1460Games:"_playerContainerType1460Games_1pla5_477",imgPlayerIcon:"_imgPlayerIcon_1pla5_497",imgPlayerIcon460:"_imgPlayerIcon460_1pla5_517",imgPlayerIcon420:"_imgPlayerIcon420_1pla5_537",manchesterUnitedGames:"_manchesterUnitedGames_1pla5_557",manchesterUnited360Games:"_manchesterUnited360Games_1pla5_579",manchesterUnited420Games:"_manchesterUnited420Games_1pla5_601",manchesterUnited460Games:"_manchesterUnited460Games_1pla5_623",containerRightGames:"_containerRightGames_1pla5_645",containerRight960Games:"_containerRight960Games_1pla5_663",containerRight420Games:"_containerRight420Games_1pla5_683",numberOfVideos:"_numberOfVideos_1pla5_705",numberOfVideos620:"_numberOfVideos620_1pla5_717",block02Games:"_block02Games_1pla5_729",block02960Games:"_block02960Games_1pla5_749",block02620Games:"_block02620Games_1pla5_767",block02420Games:"_block02420Games_1pla5_781",verVideos:"_verVideos_1pla5_797",verVideos620:"_verVideos620_1pla5_809",numberPosition:"_numberPosition_1pla5_815",shapeIcon:"_shapeIcon_1pla5_827",chivasIcon:"_chivasIcon_1pla5_837",imgTeamIcon:"_imgTeamIcon_1pla5_859",teamName:"_teamName_1pla5_869",nameTeamGames:"_nameTeamGames_1pla5_881",dfC:"_dfC_1pla5_899",position:"_position_1pla5_99",age:"_age_1pla5_919",manchesterUnitedIcon:"_manchesterUnitedIcon_1pla5_935",country:"_country_1pla5_949",playedGames:"_playedGames_1pla5_963",playedMinutes:"_playedMinutes_1pla5_977",block01:"_block01_1pla5_991",leagueName:"_leagueName_1pla5_1005",roleCharacterIcon:"_roleCharacterIcon_1pla5_1017",btnVideosGames:"_btnVideosGames_1pla5_1033",containerBtnVideosGames:"_containerBtnVideosGames_1pla5_1063",containerBtnVideos620Games:"_containerBtnVideos620Games_1pla5_1083",containesOptions:"_containesOptions_1pla5_1101",arrowExpandIcon:"_arrowExpandIcon_1pla5_1115",rowTeam:"_rowTeam_1pla5_1133",rowTeam420:"_rowTeam420_1pla5_1169",rowTeam320:"_rowTeam320_1pla5_1205",rowTeam460:"_rowTeam460_1pla5_1243",rowTeam350:"_rowTeam350_1pla5_1281",containerLeftType1:"_containerLeftType1_1pla5_1317",containerLeftType1680:"_containerLeftType1680_1pla5_1329",containerLeftType1320:"_containerLeftType1320_1pla5_1343",containerLeftType1350:"_containerLeftType1350_1pla5_1359",positionContainertype1:"_positionContainertype1_1pla5_1373",positionContainertype1380:"_positionContainertype1380_1pla5_1389",positionContainertype1680:"_positionContainertype1680_1pla5_1405",positionContainertype1420:"_positionContainertype1420_1pla5_1421",manchesterUnitedType1:"_manchesterUnitedType1_1pla5_1437",manchesterUnitedType1460:"_manchesterUnitedType1460_1pla5_1449",manchesterUnitedType1320:"_manchesterUnitedType1320_1pla5_1463",containerRightType1Games:"_containerRightType1Games_1pla5_1477",containerRightType1420Games:"_containerRightType1420Games_1pla5_1499",containerRightType1320Games:"_containerRightType1320Games_1pla5_1521",teamNameWrapperType1:"_teamNameWrapperType1_1pla5_1543",teamNameWrapperType1960:"_teamNameWrapperType1960_1pla5_1557",teamNameWrapperType11086:"_teamNameWrapperType11086_1pla5_1571",ageWrapperType1:"_ageWrapperType1_1pla5_1585",ageWrapperType1680:"_ageWrapperType1680_1pla5_1599",ageWrapperType11086:"_ageWrapperType11086_1pla5_1615",ageType1:"_ageType1_1pla5_1631",ageType1960:"_ageType1960_1pla5_1647",playedGamesWrapperType1:"_playedGamesWrapperType1_1pla5_1653",playedGamesWrapperType1680:"_playedGamesWrapperType1680_1pla5_1667",playedGamesWrapperType1960:"_playedGamesWrapperType1960_1pla5_1673",playedGamesType1:"_playedGamesType1_1pla5_1679",playedGamesType1540:"_playedGamesType1540_1pla5_1693",playedGamesType1960:"_playedGamesType1960_1pla5_1701",playedGamesType11086:"_playedGamesType11086_1pla5_1707",playedMinutesWrapperType1:"_playedMinutesWrapperType1_1pla5_1713",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_1pla5_1727",playedMinutesType1:"_playedMinutesType1_1pla5_1741",playedMinutesType1680:"_playedMinutesType1680_1pla5_1755",block02Type1Games:"_block02Type1Games_1pla5_1761",block02Type1680Games:"_block02Type1680Games_1pla5_1777",block02Type1320Games:"_block02Type1320Games_1pla5_1793",block02Type1350Games:"_block02Type1350Games_1pla5_1811",leagueNameWrapperType1:"_leagueNameWrapperType1_1pla5_1827",leagueNameWrapperType1680:"_leagueNameWrapperType1680_1pla5_1843",leagueNameWrapperType1960:"_leagueNameWrapperType1960_1pla5_1849",leagueNameType1:"_leagueNameType1_1pla5_1865",leagueNameType1960:"_leagueNameType1960_1pla5_1885",numberOfVideosType1:"_numberOfVideosType1_1pla5_1905",numberOfVideosType1680:"_numberOfVideosType1680_1pla5_1919",numberOfVideosType11232:"_numberOfVideosType11232_1pla5_1933",vectorIconType1:"_vectorIconType1_1pla5_1947",block01TitlesType1:"_block01TitlesType1_1pla5_1981",numberPositionType1:"_numberPositionType1_1pla5_1995",shapeIconType1:"_shapeIconType1_1pla5_2007",tijuanaIconType1:"_tijuanaIconType1_1pla5_2019",tijuanaWrapperType1:"_tijuanaWrapperType1_1pla5_2031",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_1pla5_2053",teamNameType1:"_teamNameType1_1pla5_2069",roleCharacterIconType1:"_roleCharacterIconType1_1pla5_2083",verVideosType1:"_verVideosType1_1pla5_2097",btnVideosType1Games:"_btnVideosType1Games_1pla5_2109",containerBtnVideosType1Games:"_containerBtnVideosType1Games_1pla5_2139",containesOptionsType1Games:"_containesOptionsType1Games_1pla5_2161",arrowExpandIconType1:"_arrowExpandIconType1_1pla5_2177",templateTablaProductividadType1:"_templateTablaProductividadType1_1pla5_2189",verVideosType11232:"_verVideosType11232_1pla5_2213",templateTablaProductividadType1320:"_templateTablaProductividadType1320_1pla5_2221",verVideosType1680:"_verVideosType1680_1pla5_2229"},Tt={components:{GSCButton:va},computed:{manchesterUnitedType1Class(){const e=this.elementSize.width;return e<=320?this.$style.manchesterUnitedType1320:e<=460?this.$style.manchesterUnitedType1460:this.$style.manchesterUnitedType1},containerRightType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerRightType1320Games:e<=420?this.$style.containerRightType1420Games:this.$style.containerRightType1Games},teamNameWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.teamNameWrapperType1960:e<=1086?this.$style.teamNameWrapperType11086:this.$style.teamNameWrapperType1},ageWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.ageWrapperType1680:e<=1086?this.$style.ageWrapperType11086:this.$style.ageWrapperType1},ageType1Class(){return this.elementSize.width<=960?this.$style.ageType1960:this.$style.ageType1},playedGamesWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.playedGamesWrapperType1680:e<=960?this.$style.playedGamesWrapperType1960:this.$style.playedGamesWrapperType1},playedGamesType1Class(){const e=this.elementSize.width;return e<=540?this.$style.playedGamesType1540:e<=960?this.$style.playedGamesType1960:e<=1086?this.$style.playedGamesType11086:this.$style.playedGamesType1},playedMinutesWrapperType1Class(){return this.elementSize.width<=1086?this.$style.playedMinutesWrapperType11086:this.$style.playedMinutesWrapperType1},playedMinutesType1Class(){return this.elementSize.width<=680?this.$style.playedMinutesType1680:this.$style.playedMinutesType1},block02Type1Class(){const e=this.elementSize.width;return e<=320?this.$style.block02Type1320Games:e<=350?this.$style.block02Type1350Games:e<=680?this.$style.block02Type1680Games:this.$style.block02Type1Games},leagueNameWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.leagueNameWrapperType1680:e<=960?this.$style.leagueNameWrapperType1960:this.$style.leagueNameWrapperType1},leagueNameType1Class(){return this.elementSize.width<=960?this.$style.leagueNameType1960:this.$style.leagueNameType1},numberOfVideosType1Class(){const e=this.elementSize.width;return e<=680?this.$style.numberOfVideosType1680:e<=1232?this.$style.numberOfVideosType11232:this.$style.numberOfVideosType1},containerLeftType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerLeftType1320:e<=350?this.$style.containerLeftType1350:e<=680?this.$style.containerLeftType1680:this.$style.containerLeftType1},positionContainertype1Class(){const e=this.elementSize.width;return e<=380?this.$style.positionContainertype1380:e<=420?this.$style.positionContainertype1420:e<=680?this.$style.positionContainertype1680:this.$style.positionContainertype1},rowTeamClass(){const e=this.elementSize.width;return e<=320?this.$style.rowTeam320:e<=350?this.$style.rowTeam350:e<=420?this.$style.rowTeam420:e<=460?this.$style.rowTeam460:this.$style.rowTeam},containerBtnVideosClass(){return this.$style.containerBtnVideosGames},numberOfVideosClass(){return this.elementSize.width<=620?this.$style.numberOfVideos620:this.$style.numberOfVideos},block02Class(){const e=this.elementSize.width;return e<=420?this.$style.block02420Games:e<=620?this.$style.block02620Games:e<=960?this.$style.block02960Games:this.$style.block02Games},imgPlayerIconClass(){const e=this.elementSize.width;return e<=420?this.$style.imgPlayerIcon420:e<=460?this.$style.imgPlayerIcon460:this.$style.imgPlayerIcon},manchesterUnitedClass(){const e=this.elementSize.width;return e<=360?this.$style.manchesterUnited360Games:e<=420?this.$style.manchesterUnited420Games:e<=460?this.$style.manchesterUnited460Games:this.$style.manchesterUnitedGames},containerRightClass(){const e=this.elementSize.width;return e<=420?this.$style.containerRight420Games:e<=960?this.$style.containerRight960Games:this.$style.containerRightGames},playerContainerType1Class(){const e=this.elementSize.width;return e<=320?this.$style.playerContainerType1320Games:e<=460?this.$style.playerContainerType1460Games:this.$style.playerContainerType1Games},playerContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.playerContainer420Games:e<=460?this.$style.playerContainer460Games:this.$style.playerContainerGames},iconFavoritesClass(){return this.elementSize.width<=420?this.$style.iconFavorites420:this.$style.iconFavorites},iconFavoritesType1Class(){return this.elementSize.width<=320?this.$style.iconFavoritesType1320:this.$style.iconFavoritesType1},containerLeftClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeft420Games:e<=620?this.$style.containerLeft620Games:this.$style.containerLeftGames},positionContainerClass(){return this.elementSize.width<=620?this.$style.positionContainer620:this.$style.positionContainer},rowwPlayerClass(){const e=this.elementSize.width;return e<=420?this.$style.rowwPlayer420Games:e<=460?this.$style.rowwPlayer460Games:e<=960?this.$style.rowwPlayer960Games:this.$style.rowwPlayerGames}},setup(){const e=t.ref("myDivRef2"),{elementSize:i}=be(e);return{myDivRef2:e,elementSize:i}},props:{typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},type:{type:Number,default:0},typeView:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},background:{type:String,default:"#172531"},height:{type:String,default:"35px"},fontColor:{type:String,default:"#F4F4F4"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"},data:{type:Object,default:()=>{}},game:{type:Object,default:()=>{}},colorArrow:{type:String,default:"#D9D9D9"},buttonTextValue:{type:String,default:"Ver videos"},iconVideos:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconSize:{type:String,default:"13px"},iconSizeMini:{type:String,default:"13px"},iconPosition:{type:String,default:"left"},buttonWidth:{type:String,default:"93px"},buttonWidthMini:{type:String,default:"24px"},buttonHeightMini:{type:String,default:"24px"},buttonHeight:{type:String,default:"30px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#55636e"},buttonFontSize:{type:String,default:"10px"}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},$a=()=>{t.useCssVars(e=>({"6c1ee6ba":e.height,"67ae32aa":e.background,"5a71ad6c":e.fontSize,"1a35e150":e.fontColor,"6e167a0f":e.fontFamily}))},Ja=Tt.setup;Tt.setup=Ja?(e,i)=>($a(),Ja(e,i)):$a;const eo={ref:"myDivRef2",style:{"border-left":"rgba(13, 29, 41, 0.7) 1px solid","border-right":"rgba(13, 29, 41, 0.7) 1px solid"}},to=["src"],ao=["src"],io=["src"],so=["src"],no=["fill"],oo=["fill"],ro=["src"],lo=["src"],co=["fill"],mo=["fill"],po=["src"],fo=["src"],uo=["src"],ho=["src"],yo=["fill"],go=["fill"];function _o(e,i,a,s,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",eo,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPosition)},t.toDisplayString(a.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgPlayerIconClass),src:a.data.player_photo},null,10,to),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedClass)},[s.elementSize.width<=420?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(a.data.player_short),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(a.data.player_name),1)],64))],2),s.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:a.data.team_logo},null,10,ao)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01)},[s.elementSize.width>420?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.nameTeamGames)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:a.data.team_logo},null,10,io),s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamName)},t.toDisplayString(a.data.team_abrev),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),s.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.position)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.dfC)},t.toDisplayString(a.data.player_position),3)],2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.age)},t.toDisplayString(a.data.player_age),3)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.country)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.manchesterUnitedIcon),alt:"",src:a.data.player_country_flag},null,10,so)],2)):t.createCommentVNode("",!0),s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGames)},t.toDisplayString(a.data.player_games),3)):t.createCommentVNode("",!0),s.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(a.data.player_min),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.leagueName)},t.toDisplayString(a.data.total),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosClass)},[a.canPlayVideos||a.game.awayTeam.team_id==a.teamWidget&&a.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[s.elementSize.width>635?(t.openBlock(),t.createBlock(r,{key:0,icon:a.iconVideos,"icon-size":a.iconSize,"icon-position":a.iconPosition,width:a.buttonWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.buttonTextValue,"font-size":a.buttonFontSize,onClick:i[0]||(i[0]=l=>n.emitEventMedia(a.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"])):(t.openBlock(),t.createBlock(r,{key:1,mini:!0,icon:a.iconVideos,"icon-size":a.iconSizeMini,"icon-position":a.iconPosition,width:a.buttonWidthMini,height:a.buttonHeightMini,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"font-size":a.buttonFontSize,onClick:i[1]||(i[1]=l=>n.emitEventMedia(a.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","font-size"]))],64)):t.createCommentVNode("",!0),s.elementSize.width<=635?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.numberOfVideosClass)},t.toDisplayString(a.data.total),3)):t.createCommentVNode("",!0)],2)],2),a.arrow?(t.openBlock(),t.createElementBlock("svg",{key:0,class:t.normalizeClass([e.$style.arrowExpandIcon,a.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:a.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:i[2]||(i[2]=l=>n.clickExpand(a.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:a.colorArrow},null,8,oo)],10,no)):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.rowTeamClass),style:t.normalizeStyle(s.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftType1Class),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainertype1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPositionType1)},t.toDisplayString(a.data.position),3),t.createElementVNode("div",{class:t.normalizeClass(n.iconFavoritesType1Class)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIconType1),alt:"",src:a.data.team_logo},null,10,ro)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(a.typeView==0?e.$style.tijuanaWrapperType1:e.$style.tijuanaWrapperType1NoBg)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.tijuanaIconType1),alt:"",src:a.data.team_logo},null,10,lo)],2),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedType1Class)},t.toDisplayString(a.data.team_abrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightType1Class),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01TitlesType1)},[s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.teamNameWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamNameType1)},[t.createTextVNode(" C/"+t.toDisplayString(a.data.frequency)+" ",1),a.data.category!=2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("min")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("segs")],64))],2)],2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.ageWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.ageType1Class)},t.toDisplayString(a.data.promthistournament),3)],2)):t.createCommentVNode("",!0),s.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.playedGamesWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.playedGamesType1Class)},t.toDisplayString(a.data.promlasttournament),3)],2)):t.createCommentVNode("",!0),s.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(n.playedMinutesWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.playedMinutesType1Class)},t.toDisplayString(a.data.team_games),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02Type1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsType1Games)},[t.createElementVNode("div",{class:t.normalizeClass(n.leagueNameWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.leagueNameType1Class)},t.toDisplayString(a.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerBtnVideosType1Games)},[s.elementSize.width>679&&a.canPlayVideos?(t.openBlock(),t.createBlock(r,{key:0,icon:a.iconVideos,"icon-size":a.iconSize,"icon-position":a.iconPosition,width:a.buttonWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.buttonTextValue,"font-size":a.buttonFontSize,onClick:i[3]||(i[3]=l=>n.emitEventMedia(a.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"])):(t.openBlock(),t.createBlock(r,{key:1,mini:!0,icon:a.iconVideos,"icon-size":a.iconSizeMini,"icon-position":a.iconPosition,width:a.buttonWidthMini,height:a.buttonHeightMini,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"font-size":a.buttonFontSize,onClick:i[4]||(i[4]=l=>n.emitEventMedia(a.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","font-size"])),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosType1Class)},t.toDisplayString(a.data.total),3)],2)],2),a.arrow?(t.openBlock(),t.createElementBlock("svg",{key:0,class:t.normalizeClass([e.$style.arrowExpandIcon,a.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:a.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:i[5]||(i[5]=l=>n.clickExpand(a.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:a.colorArrow},null,8,mo)],10,co)):t.createCommentVNode("",!0)],2)],2)],6)):t.createCommentVNode("",!0),a.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPosition)},t.toDisplayString(a.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgPlayerIconClass),src:a.data.player_photo},null,10,po),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedClass)},t.toDisplayString(a.data.player_name),3),s.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:a.data.team_logo},null,10,fo)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01)},[s.elementSize.width>420?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.nameTeamGames)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:a.data.team_logo},null,10,uo),s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamName)},t.toDisplayString(a.data.team_abrev),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),s.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.position)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.dfC)},t.toDisplayString(a.data.player_position),3)],2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.age)},t.toDisplayString(a.data.player_age),3)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.country)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.manchesterUnitedIcon),alt:"",src:a.data.player_country_flag},null,10,ho)],2)):t.createCommentVNode("",!0),s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGames)},t.toDisplayString(a.data.player_games),3)):t.createCommentVNode("",!0),s.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(a.data.player_min),3)):t.createCommentVNode("",!0),s.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(a.data.league_name),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosClass)},[a.canPlayVideos?(t.openBlock(),t.createBlock(r,{key:0,icon:a.iconVideos,"icon-size":a.iconSize,"icon-position":a.iconPosition,width:s.elementSize.width<=680?"83px":a.buttonWidth,height:a.buttonHeight,"border-radius":a.buttonRadius,"border-width":a.buttonBorderWidth,"background-color":a.buttonBackground,"font-family":a.buttonfontFamily,"border-color":a.buttonBorderColor,"text-value":a.buttonTextValue,"font-size":a.buttonFontSize,onClick:i[6]||(i[6]=l=>n.emitEventMedia(a.data)),style:t.normalizeStyle(s.elementSize.width<=680?s.elementSize.width<=420?"margin-right: 35px;":"margin-right: 0px;":"")},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size","style"])):t.createCommentVNode("",!0)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,a.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:a.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:i[7]||(i[7]=l=>n.clickExpand(a.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:a.colorArrow},null,8,go)],10,yo))],2)],2)],2)):t.createCommentVNode("",!0)],512)}const bo=Y(Tt,[["render",_o],["__cssModules",{$style:Qn}]]),To={containerLeftTitles:"_containerLeftTitles_82svp_119",containerLeftTitles420:"_containerLeftTitles420_82svp_135",containerLeftTitles620:"_containerLeftTitles620_82svp_151",containerLeftTitlesTeam:"_containerLeftTitlesTeam_82svp_169",containerLeftTitlesTeam1180:"_containerLeftTitlesTeam1180_82svp_185",containerLeftTitlesTeam1090:"_containerLeftTitlesTeam1090_82svp_201",containerLeftTitlesTeam960:"_containerLeftTitlesTeam960_82svp_217",containerLeftTitlesTeam860:"_containerLeftTitlesTeam860_82svp_233",containerLeftTitlesTeam768:"_containerLeftTitlesTeam768_82svp_249",containerLeftTitlesTeam680:"_containerLeftTitlesTeam680_82svp_265",containerLeftTitlesTeam620:"_containerLeftTitlesTeam620_82svp_281",containerLeftTitlesTeam420:"_containerLeftTitlesTeam420_82svp_297",headTitlesAvanced:"_headTitlesAvanced_82svp_315",headTitlesAvanced960:"_headTitlesAvanced960_82svp_345",headTitlesAvanced420:"_headTitlesAvanced420_82svp_375",headTitlesAvanced540:"_headTitlesAvanced540_82svp_415",headTitlesAvanced460:"_headTitlesAvanced460_82svp_445",headTitlesAvanced620:"_headTitlesAvanced620_82svp_475",position:"_position_82svp_505",position420:"_position420_82svp_523",player:"_player_82svp_529",player420:"_player420_82svp_551",containerRightTypeAvanced1:"_containerRightTypeAvanced1_82svp_559",containerRightTitlesAdvanced:"_containerRightTitlesAdvanced_82svp_573",containerRightTitlesAdvanced960:"_containerRightTitlesAdvanced960_82svp_591",block02Titles:"_block02Titles_82svp_609",block02Titles620:"_block02Titles620_82svp_625",mon1Scouting:"_mon1Scouting_82svp_633",mon1Scouting960:"_mon1Scouting960_82svp_653",mon1:"_mon1_82svp_633",mon1420:"_mon1420_82svp_689",mon1620:"_mon1620_82svp_709",icnIcon:"_icnIcon_82svp_729",icnIcon960:"_icnIcon960_82svp_739",icnIcon420:"_icnIcon420_82svp_751",teamTitle:"_teamTitle_82svp_759",positionTitle:"_positionTitle_82svp_779",ageTitle:"_ageTitle_82svp_795",partidos:"_partidos_82svp_811",playedGamesTitle:"_playedGamesTitle_82svp_819",playedMinutesTitle:"_playedMinutesTitle_82svp_839",block01Titles:"_block01Titles_82svp_857",mon:"_mon_82svp_633",containesOptionsTitles:"_containesOptionsTitles_82svp_889",templateTablaProductividadType1:"_templateTablaProductividadType1_82svp_903",templateTablaProductividadType1400:"_templateTablaProductividadType1400_82svp_927",headTitlesType1:"_headTitlesType1_82svp_955",headTitlesType1420:"_headTitlesType1420_82svp_981",headTitlesType1400:"_headTitlesType1400_82svp_1013",headTitlesType1540:"_headTitlesType1540_82svp_1045",headTitlesType1460:"_headTitlesType1460_82svp_1073",headTitlesType1680:"_headTitlesType1680_82svp_1101",headTitlesType1350:"_headTitlesType1350_82svp_1127",positionType1:"_positionType1_82svp_1157",positionType1400:"_positionType1400_82svp_1175",teamType1:"_teamType1_82svp_1195",teamType1400:"_teamType1400_82svp_1213",frecuenciaType1:"_frecuenciaType1_82svp_1233",frecuenciaType1540:"_frecuenciaType1540_82svp_1249",containerLeftTitlesType1:"_containerLeftTitlesType1_82svp_1267",frecuenciaWrapperType1:"_frecuenciaWrapperType1_82svp_1283",frecuenciaWrapperType1680:"_frecuenciaWrapperType1680_82svp_1301",promedioPartidoType1:"_promedioPartidoType1_82svp_1317",promedioEstePartidoType1:"_promedioEstePartidoType1_82svp_1325",promedioEstePartidoType1960:"_promedioEstePartidoType1960_82svp_1341",promedioEstePartidoWrapperType1:"_promedioEstePartidoWrapperType1_82svp_1349",promedioEstePartidoWrapperType11200:"_promedioEstePartidoWrapperType11200_82svp_1365",promedioEstePartidoWrapperType11090:"_promedioEstePartidoWrapperType11090_82svp_1383",promedioEstePartidoWrapperType11086:"_promedioEstePartidoWrapperType11086_82svp_1403",promedioPartidosType1:"_promedioPartidosType1_82svp_1421",promedioPartidosWrapperType1:"_promedioPartidosWrapperType1_82svp_1435",promedioPartidosWrapperType1960:"_promedioPartidosWrapperType1960_82svp_1451",promedioPartidosWrapperType11086:"_promedioPartidosWrapperType11086_82svp_1457",partidosJugadosType1:"_partidosJugadosType1_82svp_1463",partidosJugadosType1960:"_partidosJugadosType1960_82svp_1475",partidosJugadosWrapperType1:"_partidosJugadosWrapperType1_82svp_1489",partidosJugadosWrapperType11200:"_partidosJugadosWrapperType11200_82svp_1505",partidosJugadosWrapperType11180:"_partidosJugadosWrapperType11180_82svp_1521",partidosJugadosWrapperType11170:"_partidosJugadosWrapperType11170_82svp_1537",partidosJugadosWrapperType11140:"_partidosJugadosWrapperType11140_82svp_1553",partidosJugadosWrapperType11086:"_partidosJugadosWrapperType11086_82svp_1569",partidosJugadosWrapperType1960:"_partidosJugadosWrapperType1960_82svp_1585",partidosJugadosWrapperType1880:"_partidosJugadosWrapperType1880_82svp_1601",partidosJugadosWrapperType1860:"_partidosJugadosWrapperType1860_82svp_1617",partidosJugadosWrapperType1830:"_partidosJugadosWrapperType1830_82svp_1633",partidosJugadosWrapperType1790:"_partidosJugadosWrapperType1790_82svp_1649",partidosJugadosWrapperType1930:"_partidosJugadosWrapperType1930_82svp_1665",partidosJugadosWrapperType1770:"_partidosJugadosWrapperType1770_82svp_1681",block01TitlesType1:"_block01TitlesType1_82svp_1687",monType1:"_monType1_82svp_1703",monType1960:"_monType1960_82svp_1721",monType1680:"_monType1680_82svp_1741",videosType1:"_videosType1_82svp_1747",videosType1680:"_videosType1680_82svp_1767",videosType1600:"_videosType1600_82svp_1785",videosType1540:"_videosType1540_82svp_1803",videosType1420:"_videosType1420_82svp_1821",videosType1400:"_videosType1400_82svp_1839",containesOptionsTitlesType1:"_containesOptionsTitlesType1_82svp_1863",containesOptionsTitlesType1768:"_containesOptionsTitlesType1768_82svp_1879",containesOptionsTitlesType1730:"_containesOptionsTitlesType1730_82svp_1893",containesOptionsTitlesType1690:"_containesOptionsTitlesType1690_82svp_1907",icnIconType1:"_icnIconType1_82svp_1921",icnIconType1420:"_icnIconType1420_82svp_1933",icnIconType1400:"_icnIconType1400_82svp_1947",block02TitlesType1:"_block02TitlesType1_82svp_1955",block02TitlesType1680:"_block02TitlesType1680_82svp_1969",block02TitlesType1350:"_block02TitlesType1350_82svp_1983",containerRightTitlesType1:"_containerRightTitlesType1_82svp_1997",containerRightTitlesType1420:"_containerRightTitlesType1420_82svp_2015"},St={components:{},computed:{icnIconType1Class(){const e=this.elementSize.width;return e<=400?this.$style.icnIconType1400:e<=420?this.$style.icnIconType1420:this.$style.icnIconType1},videosType1Class(){const e=this.elementSize.width;return e<=400?this.$style.videosType1400:e<=420?this.$style.videosType1420:e<=540?this.$style.videosType1540:e<=600?this.$style.videosType1600:e<=680?this.$style.videosType1680:this.$style.videosType1},monType1Class(){const e=this.elementSize.width;return e<=680?this.$style.monType1680:e<=960?this.$style.monType1960:this.$style.monType1},block02TitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.block02TitlesType1350:e<=680?this.$style.block02TitlesType1680:this.$style.block02TitlesType1},containesOptionsTitlesType1Class(){const e=this.elementSize.width;return e<=400?this.$style.containesOptionsTitlesType1400:e<=690?this.$style.containesOptionsTitlesType1690:e<=730?this.$style.containesOptionsTitlesType1730:e<=768?this.$style.containesOptionsTitlesType1768:this.$style.containesOptionsTitlesType1},partidosJugadosWrapperType1Class(){const e=this.elementSize.width;return e<=770?this.$style.promedioPartidosWrapperType1770:e<=790?this.$style.partidosJugadosWrapperType1790:e<=830?this.$style.partidosJugadosWrapperType1830:e<=860?this.$style.partidosJugadosWrapperType1860:e<=880?this.$style.partidosJugadosWrapperType1880:e<=930?this.$style.partidosJugadosWrapperType1930:e<=960?this.$style.partidosJugadosWrapperType1960:e<=1086?this.$style.partidosJugadosWrapperType11086:e<=1140?this.$style.partidosJugadosWrapperType11140:e<=1170?this.$style.partidosJugadosWrapperType11170:e<=1180?this.$style.partidosJugadosWrapperType11180:e<=1200?this.$style.partidosJugadosWrapperType11200:this.$style.partidosJugadosWrapperType1},promedioPartidosWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.promedioPartidosWrapperType1960:e<=1086?this.$style.promedioPartidosWrapperType11086:this.$style.promedioPartidosWrapperType1},partidosJugadosType1Class(){return this.elementSize.width<=960?this.$style.partidosJugadosType1960:this.$style.partidosJugadosType1},templateTablaProductividadType1Class(){return this.elementSize.width<=400?this.$style.templateTablaProductividadType1400:this.$style.templateTablaProductividadType1},promedioEstePartidoType1Class(){return this.elementSize.width<=960?this.$style.promedioEstePartidoType1960:this.$style.promedioEstePartidoType1},headTitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.headTitlesType1350:e<=400?this.$style.headTitlesType1400:e<=420?this.$style.headTitlesType1420:e<=460?this.$style.headTitlesType1460:e<=540?this.$style.headTitlesType1540:e<=680?this.$style.headTitlesType1680:this.$style.headTitlesType1},headTitlesClassAvanced(){const e=this.elementSize.width;return e<=420?this.$style.headTitlesAvanced420:e<=460?this.$style.headTitlesAvanced460:e<=540?this.$style.headTitlesAvanced540:e<=620?this.$style.headTitlesAvanced620:e<=960?this.$style.headTitlesAvanced960:this.$style.headTitlesAvanced},containerLeftTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitles420:e<=620?this.$style.containerLeftTitles620:this.$style.containerLeftTitles},containerLeftTitlesClassTeam(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitlesTeam420:e<=620?this.$style.containerLeftTitlesTeam620:e<=680?this.$style.containerLeftTitlesTeam680:e<=768?this.$style.containerLeftTitlesTeam768:e<=860?this.$style.containerLeftTitlesTeam860:e<=960?this.$style.containerLeftTitlesTeam960:e<=1090?this.$style.containerLeftTitlesTeam1090:e<=1180?this.$style.containerLeftTitlesTeam1180:this.$style.containerLeftTitlesTeam},icnIconClass(){const e=this.elementSize.width;return e<=420?this.$style.icnIcon420:e<=960?this.$style.icnIcon960:this.$style.icnIcon},mon1Class(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=620?this.$style.mon1620:this.$style.mon1},mon1ScoutingClass(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=960?this.$style.mon1Scouting960:this.$style.mon1Scouting},promedioEstePartidoWrapperType1Class(){const e=this.elementSize.width;return e<=1086?this.$style.promedioEstePartidoWrapperType11086:e<=1090?this.$style.promedioEstePartidoWrapperType11090:e<=1200?this.$style.promedioEstePartidoWrapperType11200:this.$style.promedioEstePartidoWrapperType1},frecuenciaWrapperType1Class(){return this.elementSize.width<=680?this.$style.frecuenciaWrapperType1680:this.$style.frecuenciaWrapperType1},frecuenciaType1Class(){return this.elementSize.width<=540?this.$style.frecuenciaType1540:this.$style.frecuenciaType1},positionType1Class(){return this.elementSize.width<=400?this.$style.positionType1400:this.$style.positionType1},containerRightType1ClassAvanced(){return this.elementSize.width<=420?this.$style.containerRightTypeAvanced1420:this.$style.containerRightTypeAvanced1},containerRightTitlesType1Class(){return this.elementSize.width<=420?this.$style.containerRightTitlesType1420:this.$style.containerRightTitlesType1},teamType1Class(){return this.elementSize.width<=400?this.$style.teamType1400:this.$style.teamType1},playerClass(){return this.elementSize.width<=420?this.$style.player420:this.$style.player},positionClass(){return this.elementSize.width<=420?this.$style.position420:this.$style.position},containerRightTitlesClassAdvanced(){return this.elementSize.width<=960?this.$style.containerRightTitlesAdvanced960:this.$style.containerRightTitlesAdvanced},block02TitlesClass(){return this.elementSize.width<=620?this.$style.block02Titles960:this.$style.block02Titles}},setup(){const e=t.ref("myDivRef"),{elementSize:i}=be(e);return{myDivRef:e,elementSize:i}},props:{type:{type:Number,default:0},background:{type:String,default:"#172531"},height:{type:String,default:"71px"},heightTeam:{type:String,default:"65px"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"}},watch:{},data:()=>({}),async created(){},methods:{}},Ha=()=>{t.useCssVars(e=>({"32aec1ca":e.background,"4e54a87a":e.height,"448b848c":e.fontSize,"4c061c38":e.fontColor,"3917092f":e.fontFamily,"4a286e80":e.heightTeam}))},qa=St.setup;St.setup=qa?(e,i)=>(Ha(),qa(e,i)):Ha;const So={ref:"myDivRef"};function wo(e,i,a,s,o,n){return t.openBlock(),t.createElementBlock("div",So,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),s.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),s.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.mon)},"Total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.mon1Class)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.templateTablaProductividadType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.headTitlesType1Class),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClassTeam),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionType1Class)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.teamType1Class)},"Equipo",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightType1ClassAvanced)},[t.createElementVNode("div",{class:t.normalizeClass(n.frecuenciaWrapperType1Class)},[s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.frecuenciaType1Class)},"Frecuencia",2)):t.createCommentVNode("",!0)],2),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.promedioEstePartidoWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.promedioEstePartidoType1Class)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):t.createCommentVNode("",!0),s.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.promedioPartidosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.promedioPartidosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},i[0]||(i[0]=[t.createTextVNode("Promedio partido"),t.createElementVNode("br",null,null,-1),t.createTextVNode("Torneo anterior")]),2)],2)],2)):t.createCommentVNode("",!0),s.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.partidosJugadosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.partidosJugadosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},i[1]||(i[1]=[t.createTextVNode("Partidos "),t.createElementVNode("br",null,null,-1),t.createTextVNode("Jugados")]),2)],2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containesOptionsTitlesType1Class)},[s.elementSize.width>680?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.monType1Class)},"total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.videosType1Class)},"Videos",2)],2)],2)],2)):t.createCommentVNode("",!0),a.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),s.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),s.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),s.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),s.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),s.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Liga",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[t.createElementVNode("div",{class:t.normalizeClass(n.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0)],512)}const Co=Y(St,[["render",wo],["__cssModules",{$style:To}]]),ko=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},wt={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))}}},Ka=()=>{t.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Za=wt.setup;wt.setup=Za?(e,i)=>(Ka(),Za(e,i)):Ka;const Eo=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),No=["src"],Vo={key:1,class:"text"},Po=["src"],Bo={class:"stats"},xo=Eo(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Fo={class:"numstats"},zo={class:"leyend"};function Ao(e,i,a,s,o,n){return t.openBlock(),t.createElementBlock("div",null,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&a.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&a.typeOnOff&&n.customActive]),onClick:i[0]||(i[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[a.icon&&a.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,No)):t.createCommentVNode("",!0),a.textValue?(t.openBlock(),t.createElementBlock("div",Vo,t.toDisplayString(a.textValue),1)):t.createCommentVNode("",!0),a.icon&&a.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,Po)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:i[1]||(i[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Bo,[xo,t.createElementVNode("div",Fo,t.toDisplayString(a.textStat),1)]),t.createElementVNode("div",zo,t.toDisplayString(a.textCategory),1)])):t.createCommentVNode("",!0)])}const Io=ko(wt,[["render",Ao],["__scopeId","data-v-f3ee6b2b"]]),Ro={equipoGames:"_equipoGames_fst7d_75",atlasSeleccinGames:"_atlasSeleccinGames_fst7d_85",equipoAtlasSeleccinMexiGames:"_equipoAtlasSeleccinMexiGames_fst7d_93",aosGames:"_aosGames_fst7d_101",span12:"_span12_fst7d_109",nacionalidadMex:"_nacionalidadMex_fst7d_115",manchesterUnited:"_manchesterUnited_fst7d_121",manchesterUnited12:"_manchesterUnited12_fst7d_135",containerInfoGames:"_containerInfoGames_fst7d_155",verPerfil12:"_verPerfil12_fst7d_173",btnProfile:"_btnProfile_fst7d_191",containerButton:"_containerButton_fst7d_223",dataContainer:"_dataContainer_fst7d_237",expandedInfoPlayerGames:"_expandedInfoPlayerGames_fst7d_257",containerDataBg:"_containerDataBg_fst7d_437",containerDataSm:"_containerDataSm_fst7d_459",span:"_span_fst7d_109",manchesterUnited14:"_manchesterUnited14_fst7d_481",filter:"_filter_fst7d_491",verPerfil:"_verPerfil_fst7d_173",manchesterUnited8:"_manchesterUnited8_fst7d_533",manchesterUnitedParent1:"_manchesterUnitedParent1_fst7d_545",manchesterUnited1:"_manchesterUnited1_fst7d_135",manchesterUnitedParent:"_manchesterUnitedParent_fst7d_545",frameDiv:"_frameDiv_fst7d_589",infoExpanded:"_infoExpanded_fst7d_605",countryFlag:"_countryFlag_fst7d_911"},Ct={components:{GSCButton:Io},props:{isLive:{type:Boolean,default:!1},background:{type:String,default:"#172531"},type:{type:Number,default:1},viewButton:{type:Boolean,default:!0},viewTeam:{type:Boolean,default:!0},viewAge:{type:Boolean,default:!0},viewNationality:{type:Boolean,default:!0},viewPosition:{type:Boolean,default:!0},viewGames:{type:Boolean,default:!0},viewMin:{type:Boolean,default:!0},viewGoals:{type:Boolean,default:!0},viewEffectiveness:{type:Boolean,default:!0},height:{type:String,default:"134px"},fontColor:{type:String,default:"#ffffffb3"},fontColorValue:{type:String,default:"#ffffff"},fontFamily:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"10px"},additionalClass:{type:String,default:""},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef"),{elementSize:i}=be(e);return{myDivRef:e,elementSize:i}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},Ya=()=>{t.useCssVars(e=>({a297a8e8:e.fontFamily,"05868b8a":e.fontColor,"9181d814":e.fontColorValue,c650cbae:e.fontSize,af6837b2:e.background}))},Xa=Ct.setup;Ct.setup=Xa?(e,i)=>(Ya(),Xa(e,i)):Ya;const Oo={ref:"myDivRef"},Lo=["src"];function Go(e,i,a,s,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",Oo,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.expandedInfoPlayerGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerInfoGames,a.additionalClass]),id:"container-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},[a.viewTeam?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.atlasSeleccinGames)},t.toDisplayString(a.data.teams),3)],2)):t.createCommentVNode("",!0),a.viewAge?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Edad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(a.data.age)+" años",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)}," ("+t.toDisplayString(a.data.dataofbirth)+")",3)],2)):t.createCommentVNode("",!0),a.viewNationality?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},[t.createTextVNode(t.toDisplayString(a.data.nationality.substring(0,3).toUpperCase())+" ",1),t.createElementVNode("div",{class:t.normalizeClass(e.$style.countryFlag)},[t.createElementVNode("img",{src:a.data.countryFlag},null,8,Lo)],2)],2)],2)):t.createCommentVNode("",!0),a.viewPosition?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Posición: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(a.data.position),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited12)},[a.viewGames&&!a.isLive?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(a.data.games),3)],2)):t.createCommentVNode("",!0),a.viewMin&&!a.isLive?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(a.data.min),3)],2)):t.createCommentVNode("",!0),a.viewGoals?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},t.toDisplayString(a.data.category)+": ",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(a.data.goals),3)],2)):t.createCommentVNode("",!0),a.viewEffectiveness?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(a.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerButton),id:"btn-container"},[a.viewButton?(t.openBlock(),t.createBlock(r,{key:0,style:t.normalizeStyle(a.additionalClass!=""&&s.elementSize.width>540?"margin-right: 50px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:i[0]||(i[0]=l=>n.viewProfile(a.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.infoExpanded)},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerDataBg,a.additionalClass])},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[2]||(i[2]=t.createElementVNode("span",null,"Posición en la tabla: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[3]||(i[3]=t.createElementVNode("span",null,"Goles anotados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[4]||(i[4]=t.createElementVNode("span",null,"Goles recibidos: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[5]||(i[5]=t.createElementVNode("span",null,"Partidos jugados:",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[a.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited1)},[i[6]||(i[6]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[7]||(i[7]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.xg),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(a.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.total),3)],2),a.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited8)},[i[8]||(i[8]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.effectiveness)+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[i[9]||(i[9]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.xg),3)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataSm)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameDiv)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[10]||(i[10]=t.createElementVNode("span",null,"Posición en la tabla: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[11]||(i[11]=t.createElementVNode("span",null,"Goles anotados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[12]||(i[12]=t.createElementVNode("span",null,"Goles recibidos: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[13]||(i[13]=t.createElementVNode("span",null,"Partidos jugados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent1)},[a.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited14)},[i[14]||(i[14]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[i[15]||(i[15]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.xg),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(a.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[t.createElementVNode("span",null,t.toDisplayString(a.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(a.data.total),3)],2)],2)],2),a.viewButton?(t.openBlock(),t.createBlock(r,{key:0,style:t.normalizeStyle(a.additionalClass!=""&&s.elementSize.width>540?"margin-right: 42px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:i[1]||(i[1]=l=>n.viewProfile(a.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],512)}const Wo=Y(Ct,[["render",Go],["__cssModules",{$style:Ro}],["__scopeId","data-v-5dd9e88d"]]);/**
|
|
7
|
-
*
|
|
8
|
-
* (c) 2023
|
|
9
|
-
|
|
10
|
-
*/const I={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"}},Qa={itemsToShow:{default:I.itemsToShow,type:Number},itemsToScroll:{default:I.itemsToScroll,type:Number},wrapAround:{default:I.wrapAround,type:Boolean},throttle:{default:I.throttle,type:Number},snapAlign:{default:I.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:I.transition,type:Number},breakpoints:{default:I.breakpoints,type:Object},autoplay:{default:I.autoplay,type:Number},pauseAutoplayOnHover:{default:I.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:I.mouseDrag,type:Boolean},touchDrag:{default:I.touchDrag,type:Boolean},dir:{default:I.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:I.i18n,type:Object},settings:{default(){return{}},type:Object}};function Do({config:e,slidesCount:i}){const{snapAlign:a,wrapAround:s,itemsToShow:o=1}=e;if(s)return Math.max(i-1,0);let n;switch(a){case"start":n=i-o;break;case"end":n=i-1;break;case"center":case"center-odd":n=i-Math.ceil((o-.5)/2);break;case"center-even":n=i-Math.ceil(o/2);break;default:n=0;break}return Math.max(n,0)}function Mo({config:e,slidesCount:i}){const{wrapAround:a,snapAlign:s,itemsToShow:o=1}=e;let n=0;if(a||o>i)return n;switch(s){case"start":n=0;break;case"end":n=o-1;break;case"center":case"center-odd":n=Math.floor((o-1)/2);break;case"center-even":n=Math.floor((o-2)/2);break;default:n=0;break}return n}function kt({val:e,max:i,min:a}){return i<a?e:Math.min(Math.max(e,a),i)}function vo({config:e,currentSlide:i,slidesCount:a}){const{snapAlign:s,wrapAround:o,itemsToShow:n=1}=e;let r=i;switch(s){case"center":case"center-odd":r-=(n-1)/2;break;case"center-even":r-=(n-2)/2;break;case"end":r-=n-1;break}return o?r:kt({val:r,max:a-n,min:0})}function ei(e){return e?e.reduce((i,a)=>{var s;return a.type===t.Fragment?[...i,...ei(a.children)]:((s=a.type)===null||s===void 0?void 0:s.name)==="CarouselSlide"?[...i,a]:i},[]):[]}function Et({val:e,max:i,min:a=0}){return e>i?Et({val:e-(i+1),max:i,min:a}):e<a?Et({val:e+(i+1),max:i,min:a}):e}function jo(e,i){let a;return i?function(...s){const o=this;a||(e.apply(o,s),a=!0,setTimeout(()=>a=!1,i))}:e}function Uo(e,i){let a;return function(...s){a&&clearTimeout(a),a=setTimeout(()=>{e(...s),a=null},i)}}function $o(e="",i={}){return Object.entries(i).reduce((a,[s,o])=>a.replace(`{${s}}`,String(o)),e)}var Jo=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},I))),i=t.inject("currentSlide",t.ref(0)),a=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},$o(e.i18n.itemXofY,{currentSlide:i.value+1,slidesCount:a.value}))}}),Ho=t.defineComponent({name:"Carousel",props:Qa,setup(e,{slots:i,emit:a,expose:s}){var o;const n=t.ref(null),r=t.ref([]),l=t.ref(0),p=t.ref(0),c=t.reactive(Object.assign({},I));let d=Object.assign({},I),m;const f=t.ref((o=e.modelValue)!==null&&o!==void 0?o:0),u=t.ref(0),y=t.ref(0),h=t.ref(0),b=t.ref(0);let S,T;t.provide("config",c),t.provide("slidesCount",p),t.provide("currentSlide",f),t.provide("maxSlide",h),t.provide("minSlide",b),t.provide("slideWidth",l);function E(){m=Object.assign({},e.breakpoints),d=Object.assign(Object.assign(Object.assign({},d),e),{i18n:Object.assign(Object.assign({},d.i18n),e.i18n),breakpoints:void 0}),N(d)}function P(){if(!m||!Object.keys(m).length)return;const w=Object.keys(m).map(z=>Number(z)).sort((z,Z)=>+Z-+z);let R=Object.assign({},d);w.some(z=>{const Z=window.matchMedia(`(min-width: ${z}px)`).matches;return Z&&(R=Object.assign(Object.assign({},R),m[z])),Z}),N(R)}function N(w){Object.entries(w).forEach(([R,z])=>c[R]=z)}const B=Uo(()=>{P(),F()},16);function F(){if(!n.value)return;const w=n.value.getBoundingClientRect();l.value=w.width/c.itemsToShow}function j(){p.value<=0||(y.value=Math.ceil((p.value-1)/2),h.value=Do({config:c,slidesCount:p.value}),b.value=Mo({config:c,slidesCount:p.value}),c.wrapAround||(f.value=kt({val:f.value,max:h.value,min:b.value})))}t.onMounted(()=>{t.nextTick(()=>F()),setTimeout(()=>F(),1e3),P(),Qi(),window.addEventListener("resize",B,{passive:!0}),a("init")}),t.onUnmounted(()=>{T&&clearTimeout(T),S&&clearInterval(S),window.removeEventListener("resize",B,{passive:!0})});let A=!1;const at={x:0,y:0},it={x:0,y:0},oe=t.reactive({x:0,y:0}),st=t.ref(!1),Yt=t.ref(!1),$f=()=>{st.value=!0},Jf=()=>{st.value=!1};function Zi(w){["INPUT","TEXTAREA","SELECT"].includes(w.target.tagName)||(A=w.type==="touchstart",A||w.preventDefault(),!(!A&&w.button!==0||re.value)&&(at.x=A?w.touches[0].clientX:w.clientX,at.y=A?w.touches[0].clientY:w.clientY,document.addEventListener(A?"touchmove":"mousemove",Yi,!0),document.addEventListener(A?"touchend":"mouseup",Xi,!0)))}const Yi=jo(w=>{Yt.value=!0,it.x=A?w.touches[0].clientX:w.clientX,it.y=A?w.touches[0].clientY:w.clientY;const R=it.x-at.x,z=it.y-at.y;oe.y=z,oe.x=R},c.throttle);function Xi(){const w=c.dir==="rtl"?-1:1,R=Math.sign(oe.x)*.4,z=Math.round(oe.x/l.value+R)*w;if(z&&!A){const Z=Qt=>{Qt.stopPropagation(),window.removeEventListener("click",Z,!0)};window.addEventListener("click",Z,!0)}le(f.value-z),oe.x=0,oe.y=0,Yt.value=!1,document.removeEventListener(A?"touchmove":"mousemove",Yi,!0),document.removeEventListener(A?"touchend":"mouseup",Xi,!0)}function Qi(){!c.autoplay||c.autoplay<=0||(S=setInterval(()=>{c.pauseAutoplayOnHover&&st.value||nt()},c.autoplay))}function es(){S&&(clearInterval(S),S=null),Qi()}const re=t.ref(!1);function le(w){const R=c.wrapAround?w:kt({val:w,max:h.value,min:b.value});f.value===R||re.value||(a("slide-start",{slidingToIndex:w,currentSlideIndex:f.value,prevSlideIndex:u.value,slidesCount:p.value}),re.value=!0,u.value=f.value,f.value=R,T=setTimeout(()=>{if(c.wrapAround){const z=Et({val:R,max:h.value,min:0});z!==f.value&&(f.value=z,a("loop",{currentSlideIndex:f.value,slidingToIndex:w}))}a("update:modelValue",f.value),a("slide-end",{currentSlideIndex:f.value,prevSlideIndex:u.value,slidesCount:p.value}),re.value=!1,es()},c.transition))}function nt(){le(f.value+c.itemsToScroll)}function Xt(){le(f.value-c.itemsToScroll)}const ts={slideTo:le,next:nt,prev:Xt};t.provide("nav",ts),t.provide("isSliding",re);const as=t.computed(()=>vo({config:c,currentSlide:f.value,slidesCount:p.value}));t.provide("slidesToScroll",as);const Hf=t.computed(()=>{const w=c.dir==="rtl"?-1:1,R=as.value*l.value*w;return{transform:`translateX(${oe.x-R}px)`,transition:`${re.value?c.transition:0}ms`,margin:c.wrapAround?`0 -${p.value*l.value}px`:"",width:"100%"}});function is(){E(),P(),j(),F(),es()}Object.keys(Qa).forEach(w=>{["modelValue"].includes(w)||t.watch(()=>e[w],is)}),t.watch(()=>e.modelValue,w=>{w!==f.value&&le(Number(w))}),t.watch(p,j),a("before-init"),E();const ss={config:c,slidesCount:p,slideWidth:l,next:nt,prev:Xt,slideTo:le,currentSlide:f,maxSlide:h,minSlide:b,middleSlide:y};s({updateBreakpointsConfigs:P,updateSlidesData:j,updateSlideWidth:F,initDefaultConfigs:E,restartCarousel:is,slideTo:le,next:nt,prev:Xt,nav:ts,data:ss});const ns=i.default||i.slides,os=i.addons,rs=t.reactive(ss);return()=>{const w=ei(ns==null?void 0:ns(rs)),R=(os==null?void 0:os(rs))||[];w.forEach((ea,ta)=>ea.props.index=ta);let z=w;if(c.wrapAround){const ea=w.map((aa,ke)=>t.cloneVNode(aa,{index:-w.length+ke,isClone:!0,key:`clone-before-${ke}`})),ta=w.map((aa,ke)=>t.cloneVNode(aa,{index:w.length+ke,isClone:!0,key:`clone-after-${ke}`}));z=[...ea,...w,...ta]}r.value=w,p.value=Math.max(w.length,1);const Z=t.h("ol",{class:"carousel__track",style:Hf.value,onMousedownCapture:c.mouseDrag?Zi:null,onTouchstartPassiveCapture:c.touchDrag?Zi:null},z),Qt=t.h("div",{class:"carousel__viewport"},Z);return t.h("section",{ref:n,class:{carousel:!0,"is-sliding":re.value,"is-dragging":Yt.value,"is-hover":st.value,"carousel--rtl":c.dir==="rtl"},dir:c.dir,"aria-label":c.i18n.ariaGallery,tabindex:"0",onMouseenter:$f,onMouseleave:Jf},[Qt,R,t.h(Jo)])}}}),ti;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(ti||(ti={}));var qo=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:i}){const a=t.inject("config",t.reactive(Object.assign({},I))),s=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesToScroll",t.ref(0)),n=t.inject("isSliding",t.ref(!1)),r=()=>e.index===s.value,l=()=>e.index===s.value-1,p=()=>e.index===s.value+1,c=()=>{const d=Math.floor(o.value),m=Math.ceil(o.value+a.itemsToShow-1);return e.index>=d&&e.index<=m};return()=>{var d;return t.h("li",{style:{width:`${100/a.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":c(),"carousel__slide--active":r(),"carousel__slide--prev":l(),"carousel__slide--next":p(),"carousel__slide--sliding":n.value},"aria-hidden":!c()},(d=i.default)===null||d===void 0?void 0:d.call(i))}}});const Ko=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},Zo=e=>(t.pushScopeId("data-v-54620d25"),e=e(),t.popScopeId(),e),Yo={class:"gsc-carousel"},Xo={key:0},Qo=Zo(()=>t.createElementVNode("div",null,"no hay",-1)),er=[Qo],tr={class:"gsc-carousel__2d__slides"},ar={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ir=["fill"],sr={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nr=["fill"],or={class:"gsc-carousel__2d__navigation"},rr={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lr=["stroke"],cr={key:1,class:"gsc-carousel__2d__navigation__pagination"},dr=["onClick"],mr={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pr=["stroke"],fr={__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(i=>i 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"},arrowsMaxWidth:{type:String,default:"20px"},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:i,emit:a}){const s=e;t.useCssVars(h=>({"2c72d674":e.slideLeftArrowBackgroundImage,"90a63f40":e.slidesArrowsLeftAndRight,"2627d097":e.slideRightArrowBackgroundImage,"1904d43f":e.marginTop,cfb58986:e.secondarySlidesOpacity}));const o=t.ref(null),n=t.ref({}),r=t.ref(0),l=t.ref(!1);t.watch(o,h=>{h&&l.value?(l.value=!1,p(s.items)):h&&h.slideTo&&h.slideTo(r.value)},{deep:!0}),t.watch(()=>s.currentItemIndex,h=>{r.value!==h&&f(h)}),t.watch(()=>s.defaultItemByIndex,h=>{r.value!==h&&f(h)}),t.watch(()=>s.items,h=>{o.value?p(h):l.value=!0},{immediate:!0});function p(h){h&&h.length&&o.value&&setTimeout(()=>{if(s.defaultItemByProp){const b=s.items.findIndex(S=>S[s.defaultItemByProp.propName]===s.defaultItemByProp.value);b!==-1?(r.value=b,n.value=h[b]):(r.value=0,n.value=h[0])}else r.value=s.defaultItemByIndex,n.value=h[s.defaultItemByIndex];o.value.slideTo&&o.value.slideTo(r.value),n.value&&r.value===0&&a("input",{selectedItem:n.value,selectedItemIndex:r.value})},500)}function c(){o.value&&o.value.next()}function d(){o.value&&o.value.prev()}function m(){o.value&&o.value.updateSlideWidth()}function f(h){o.value&&o.value.slideTo(h)}function u(h){o.value.slideTo(h)}function y(h){const b=h.slidingToIndex<0?s.items.length-1:h.slidingToIndex===s.items.length?0:h.slidingToIndex;r.value=b,n.value=s.items[b],a("update:currentItemIndex",b),a("input",{selectedItem:n.value,selectedItemIndex:r.value})}return i({prev:d,next:c,updateSlideWidth:m,slideTo:f}),(h,b)=>(t.openBlock(),t.createElementBlock("div",Yo,[s.is3d?(t.openBlock(),t.createElementBlock("div",Xo,er)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",tr,[t.createVNode(t.unref(Ho),{ref_key:"carousel2d",ref:o,"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,(S,T)=>(t.openBlock(),t.createBlock(t.unref(qo),{key:T},{default:t.withCtx(()=>[t.renderSlot(h.$slots,"default",{item:S},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible&&e.items.length>1?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",style:t.normalizeStyle("max-width:"+e.arrowsMaxWidth+"!important"),onClick:b[0]||(b[0]=S=>o.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",ar,[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,ir)]))],2)],4)):t.createCommentVNode("",!0),e.areSlidesArrowsVisible&&e.items.length>1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",style:t.normalizeStyle("max-width:"+e.arrowsMaxWidth+"!important"),onClick:b[1]||(b[1]=S=>c())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",sr,[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,nr)]))],2)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",or,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:b[2]||(b[2]=S=>d())},[(t.openBlock(),t.createElementBlock("svg",rr,[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:s.arrowsColor},null,8,lr)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",cr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(S,T)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${T}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${s.navigationHeight}px`,width:`${r.value===T?s.navigationActiveWidth:s.navigationActiveWidth/2}px`,borderRadius:`${s.navigationBorderRadius}px`,backgroundColor:`${r.value===T?s.navigationActiveColor:s.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:E=>u(T)},null,12,dr))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:b[3]||(b[3]=S=>o.value.next())},[(t.openBlock(),t.createElementBlock("svg",mr,[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:s.arrowsColor},null,8,pr)]))])):t.createCommentVNode("",!0)])],2))]))}},ur=Ko(fr,[["__scopeId","data-v-54620d25"]]),ai={3:"Albanesa",4:"Argelina",6:"Andorrano",7:"Angoleña",8:"Anguillan",9:"Antiguan",10:"Argentina",11:"Armenia",12:"Arubeño",13:"Austríaca",14:"Austríaca",15:"Azerbaiyano",16:"Bahamas",17:"Bareini",18:"Bangladesí",19:"Barbadense",20:"Bielorrusa",21:"Belga",22:"Beliceña",23:"Beninesa",24:"Bermudeña",25:"Butanés",26:"Boliviana",27:"Bosnia",28:"Botsuano",29:"Brasileña",30:"Islas Vírgenes Británicas",31:"Bruneano",32:"Búlgara",33:"Burundés",34:"Burmesa",35:"Burundés",36:"Camboyana",37:"Camerunés",38:"Canadiense",39:"Caboverdiano",40:"Caimanés",41:"Centroafricana",42:"Chadiano",43:"Chilena",44:"China",45:"Isla de Navidad",46:"Cocos Island",47:"Colombiana",48:"Comorense",49:"Congoleña",50:"Cookiano",51:"Costarricense",52:"Marfileña",53:"Croata",54:"Cubana",55:"Chipriota",56:"Checa",57:"Danesa",58:"Djibouti",60:"Dominicana",61:"Timorense",62:"Ecuatoriana",63:"Egipcia",64:"Salvadoreña",65:"Inglesa",66:"Ecuatoguineano",67:"Eritreo",68:"Estoniana",69:"Etíope",70:"Islas Malvinas",71:"Feroés",72:"Fiyiano",73:"Finlandesa",74:"Francesa",75:"Guayana Francesa",76:"Francopolinecio",77:"Gabonesa",78:"Gambiana",79:"Georgiano",80:"Alemana",81:"Ghanesa",82:"Gibraltareño",221:"Británico",84:"Griega",85:"Groenlandés",86:"Granadino",87:"Guadeloupeño",89:"Guatemalteca",90:"Guineana",91:"Guyanés",92:"Haitiana",93:"Hondureña",94:"Hongkongese",95:"Húngaro",96:"Islandesa",97:"Indio",98:"Indonesia",99:"Iraní",100:"Iraquí",101:"Irlandesa",102:"Manés",103:"Israelí",104:"Italiana",105:"Jamaiquina",106:"Japonesa",107:"Jordana",108:"Kazaja",109:"Keniana",110:"Kiribatiano",111:"Coreana",112:"Surcoreana",113:"Kosovan",114:"Kuwaití",115:"Kirguisa",116:"Laosiano",117:"Letona",118:"Libanesa",119:"Basotho",120:"Liberiana",121:"Libia",122:"Liechtenstein",123:"Lituano",124:"Luxemburguesa",125:"Macaneso",126:"Macedonia",127:"Malgache",128:"Malaya",129:"Malaya",130:"Maldivo",131:"Mali",132:"Maltesa",133:"Marshallese",134:"Martiniqueña",135:"Mauritania",136:"Mauriciano",137:"Mahoran",138:"Mexicana",139:"Micronesio",140:"Moldava",141:"Monacan",142:"Mongol",143:"Montenegrina",144:"Montserratiano",145:"Marroqui",146:"Mozambiqueña",147:"Namibio",148:"Nauruan",149:"Nepalí",150:"Holandesa",151:"Neocaledonio",152:"Neozelandesa",153:"Nicaragüense",154:"Niueño",155:"Nigerina",156:"Nigeriana",157:"Noruega",158:"Normariano",159:"Omaní",160:"Palestina",161:"Palestina",162:"Palauan",163:"Panameña",164:"Papú",165:"Paraguaya",166:"Peruana",167:"Filipina",168:"Pitcairnés",169:"Polaca",170:"Portuguesa",171:"Puertorriqueña",172:"Catari",173:"Reunionés",174:"Rumana",175:"Rusa",176:"Ruandés",177:"Santa Elena",178:"Sancristobaleña",179:"Santa Lucía",180:"Miquelonnais",181:"Sanvicentina",182:"Samoano",183:"Sanmariense",184:"Santotomense",185:"Saudí",186:"Escocesa",187:"Senegalense",188:"Serbia",189:"Seychellense",190:"Sierraleonesa",191:"Singapurense",192:"Eslovena",193:"Eslovena",194:"Salomonense",195:"Somalí",196:"Sudafricana",197:"Surosetio",198:"Española",199:"Esrilanques",200:"Sudanés",201:"Surinamés",202:"Swazi",203:"Sueca",204:"Suiza",205:"Sirio",206:"Taiwanesa",207:"Tayiko",208:"Tanzano",209:"Tailandesa",210:"Togo",211:"Tongano",212:"Trinitaria",213:"Tunecina",214:"Turca",215:"Turkmena",216:"none",217:"Tuvaluano",218:"Ugandesa",219:"Ucraniana",220:"Emiratí",222:"Americana",223:"Uruguaya",224:"Uzbeka",225:"Vanuatuense",226:"Venezolana",227:"Vietnamita",228:"Islas Vírgenes",229:"Galesa",230:"Walisiano",231:"Saharaui",232:"Yemení",233:"Zambiana",234:"Zimbabuense",236:"Curazaleña",237:"San Martín",239:"Debutante"},Nt={components:{GSCCarousel:ur,GSCLeaders:Xn,GSCRowTable:bo,GSCTableHeader:Co,GSCExpandedInfo:Wo},props:{isTeam:{type:Boolean,default:!1},typeTable:{type:Number,default:0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},typeData:{type:Number,default:1},gameId:{type:Number,default:0},filtersProp:{type:[Object,String],default:()=>{}},game:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},filterTeam:{type:Number,default:0},timeLiveComparativeAvanced:{type:Number,default:6e4},category:{type:Number,default:1},categoryName:{type:String,default:"Goles"},seasonSelected:{type:Object,default:()=>({})},season:{type:Number,default:1772},type:{type:Number,default:0},borderRadius:{type:String,default:"8px"},borderWidth:{type:[String,Number],default:"2px"},borderColor:{type:String,default:"#cfcfcf"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},numRows:{type:Number,default:5}},setup(){const e=t.ref("myDivRef"),{elementSize:i}=be(e);return{myDivRef:e,elementSize:i}},watch:{game:{immediate:!0,deep:!0,async handler(e){e&&(this.playersInfo={},this.teamInfo={},this.isloading=!0,this.formatFilterStats=[],await this.getCategoryStats(this.season),this.game.is_live&&(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)))}},typeData:{immediate:!0,async handler(e){await this.getCategoryStats(this.season),e===1&&this.game.is_live?(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)):clearInterval(this.intervalIdtops)}},filtersProp:{immediate:!1,deep:!0,async handler(e,i){e&&(JSON.stringify(e)!==JSON.stringify(i)||this.sonConjuntosDistintos(e.setNationalitiesIds,i.setNationalitiesIds))&&(this.isloading=!0,this.filterEmitAux=e,[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.filterEmitAux.typeZone=1:this.filterEmitAux.typeZone=2,this.formatFilterStats=await this.filterRecords(this.filterEmitAux))}}},computed:{topData(){if(this.changeStateLoading(!0),Object.entries(this.statsData).length>0&&this.formatFilterStats.length>0){var e={},i={},a=[],s=[],o=[];return this.formatFilterStats.map(n=>{e[n.team_id]?e[n.team_id].total=e[n.team_id].total+n.total:(e[n.team_id]={},e[n.team_id].total=n.total,e[n.team_id].id=this.teamInfo[n.team_id].id,e[n.team_id].name=this.teamInfo[n.team_id].name.replace(" Femenil",""),e[n.team_id].img="https://golstatsimages.blob.core.windows.net/teams-80/"+n.team_id+".png",e[n.team_id].effectiveness=this.teamInfo[n.team_id].effectiveness,e[n.team_id].frecuency=this.teamInfo[n.team_id].frecuency,e[n.team_id].game_avg=this.teamInfo[n.team_id].game_avg,e[n.team_id].game_avg_last_season=this.teamInfo[n.team_id].game_avg_last_season,e[n.team_id].games_played_lastseason=this.teamInfo[n.team_id].games_played_lastseason,e[n.team_id].games_played=this.teamInfo[n.team_id].games_played,e[n.team_id].positiontable=this.teamInfo[n.team_id].positiontable,e[n.team_id].goals=this.teamInfo[n.team_id].goals,e[n.team_id].goalsrecived=this.teamInfo[n.team_id].goalsrecived,e[n.team_id].xg=this.teamInfo[n.team_id].xg),i[n.player_id]?n.player_id!=0&&n.player_id!=62117&&(i[n.player_id].total=i[n.player_id].total+n.total):n.player_id!=0&&n.player_id!=62117&&(i[n.player_id]={},i[n.player_id].total=n.total,n.player_id&&this.playersInfo[n.player_id]?(i[n.player_id].name=this.playersInfo[n.player_id].name,i[n.player_id].name_short=this.getnameshort(this.playersInfo[n.player_id].name),i[n.player_id].img=this.playersInfo[n.player_id].img,i[n.player_id].id=this.playersInfo[n.player_id].id,i[n.player_id].age=this.playersInfo[n.player_id].age,i[n.player_id].team=this.playersInfo[n.player_id].team,i[n.player_id].teamname=this.playersInfo[n.player_id].teamname,i[n.player_id].teamid=this.playersInfo[n.player_id].teamid,i[n.player_id].position=this.playersInfo[n.player_id].position,i[n.player_id].positionId=this.playersInfo[n.player_id].positionId,i[n.player_id].positionfull=this.playersInfo[n.player_id].positionfull,i[n.player_id].country=this.playersInfo[n.player_id].country,i[n.player_id].effectiveness=this.playersInfo[n.player_id].effectiveness,i[n.player_id].minutes=this.playersInfo[n.player_id].minutes_played,i[n.player_id].games=this.playersInfo[n.player_id].games_played,i[n.player_id].date=this.playersInfo[n.player_id].date,i[n.player_id].nationality=this.playersInfo[n.player_id].nationality,i[n.player_id].player_country_flag=this.playersInfo[n.player_id].player_country_flag,i[n.player_id].categoryName=this.categoryName):(i[n.player_id].id=n.player_id,i[n.player_id].name=n.player_id,i[n.player_id].img="SIN IMAGEN",i[n.player_id].age="",i[n.player_id].teamname="",i[n.player_id].team="",i[n.player_id].teamid=0,i[n.player_id].position="",i[n.player_id].positionId=0,i[n.player_id].positionfull="",i[n.player_id].country="",i[n.player_id].effectiveness="",i[n.player_id].minutes="",i[n.player_id].games="",i[n.player_id].date="00-00-0000",i[n.player_id].nationality="",i[n.player_id].player_country_flag="",i[n.player_id].categoryName=""))}),a.push(...Object.values(e)),s.push(...Object.values(i)),a=this.sortAndSlice(Object.values(e),60),s=s.sort(this.compareObjectsMinutes).slice(0,60),s=s.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),a=a.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),this.filterTeam!==0&&!this.isTeam&&(o=s.filter(n=>n.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(a):this.filterTeam!=0?this.formatArrayPaginate(o):this.formatArrayPaginate(s)}else return this.changeStateLoading(!1),[]}},data:()=>({url:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/live/tops",urlPrematch:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory/",data_headers:["team_id","player_id","playing_as","match_result","section","total","origen","destino"],token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",mapPlayers:new Map,setNationalityIds:new Set,arrayAgeRange:[0,0],arePlaysEmpty:!1,teamInfo:{},formatFilterStats:[],formatStats:[],playersInfo:{},isloading:!0,statsData:{},updateSlider:0,intervalIdtops:null,filterEmitAux:{},filtersSelect:{playingAs:[],matchResult:[],sections:[],zone:[],typeZone:[]},filtersValues:{type:1,sections:[1,2,3,4,5,6],matchResult:[1,2,3],playingAs:[1,2],zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],typeZone:1,arrayAgeRange:[1,60],setNationalitiesIds:[],setPositionsIds:[1,2,3,4,5,6,7,8,9]},expand:!1,playerexpand:0,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],categories:[{id:1,name:"Goles"}]}),methods:{changeStateLoading(e){this.isloading=e},compareObjectsMinutes(e,i){return e.total>i.total?-1:e.total<i.total?1:e.minutes<i.minutes?-1:e.minutes>i.minutes?1:0},sonConjuntosDistintos(e,i){const a=Array.from(e),s=Array.from(i);if(a.length!==s.length)return!0;for(let o=0;o<a.length;o++)if(!i.has(a[o]))return!0;return!1},getnameshort(e){var i=e.split(","),a=i[0].split(" "),s=i[1].trim().split(" "),o="";a.length==2||a.length==1?a[0].length<4?o=a[0]+" "+a[1]:o=a[0]:a.length==3?o=a[0]+" "+a[1]:a.length==4&&(o=a[1]+" "+a[2]+" "+a[3]);var n=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},changeCarrousel(){this.expand=!1,this.playerexpand=0},compareObjects(e,i){return e.total<i.total?-1:e.total>i.total?1:e.name<i.name?-1:e.name>i.name?1:0},sortAndSlice(e,i){return e.sort((a,s)=>(a.name<s.name?1:-1)&&(a.total<s.total?1:-1)).slice(0,i)},getCategoryName(e){let i="";for(let a=0;a<this.categories.length;a++)e==this.categories[a].id&&(i=this.categories[a].name);return i},translateTopCategories(e){return{1:[12,55,"35_r","54_r"],2:[2,20],3:[485,486,487,488],4:[10,324],5:[27,323],6:[510],7:[537,540,544,547],8:[328],9:[231,238,280,287,294,406],10:[13,25],11:[98,101,104,105,109,112,115,116],12:[4],13:[88],14:[5],15:[34],16:[23],17:[11],18:[17,50],19:[18,49],20:[14,52],21:[15,53],22:[39],23:[31,32]}[e]||[]},getCoordinatePointPerCategory(e){return{1:2,2:3,3:1,4:2,5:1,6:2,7:2,8:1,9:1,10:2,11:2,12:1,13:1,14:1,15:1,16:1,17:1,18:3,19:3,20:3,21:3,22:1,23:1}[e]||0},emitEventMedia(e,i,a){let s=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone,l=this.translateTopCategories(i);Object.keys(this.filterEmitAux).length>0&&(s=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2,f=e.player_id;let u=[],y=this.isTeam?e.id:this.filterTeam;f?this.isTeam?y=f:(u=[f],l=l.filter(b=>!b.toString().includes("_r"))):this.isTeam?y=e.id:(u=[e.id],l=l.filter(b=>!b.toString().includes("_r")));const h={auxwidget:!!(this.canPlayVideos||this.game.awayTeam.team_id==this.teamWidget&&this.typeData!=1),seasonId:this.game.is_live==1?this.season:this.game.regularSeasonId,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:u,goalkeeperIds:[],categoryIds:this.translateTopCategories(i),teamId:y||0,matchResult:s,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:a,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(i)}};this.$emit("setopenmedia",h)},emitEventMediaFullTable(e,i,a){let s=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone,l=this.translateTopCategories(i);Object.keys(this.filterEmitAux).length>0&&(s=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2;let f=[],u=this.isTeam?e.id:this.filterTeam;this.isTeam?u=e.id:(f=[e.id],l=l.filter(h=>!h.toString().includes("_r")));const y={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:f,goalkeeperIds:[],categoryIds:l,teamId:u||0,matchResult:s,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:a,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(i)}};this.$emit("setopenmedia",y)},replaceImgPlayer(e){return e.replace("https://golstatsimages.blob.core.windows.net/players-profile/","https://golstatsimages.blob.core.windows.net/players-profile-no-bg/")},abrevName(e){var i=e.split(","),a=i[0].split(" "),s=i[1].trim().split(" "),o="";a.length==2||a.length==1?a[0].length<4?o=a[0]+" "+a[1]:o=a[0]:a.length==3?o=a[0]+" "+a[1]:a.length==4&&(o=a[1]+" "+a[2]+" "+a[3]);var n=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;return r},clickMore(e){this.$emit("more",{category:e,categoryName:this.categoryName})},morestats(){this.$emit("more",this.category)},viewprofile(e,i){this.$emit("clickprofile",{id:e,teamId:i,isTeam:this.isTeam})},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getCategoryStats(e){var i,a;this.mapPlayers=new Map;try{if(!e)return;let s=[],o={},n={},r=this.season;(a=(i=this.seasonSelected)==null?void 0:i.related_seasons)!=null&&a.some(c=>c.id===this.season)&&(r=this.seasonSelected.id),this.arePlaysEmpty=!1;const l=V.create({headers:{Authorization:`${this.token}`}});this.isloading=!0;let p={};if(this.typeData==1?this.isWidget&&this.teamWidget!=0?p=await l.get(this.url+"/"+this.gameId+"/"+this.category+"?t="+this.teamWidget):p=await l.get(this.url+"/"+this.gameId+"/"+this.category):this.game.game_status===1?this.isWidget&&this.teamWidget!=0?p=await l.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1&t="+this.teamWidget):p=await l.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1"):this.isWidget&&this.teamWidget!=0?p=await l.get(this.urlPrematch+r+"/"+this.category+"?t="+this.teamWidget):p=await l.get(this.urlPrematch+r+"/"+this.category+"?t="+this.game.homeTeam.team_id+"&t="+this.game.awayTeam.team_id),p&&p.data&&p.data.data&&p.data.data.length>0){s=p.data.data.map(d=>this.formatStatsData(d)),p.data.teams.forEach(d=>{o[d[0]]={},o[d[0]].id=d[0],o[d[0]].name=d[1],o[d[0]].abrv=d[2],o[d[0]].img=d[3],o[d[0]].effectiveness=d[4],o[d[0]].games_played=d[5],o[d[0]].games_played_lastseason=d[6],o[d[0]].positiontable=d[7],o[d[0]].goals=d[8],o[d[0]].goalsrecived=d[9],o[d[0]].xg=d[10],o[d[0]].frecuency=d[11],o[d[0]].game_avg=d[12],o[d[0]].game_avg_last_season=d[13]});const c=new Set;p.data.players.forEach(d=>{const m=this.getObjectPlayer(d);this.mapPlayers.set(m.numberId,m);const f=m.numberAge,u=m.teamName.length>0?m.teamName[0].acronym:"",y=m.teamName.length>0?o[m.teamName[0].team_id].name:"",h=m.teamName.length>0?m.teamName[0].team_id:"",b=this.positions[m.numberPositionId-1].fullname,S=this.positions[m.numberPositionId-1].name,T=m.countryId.length>0?m.countryId[0].nationality_id:"",E=m.effectiveness,P=m.min,N=m.games,B=m.date;m.arrayNationalities.forEach(F=>{c.add(F.numberId)}),n[d[0]]={id:d[0],name:d[1],img:d[2],age:f,team:u,teamname:y,teamid:h,position:b,positionfull:S,effectiveness:E,country:T,games_played:N,minutes_played:P,date:B,nationality:m.stringNationalityName,player_country_flag:m.player_country_flag,positionId:m.numberPositionId}}),this.setNationalityIds=c,this.arrayAgeRange=[p.data.min_age,p.data.max_age]}else this.arePlaysEmpty=!0;this.teamInfo=o,this.playersInfo=n,this.formatStats=s,this.formatFilterStats=this.filterRecords(this.filtersSelect),this.statsData=p}catch(s){return Promise.reject(s)}},filterRecords(e){return this.formatStats.length>0?this.formatStats.filter(i=>{const a=e.playingAs.includes(i.playing_as),s=e.matchResult.includes(i.match_result),o=e.sections.includes(i.section),n=e.typeZone===1&&e.zone.includes(i.origen)||e.typeZone===2&&e.zone.includes(i.destino);if(e.setPositionsIds&&e.setNationalitiesIds&&e.arrayAgeRange&&e.setYear&&!this.isTeam){const r=this.mapPlayers.get(i.player_id);if(!r)return!1;if(e.booleanAreNationalTeamsVisible){if(e.setAvailableNationalTeamsPlayersIds.size>0&&!e.setAvailableNationalTeamsPlayersIds.has(i.player_id))return!1}else{let l=!1;for(const p of r.arrayNationalitiesIds)if(e.setNationalitiesIds.has(p)){l=!0;break}if(!l)return!1}if(r.numberAge<e.arrayAgeRange[0]||r.numberAge>e.arrayAgeRange[1]||r.date<e.setYear||!e.setPositionsIds.includes(r.numberPositionId))return!1}return(e.playingAs.length===0||a)&&(e.matchResult.length===0||s)&&(e.sections.length===0||o)&&(e.zone.length===0||n)}):[]},updateSliderF(){this.updateSlider+=1},formatStatsData(e){const i={};return e[1]===0&&(e[2]===1||e[2]===2)&&(e[2]=3-e[2]),e[1]===0&&(e[3]===1||e[3]===2)&&(e[3]=3-e[3]),this.data_headers.forEach((a,s)=>{i[a]=e[s]}),i},getObjectPlayer(e){const i=[],a=e[7].map(o=>(i.push(o.nationality_id),{stringName:o.nationality,numberId:o.nationality_id})),s=e[9].split("-");return{numberId:e[0]!==void 0?e[0]:"",stringFullName:e[1]!==void 0?e[1]:"",stringImageUrl:e[2]!==void 0?e[2]:"",numberTeamId:e[3]!==void 0?e[3]:"",player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+e[3]+".jpg",stringNationalityName:ai[e[3]],numberAge:e[5]!==void 0?e[5]:"",numberPositionId:e[6]!==void 0?e[6]:"",countryId:e[7]!==void 0?e[7]:"",teamName:e[10]!==void 0?e[10]:"",effectiveness:e[11]!==void 0?e[11]:"",min:e[13]!==void 0?e[13]:"",games:e[12]!==void 0?e[12]:"",date:s.length>0?Number(s[0]):0,arrayNationalities:a,category:this.categoryName,arrayNationalitiesIds:i}},formatArrayPaginate(e){const i=Math.ceil(e.length/this.numRows);return Array.from({length:i},(a,s)=>{const o=s*this.numRows,n=o+this.numRows;return e.slice(o,n)})},createIntervalTops(){this.intervalIdtops=setInterval(async()=>{await this.getCategoryStats(this.season)},this.timeLiveComparativeAvanced)},clearTopsInterval(){this.intervalIdtops&&(clearInterval(this.intervalIdtops),this.intervalIdtops=null)}},beforeUnmount(){this.clearTopsInterval()}},ii=()=>{t.useCssVars(e=>({a1f26298:e.borderRadius,"47ffff64":e.borderWidth,"46e90101":e.borderColor}))},si=Nt.setup;Nt.setup=si?(e,i)=>(ii(),si(e,i)):ii;const hr={ref:"myDivRef"},yr={class:"row-table-carrousel"},gr={key:1,class:"container-no-search-result"},_r={key:0,class:"overlay-loading-top"};function br(e,i,a,s,o,n){const r=t.resolveComponent("GSCLeaders"),l=t.resolveComponent("GSCRowTable"),p=t.resolveComponent("GSCExpandedInfo"),c=t.resolveComponent("GSCCarousel"),d=t.resolveComponent("GSCTableHeader");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(a.type==0?"gsc-top":"gsc-top-full")},[t.createElementVNode("div",hr,[a.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.topData.length>0?(t.openBlock(),t.createBlock(c,{key:0,items:n.topData,"is-pagination-visible":a.carrousel,"are-navigation-arrows-visible":a.carrousel,onInput:n.changeCarrousel},{default:t.withCtx(({item:m})=>[t.createElementVNode("div",yr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m,(f,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:u},[f.top==1?(t.openBlock(),t.createBlock(r,{key:0,onMediadata:i[0]||(i[0]=y=>n.emitEventMedia(y,a.category,a.categoryName)),type:a.typeTable,"type-data":a.typeData,game:a.game,arrow:a.arrow,"team-widget":a.teamWidget,"can-play-videos":a.canPlayVideos,"is-expanded":e.playerexpand==f.id&&e.expand,ref_for:!0,ref:"GSCLeaders",data:a.typeTable==0?{top:"01",photo:f.img,logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+f.teamid+".png",name:f.name,player_short:f.name_short,player_id:f.id,categoryId:a.category,total:f.total}:{top:"01",logo:f.img,total:f.total,name_team:f.name,player_id:f.id},"category-name":a.categoryName,buttonMaxWidth:a.typeTable!=0?s.elementSize.width>360?"210px":"130px":s.elementSize.width>360?"180px":"110px",buttonFontSize:"12px",iconSize:"11px",onExpand:n.clickexpand,onMore:n.morestats},null,8,["type","type-data","game","arrow","team-widget","can-play-videos","is-expanded","data","category-name","buttonMaxWidth","onExpand","onMore"])):(t.openBlock(),t.createBlock(l,{key:1,"type-data":a.typeData,"team-widget":a.teamWidget,game:a.game,type:a.typeTable,"type-view":a.type,arrow:a.arrow,"is-expanded":e.playerexpand==f.id&&e.expand,onMediadata:i[1]||(i[1]=y=>n.emitEventMedia(y,a.category,a.categoryName)),data:a.typeTable==0?{position:f.top,player_name:f.name,player_short:f.name_short,player_photo:f.img,total:f.total,id:f.id,player_age:f.age,team_abrev:f.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+f.teamid+".png",player_position:f.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+f.country+".jpg",player_games:f.minutes,player_min:f.games,league_name:" Liga MX "}:{position:f.top,team_logo:f.img,team_abrev:f.name,frequency:f.frecuency,promthistournament:f.game_avg,promlasttournament:f.game_avg_last_season,teams_games:"-",category:a.category,total:f.total,id:f.id},height:"71px","can-play-videos":a.canPlayVideos,background:u%2===0?a.backgroundEven:a.backgroundOdd,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","type","type-view","arrow","is-expanded","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==f.id?(t.openBlock(),t.createBlock(p,{key:2,type:a.typeTable,"is-live":a.game.is_live,"view-effectiveness":f.positionId!==1,data:a.typeTable==0?{teams:f.teamname,age:f.age,dataofbirth:f.date,nationality:f.nationality,countryFlag:f.player_country_flag,position:f.position,games:f.games,min:f.minutes,goals:f.total,effectiveness:f.effectiveness,category:a.categoryName,id:f.id}:{position:f.positiontable,goals:f.goals,goals_received:f.goalsrecived,games_played:f.games_played,category:a.categoryName,effectiveness:f.effectiveness,xg:f.xg,total:f.total,attendance:"-",id:f.id},onViewprofile:y=>n.viewprofile(y,f.teamid),background:u%2===0?a.backgroundEven:a.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))])]),_:1},8,["items","is-pagination-visible","are-navigation-arrows-visible","onInput"])):(t.openBlock(),t.createElementBlock("div",gr,[e.isloading?(t.openBlock(),t.createElementBlock("div",_r,i[3]||(i[3]=[t.createElementVNode("div",{class:"overlay-loading-top__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),t.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1)]))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[i[4]||(i[4]=t.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),i[5]||(i[5]=t.createElementVNode("div",{class:"container-no-search-result-subtitle"},[t.createTextVNode(" No existen resultados para este tipo de"),t.createElementVNode("br"),t.createTextVNode(" jugada, considerando el torneo y otros"),t.createElementVNode("br"),t.createTextVNode(" filtros que has seleccionado. ")],-1))],64))]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(d,{background:"#183143",type:a.typeTable},null,8,["type"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.topData,(m,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:f},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m,(u,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:y},[t.createVNode(l,{"type-data":a.typeData,"team-widget":a.teamWidget,game:a.game,arrow:a.arrow,type:a.typeTable,"type-view":a.type,"can-play-videos":a.canPlayVideos,"is-expanded":e.playerexpand==u.id&&e.expand,onMediadata:i[2]||(i[2]=h=>n.emitEventMediaFullTable(h,a.category,a.categoryName)),data:a.typeTable==0?{position:u.top,player_name:u.name,player_short:u.name_short,player_photo:u.img,total:u.total,id:u.id,player_age:u.age,team_abrev:u.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+u.teamid+".png",player_position:u.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+u.country+".jpg",player_games:u.games,player_min:u.minutes,league_name:" Liga MX "}:{position:u.positiontable,team_logo:u.img,team_abrev:u.name,frequency:u.frecuency,promthistournament:u.game_avg,promlasttournament:u.game_avg_last_season,category:a.category,team_games:u.games_played,total:u.total,id:u.id},height:"71px",background:((f+1)*5+y)%2===0?a.backgroundOdd:a.backgroundEven,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","arrow","type","type-view","can-play-videos","is-expanded","data","background","onExpand"]),e.expand&&e.playerexpand==u.id?(t.openBlock(),t.createBlock(p,{key:0,type:a.typeTable,"is-live":a.game.is_live,additionalClass:"fullTable","view-effectiveness":u.positionId!==1,data:a.typeTable==0?{teams:u.teamname,age:u.age,dataofbirth:u.date,nationality:u.nationality,countryFlag:u.player_country_flag,position:u.positionfull,positionfull:u.positionfull,games:u.games,min:u.minutes,goals:u.total,effectiveness:u.effectiveness,category:n.getCategoryName(a.category),id:u.id}:{position:u.positiontable,goals:u.goals,goals_received:u.goalsrecived,games_played:u.games_played,category:a.categoryName,effectiveness:u.effectiveness,xg:u.xg,total:u.total,category:n.getCategoryName(a.category),attendance:"-",id:u.id},onViewprofile:h=>n.viewprofile(h,u.teamid),background:y%2===0?a.backgroundEven:a.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const Tr=Y(Nt,[["render",br],["__scopeId","data-v-663c475b"]]),Te={YEAR:2,AGE_RANGE:3,NATIONALITY:4,POSITION:5,ELIGIBILITY:6},Sr=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},wr={key:1},Cr={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kr=["fill"],Er={key:0,class:"checkbox__teams"},Nr={class:"checkbox__teams__logo"},Vr=["src"],Pr={class:"checkbox__teams__logo"},Br=["src"],xr={__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:i}){const a=e;t.useCssVars(c=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const s=t.ref(!1),o=t.computed(()=>{const c={color:a.boxValueColor,"font-family":a.fontFamily,height:a.boxWidthAndHeight,width:a.boxWidthAndHeight,minWidth:a.boxWidthAndHeight,"border-radius":a.boxBorderRadius,"margin-top":a.boxMarginTop};return s.value?(c["background-color"]=a.boxBackgroundColor,c.border=`solid ${a.boxBorderWidth} ${a.boxBackgroundColor}`):c.border=`solid ${a.boxBorderWidth} ${a.boxBorderColor}`,c}),n=t.computed(()=>({"font-family":a.boxValueFontFamily,"font-size":a.boxValueFontSize,color:a.boxValueColor,"line-height":1})),r=t.computed(()=>{const c={color:a.labelColor,"font-family":a.fontFamily,"font-size":a.labelFontSize,"white-space":a.labelWhiteSpace,"text-align":a.boxPosition==="top"||a.boxPosition==="bottom"?"center":a.boxPosition};return(a.boxPosition==="left"||a.boxPosition==="right")&&(c[`margin-${a.boxPosition}`]=a.isBoxOnly?"0":a.teamsIds?"8px":"10px"),c});t.watch(()=>a.modelValue,c=>{c!==s.value&&(s.value=c)},{immediate:!0});function l(){a.avoidInteraction||!s.value&&a.avoidToCheck||(s.value=!s.value,i("update:modelValue",s.value))}function p(c){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${c}.png`}return(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:l},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(o.value)},[s.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(n.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",wr,[(t.openBlock(),t.createElementBlock("svg",Cr,[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,kr)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",Er,[t.createElementVNode("div",Nr,[t.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,Vr)]),t.createElementVNode("div",Pr,[t.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,Br)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},Vt=Sr(xr,[["__scopeId","data-v-b6f124d8"]]),D=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},Fr={PLAYS:"plays",PRODUCTIVITY:"productivity",FIELD:"field",UNIVERSE:"universe",DETAILS:"details",TOURNAMENTS:"tournaments",PERSONAL_DATA:"personalData",PLAYS_TYPES:"playsTypes",GOLSTATS:"golstats",DISTANCE:"distance",RESULTS:"results",RESULTS_BY_TIME:"resultsByTime",VIDEOS:"videos",GAMES:"games",TAKEN_CORNERS:"takenCorners",HOW_WAS_CORNER:"howWasCorner",ZONE:"zone",WHAT_HAPPENED:"whatHappened"},zr=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},Pt={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))}}},ni=()=>{t.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},oi=Pt.setup;Pt.setup=oi?(e,i)=>(ni(),oi(e,i)):ni;const Ar=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),Ir=["src"],Rr={key:1,class:"text"},Or=["src"],Lr={class:"stats"},Gr=Ar(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Wr={class:"numstats"},Dr={class:"leyend"};function Mr(e,i,a,s,o,n){return t.openBlock(),t.createElementBlock("div",null,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&a.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&a.typeOnOff&&n.customActive]),onClick:i[0]||(i[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[a.icon&&a.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,Ir)):t.createCommentVNode("",!0),a.textValue?(t.openBlock(),t.createElementBlock("div",Rr,t.toDisplayString(a.textValue),1)):t.createCommentVNode("",!0),a.icon&&a.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,Or)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:i[1]||(i[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Lr,[Gr,t.createElementVNode("div",Wr,t.toDisplayString(a.textStat),1)]),t.createElementVNode("div",Dr,t.toDisplayString(a.textCategory),1)])):t.createCommentVNode("",!0)])}const vr=zr(Pt,[["render",Mr],["__scopeId","data-v-f3ee6b2b"]]),jr={class:"gsc-dropdown__main-container__item-selected"},Ur=["height","width"],$r=["stroke"],Jr={key:1,width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hr=["fill"],qr={class:"gsc-dropdown__items-container"},Kr=["onClick"],Zr={key:0,class:"gsc-dropdown__items-footer"},Bt={__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(i=>i in e)},listBackgroundColor:{type:String,default:"white"},hoverBackgroundColor:{type:String,default:"#f1f1f1"},listMarginTop:{type:String,default:"0"},listContainerPadding:{type:String,default:"0"},listItemPadding:{type:String,default:"10px 12px"},listItemMargin:{type:String,default:"0"},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},listItemBorderRadius:{type:String,default:"0"},listAlignment:{type:String,default:"left"},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},iconType:{type:Number,default:1,validator:function(e){return[1,2].includes(e)}}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:i}){const a=e,s=t.ref({}),o=t.ref(null),n=t.ref(a.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>a.items,(u,y)=>{if(!a.modelValue&&(!a.onlyFirstTime||!y||!y.length)&&u&&u.length){if(a.defaultItemByProp){const h=a.items.findIndex(b=>b[a.defaultItemByProp.propName]===a.defaultItemByProp.value);h!==-1?(n.value=h,s.value=u[h]):(n.value=0,s.value=u[0])}else s.value=u[a.defaultItemByIndex];i("input",s.value)}},{immediate:!0}),t.watch(()=>a.modelValue,u=>{if(u){const y=a.items.findIndex(h=>typeof u=="object"?JSON.stringify(h)===JSON.stringify(u):h===u);y!==-1&&(n.value=y,s.value=a.items[y],i("update:modelValue",s.value))}},{immediate:!0});const l=t.computed(()=>({height:a.height,width:a.width,backgroundColor:a.backgroundColor,borderRadius:`${a.borderRadius}px`,border:`${a.borderType} ${a.borderWidth}px ${a.borderColor}`,color:a.color,"--hover-background-color":a.hoverBackgroundColor,"--list-container-padding":a.listContainerPadding,"--list-item-padding":a.listItemPadding,"--list-item-margin":a.listItemMargin,"--list-background-color":a.listBackgroundColor,"--list-height":a.listHeight,"--list-item-border-radius":a.listItemBorderRadius,"--list-item-selected-color":a.listItemSelectedColor,"--list-item-selected-background-color":a.listItemSelectedBackgroundColor,"--list-item-color":a.listItemColor,"--list-border-radius":`${a.listBorderRadius}`,"--list-border-color":a.listBorderColor,"--list-width":a.isListSameWidth?a.width:"fit-content","--list-border-width":`${a.listBorderWidth}px`,"--list-margin-top":a.listMarginTop,"--list-left":a.listAlignment==="left"?"0":"auto","--list-right":a.listAlignment==="right"?"0":"auto","--footer-border":`${a.footerBorderWidth}px solid ${a.footerBorderColor}`,"--dropdown-opacity":a.isDisabled?"0.5":"1","--dropdown-cursor":a.isDisabled?"not-allowed":"pointer","--dropdown-font-size":a.fontSize?a.fontSize:"14px"})),p=t.computed(()=>({height:`${a.arrowHeight}px`,width:`${a.arrowWidth}px`}));function c(){a.isDisabled||(r.value=!r.value)}function d(u){o.value&&!o.value.contains(u.target)&&(r.value=!1)}function m(u,y){a.isMultipleOption?n.value=-1:(n.value=y,r.value=!1),s.value=u,i("input",s.value),i("update:modelValue",s.value)}function f(){r.value=!1,i("click-ready")}return t.onMounted(()=>{document.addEventListener("click",d)}),t.onBeforeMount(()=>{document.removeEventListener("click",d)}),(u,y)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:o,class:"gsc-dropdown",style:t.normalizeStyle(l.value)},[t.createElementVNode("div",{class:"gsc-dropdown__main-container",style:t.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:c},[t.createElementVNode("div",jr,[t.renderSlot(u.$slots,"default",{selectedItem:s.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(p.value)},[e.iconType===1?(t.openBlock(),t.createElementBlock("svg",{key:0,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,$r)],8,Ur)):(t.openBlock(),t.createElementBlock("svg",Jr,[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,Hr)]))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",qr,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${a.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(h,b)=>(t.openBlock(),t.createElementBlock("div",null,[t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:b===n.value}]),key:b,onClick:S=>m(h,b)},[t.renderSlot(u.$slots,"availableItem",{item:h})],10,Kr)),[[t.vShow,!h.isHidden]])]))),256))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",Zr,[t.createVNode(t.unref(vr),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:f})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}},xt={borderType:"solid",listBackgroundColor:"#2E3B46",listBorderColor:"rgba(255, 255, 255, 0.2)",listBorderRadius:"5px",height:"38px",borderWidth:.8,borderColor:"rgba(255, 255, 255, 0.2)",backgroundColor:"#2E3B46",color:"white",listItemColor:"white",listItemSelectedBackgroundColor:"#2E3B46",arrowColor:"#fff",width:"100%",listHeight:"200px",isListSameWidth:!0,isFooterVisible:!0,hoverBackgroundColor:"#2E3B46",iconType:2},Yr=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},Ft={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))}}},ri=()=>{t.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},li=Ft.setup;Ft.setup=li?(e,i)=>(ri(),li(e,i)):ri;const Xr=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),Qr=["src"],el={key:1,class:"text"},tl=["src"],al={class:"stats"},il=Xr(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),sl={class:"numstats"},nl={class:"leyend"};function ol(e,i,a,s,o,n){return t.openBlock(),t.createElementBlock("div",null,[a.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&a.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&a.typeOnOff&&n.customActive]),onClick:i[0]||(i[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[a.icon&&a.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,Qr)):t.createCommentVNode("",!0),a.textValue?(t.openBlock(),t.createElementBlock("div",el,t.toDisplayString(a.textValue),1)):t.createCommentVNode("",!0),a.icon&&a.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:a.iconSize}),src:a.icon},null,12,tl)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),a.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:i[1]||(i[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",al,[il,t.createElementVNode("div",sl,t.toDisplayString(a.textStat),1)]),t.createElementVNode("div",nl,t.toDisplayString(a.textCategory),1)])):t.createCommentVNode("",!0)])}const rl=Yr(Ft,[["render",ol],["__scopeId","data-v-f3ee6b2b"]]),ll=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},cl={key:1},dl={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ml=["fill"],pl={key:0,class:"checkbox__teams"},fl={class:"checkbox__teams__logo"},ul=["src"],hl={class:"checkbox__teams__logo"},yl=["src"],gl={__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:i}){const a=e;t.useCssVars(c=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const s=t.ref(!1),o=t.computed(()=>{const c={color:a.boxValueColor,"font-family":a.fontFamily,height:a.boxWidthAndHeight,width:a.boxWidthAndHeight,minWidth:a.boxWidthAndHeight,"border-radius":a.boxBorderRadius,"margin-top":a.boxMarginTop};return s.value?(c["background-color"]=a.boxBackgroundColor,c.border=`solid ${a.boxBorderWidth} ${a.boxBackgroundColor}`):c.border=`solid ${a.boxBorderWidth} ${a.boxBorderColor}`,c}),n=t.computed(()=>({"font-family":a.boxValueFontFamily,"font-size":a.boxValueFontSize,color:a.boxValueColor,"line-height":1})),r=t.computed(()=>{const c={color:a.labelColor,"font-family":a.fontFamily,"font-size":a.labelFontSize,"white-space":a.labelWhiteSpace,"text-align":a.boxPosition==="top"||a.boxPosition==="bottom"?"center":a.boxPosition};return(a.boxPosition==="left"||a.boxPosition==="right")&&(c[`margin-${a.boxPosition}`]=a.isBoxOnly?"0":a.teamsIds?"8px":"10px"),c});t.watch(()=>a.modelValue,c=>{c!==s.value&&(s.value=c)},{immediate:!0});function l(){a.avoidInteraction||!s.value&&a.avoidToCheck||(s.value=!s.value,i("update:modelValue",s.value))}function p(c){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${c}.png`}return(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:l},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(o.value)},[s.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[a.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(n.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",cl,[(t.openBlock(),t.createElementBlock("svg",dl,[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,ml)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",pl,[t.createElementVNode("div",fl,[t.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,ul)]),t.createElementVNode("div",hl,[t.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,yl)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},_l=ll(gl,[["__scopeId","data-v-b6f124d8"]]),bl=(e,i)=>{const a=e.__vccOpts||e;for(const[s,o]of i)a[s]=o;return a},zt={components:{GSCButton:rl,GSCCheckbox:_l},data(){return{update:0,all:!1,refreshBtn14:0,refreshBtn24:0,refreshBtn34:0,refreshBtn44:0,sectors:Array.from({length:16},(e,i)=>({sector:i+1,active:!1})),lastUpdatedValue:[]}},props:{backgroundColor:{type:String,default:"#2e3b46"},heightContainer:{type:String,default:"340px"},widthContainer:{type:String,default:"455px"},heightField:{type:Number,default:230},widthField:{type:Number,default:350},heightFieldGrid:{type:String,default:"230px"},widthFieldGrid:{type:String,default:"350px"},backgroundSectorActive:{type:String,default:"#cbee6b"},backgroundSectorDisabled:{type:String,default:"#2e3b46"},borderWidth:{type:Number,default:1},opacitySector:{type:Number,default:.5},borderColor:{type:String,default:"#FFFFFF"},colorLineField:{type:String,default:"#bfc2c5"},borderWidthLineField:{type:Number,default:2},value:{type:Array,default:()=>[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},title:{type:String,default:"Pase(s) desde la(s) zona(s):"},titleFontSize:{type:String,default:"14px"}},watch:{value:{deep:!0,immediate:!0,handler(e){const i=e.sort();JSON.stringify(i)!==JSON.stringify(this.lastUpdatedValue)&&(this.lastUpdatedValue=i,this.sectors.forEach((a,s)=>{a.active=e.includes(s+1),this.validateField(s)}),this.$emit("update:modelValue",e))}},sectors:{handler(e){var i=[];for(let a=0;a<e.length;a++)e[a].active&&i.push(a+1);this.$emit("update:modelValue",i)},deep:!0}},computed:{translx(){var e=0;return this.widthField>305?e=this.widthField-305:this.widthField==268&&(e=-36),e},transly(){var e=0;return this.heightField>195?(e=this.heightField-195,e=e/2):this.heightField==180&&(e=-7),e},translxcircle(){var e=0;return this.widthField>305?(e=this.widthField-305,e=e/2):this.widthField==268&&(e=-18),e}},methods:{clickAll(e){if(e){for(let i=0;i<this.sectors.length;i++)this.sectors[i].active=!0,this.validateField(i);this.status14=!0,this.status24=!0,this.status34=!0,this.status44=!0,this.refreshBtn14+=1,this.refreshBtn24+=1,this.refreshBtn34+=1,this.refreshBtn44+=1}else for(let i=0;i<this.sectors.length;i++)this.sectors[i].active=!1,this.validateField(i),this.status14=!1,this.status24=!1,this.status34=!1,this.status44=!1,this.refreshBtn14=0,this.refreshBtn24=0,this.refreshBtn34=0,this.refreshBtn44=0},selectSector(e){var i=0;this.sectors[e].active=!this.sectors[e].active;for(let a=0;a<this.sectors.length;a++)this.sectors[a].active&&(i+=1);i==0&&(this.sectors[e].active=!0),this.validateField(e)},btn14(e){this.sectors[0].active=e?this.sectors[0].active=!0:this.sectors[0].active=!1,this.sectors[1].active=e?this.sectors[1].active=!0:this.sectors[1].active=!1,this.sectors[2].active=e?this.sectors[2].active=!0:this.sectors[2].active=!1,this.sectors[3].active=e?this.sectors[3].active=!0:this.sectors[3].active=!1;var i=0;for(let a=0;a<this.sectors.length;a++)this.sectors[a].active&&(i+=1);i==0?(this.sectors[0].active=!0,this.sectors[1].active=!0,this.sectors[2].active=!0,this.sectors[3].active=!0,this.status14=!0,this.refreshBtn14+=1):this.status14=!1,i==16&&(this.all=!0,this.update+=1)},btn24(e){this.sectors[4].active=e?this.sectors[4].active=!0:this.sectors[4].active=!1,this.sectors[5].active=e?this.sectors[5].active=!0:this.sectors[5].active=!1,this.sectors[6].active=e?this.sectors[6].active=!0:this.sectors[6].active=!1,this.sectors[7].active=e?this.sectors[7].active=!0:this.sectors[7].active=!1;var i=0;for(let a=0;a<this.sectors.length;a++)this.sectors[a].active&&(i+=1);i==0?(this.sectors[4].active=!0,this.sectors[5].active=!0,this.sectors[6].active=!0,this.sectors[7].active=!0,this.status24=!0,this.refreshBtn24+=1):this.status24=!1,i==16&&(this.all=!0,this.update+=1)},btn34(e){this.sectors[8].active=e?this.sectors[8].active=!0:this.sectors[8].active=!1,this.sectors[9].active=e?this.sectors[9].active=!0:this.sectors[9].active=!1,this.sectors[10].active=e?this.sectors[10].active=!0:this.sectors[10].active=!1,this.sectors[11].active=e?this.sectors[11].active=!0:this.sectors[11].active=!1;var i=0;for(let a=0;a<this.sectors.length;a++)this.sectors[a].active&&(i+=1);i==0?(this.sectors[8].active=!0,this.sectors[9].active=!0,this.sectors[10].active=!0,this.sectors[11].active=!0,this.status34=!0,this.refreshBtn34+=1):this.status34=!1,i==16&&(this.all=!0,this.update+=1)},btn44(e){this.sectors[12].active=e?this.sectors[12].active=!0:this.sectors[12].active=!1,this.sectors[13].active=e?this.sectors[13].active=!0:this.sectors[13].active=!1,this.sectors[14].active=e?this.sectors[14].active=!0:this.sectors[14].active=!1,this.sectors[15].active=e?this.sectors[15].active=!0:this.sectors[15].active=!1;var i=0;for(let a=0;a<this.sectors.length;a++)this.sectors[a].active&&(i+=1);i==0?(this.sectors[12].active=!0,this.sectors[13].active=!0,this.sectors[14].active=!0,this.sectors[15].active=!0,this.status44=!0,this.refreshBtn44+=1):this.status44=!1,i==16&&(this.all=!0,this.update+=1)},validateField(e){(e===0||e===1||e===2||e===3)&&(this.status14=!!(this.sectors[0].active&&this.sectors[1].active&&this.sectors[2].active&&this.sectors[3].active)),(e===4||e===5||e===6||e===7)&&(this.status24=!!(this.sectors[4].active&&this.sectors[5].active&&this.sectors[6].active&&this.sectors[7].active)),(e===8||e===9||e===10||e===11)&&(this.status34=!!(this.sectors[8].active&&this.sectors[9].active&&this.sectors[10].active&&this.sectors[11].active)),(e===12||e===13||e===14||e===15)&&(this.status44=!!(this.sectors[12].active&&this.sectors[13].active&&this.sectors[14].active&&this.sectors[15].active)),this.all=!!(this.status14&&this.status34&&this.status24&&this.status44),this.update+=1,this.status14&&(this.refreshBtn14+=1),this.status24&&(this.refreshBtn24+=1),this.status34&&(this.refreshBtn34+=1),this.status44&&(this.refreshBtn44+=1)}}},ci=()=>{t.useCssVars(e=>({"4fe806fe":e.widthContainer,"91de7c52":e.heightContainer,"266afcdc":e.backgroundColor,"2b853536":e.titleFontSize,"986b6446":e.widthFieldGrid,"1af308b6":e.heightFieldGrid}))},di=zt.setup;zt.setup=di?(e,i)=>(ci(),di(e,i)):ci;const Tl={class:"gsc-field"},Sl={class:"gsc-field__title-checked"},wl={class:"gsc-field__title-checked__title"},Cl={class:"gsc-field__container-field"},kl={class:"gsc-field__container-field__field"},El={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},Nl=["stroke"],Vl=["stroke","stroke-width"],Pl=["stroke","stroke-width"],Bl=["stroke-width","stroke"],xl=["fill","fill-opacity","stroke","stroke-width"],Fl=["fill","fill-opacity","stroke","stroke-width"],zl=["fill","fill-opacity","stroke","stroke-width"],Al=["fill","fill-opacity","stroke","stroke-width"],Il=["fill","fill-opacity","stroke","stroke-width"],Rl=["fill","fill-opacity","stroke","stroke-width"],Ol=["fill","fill-opacity","stroke","stroke-width"],Ll=["fill","fill-opacity","stroke","stroke-width"],Gl=["fill","fill-opacity","stroke","stroke-width"],Wl=["fill","fill-opacity","stroke","stroke-width"],Dl=["fill","fill-opacity","stroke","stroke-width"],Ml=["fill","fill-opacity","stroke","stroke-width"],vl=["fill","fill-opacity","stroke","stroke-width"],jl=["fill","fill-opacity","stroke","stroke-width"],Ul=["fill","fill-opacity","stroke","stroke-width"],$l=["fill","fill-opacity","stroke","stroke-width"],Jl={class:"gsc-field__container-field__bar-buttons"};function Hl(e,i,a,s,o,n){const r=t.resolveComponent("GSCCheckbox"),l=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",Tl,[t.createElementVNode("div",Sl,[t.createElementVNode("div",wl,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"gsc-field__title-checked__check-cont",style:t.normalizeStyle(a.widthField>=350?"min-width: 123px":"")},[(t.openBlock(),t.createBlock(r,{label:a.widthField<350?"Todas":"Todas las zonas","font-family":"Poppins-Regular","box-value-font-family":"Poppins-Regular","box-position":"right","label-font-size":a.titleFontSize,"label-white-space":"nowrap","box-margin-top":"0.4em",value:o.all,key:o.update,"model-value":o.all,"onUpdate:modelValue":n.clickAll},null,8,["label","label-font-size","value","model-value","onUpdate:modelValue"]))],4)]),t.createElementVNode("div",Cl,[t.createElementVNode("div",kl,[(t.openBlock(),t.createElementBlock("svg",El,[t.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:a.colorLineField},null,8,Nl),t.createElementVNode("path",{style:t.normalizeStyle("transform: translate("+n.translx+"px, "+n.transly+"px);"),d:"M303.597 39.9799H263.371C262.817 39.9799 262.369 40.4301 262.371 40.984L262.842 155.176C262.845 155.726 263.292 156.172 263.842 156.172H302.884",stroke:a.colorLineField,"stroke-width":a.borderWidthLineField,"stroke-linecap":"square"},null,12,Vl),t.createElementVNode("path",{style:t.normalizeStyle("transform: translateY("+n.transly+"px);"),class:"porteria1",d:"M1.09097 156.172L41.3162 156.172C41.8701 156.172 42.3185 155.722 42.3162 155.168L41.845 40.9758C41.8427 40.4252 41.3957 39.98 40.845 39.98L1.80338 39.98",stroke:a.colorLineField,"stroke-width":a.borderWidthLineField,"stroke-linecap":"square"},null,12,Pl),t.createElementVNode("path",{style:t.normalizeStyle("transform: translate("+n.translxcircle+"px, "+n.transly+"px);"),class:"circle",d:"M182.911 97.4512C182.911 113.726 169.44 126.936 152.801 126.936C136.162 126.936 122.691 113.726 122.691 97.4512C122.691 81.1767 136.162 67.9662 152.801 67.9662C169.44 67.9662 182.911 81.1767 182.911 97.4512Z","stroke-width":a.borderWidthLineField,stroke:a.colorLineField},null,12,Bl),t.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:o.sectors[0].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[0]||(i[0]=p=>n.selectSector(0))},null,8,xl),t.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:o.sectors[1].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[1]||(i[1]=p=>n.selectSector(1))},null,8,Fl),t.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:o.sectors[2].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[2]||(i[2]=p=>n.selectSector(2))},null,8,zl),t.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:o.sectors[3].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[3]||(i[3]=p=>n.selectSector(3))},null,8,Al),t.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:o.sectors[4].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[4]||(i[4]=p=>n.selectSector(4))},null,8,Il),t.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:o.sectors[5].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[5]||(i[5]=p=>n.selectSector(5))},null,8,Rl),t.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:o.sectors[6].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[6]||(i[6]=p=>n.selectSector(6))},null,8,Ol),t.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:o.sectors[7].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[7]||(i[7]=p=>n.selectSector(7))},null,8,Ll),t.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:o.sectors[8].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[8]||(i[8]=p=>n.selectSector(8))},null,8,Gl),t.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:o.sectors[9].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[9]||(i[9]=p=>n.selectSector(9))},null,8,Wl),t.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:o.sectors[10].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[10]||(i[10]=p=>n.selectSector(10))},null,8,Dl),t.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:o.sectors[11].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[11]||(i[11]=p=>n.selectSector(11))},null,8,Ml),t.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:o.sectors[12].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[12]||(i[12]=p=>n.selectSector(12))},null,8,vl),t.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:o.sectors[13].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[13]||(i[13]=p=>n.selectSector(13))},null,8,jl),t.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:o.sectors[14].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[14]||(i[14]=p=>n.selectSector(14))},null,8,Ul),t.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:o.sectors[15].active?a.backgroundSectorActive:a.backgroundSectorDisabled,"fill-opacity":a.opacitySector,stroke:a.borderColor,"stroke-width":a.borderWidth,onClick:i[15]||(i[15]=p=>n.selectSector(15))},null,8,$l)]))]),t.createElementVNode("div",Jl,[(t.openBlock(),t.createBlock(l,{"text-value":"1/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn14",onStatus:n.btn14,key:o.refreshBtn14,value:e.status14},null,8,["onStatus","value"])),(t.openBlock(),t.createBlock(l,{"text-value":"2/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn24",onStatus:n.btn24,key:o.refreshBtn24,value:e.status24},null,8,["onStatus","value"])),(t.openBlock(),t.createBlock(l,{"text-value":"3/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn34",onStatus:n.btn34,key:o.refreshBtn34,value:e.status34},null,8,["onStatus","value"])),(t.openBlock(),t.createBlock(l,{"text-value":"4/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn44",onStatus:n.btn44,key:o.refreshBtn44,value:e.status44},null,8,["onStatus","value"]))])])])}const ql=bl(zt,[["render",Hl],["__scopeId","data-v-b85699b8"]]);function mi(e,i){return function(){return e.apply(i,arguments)}}const{toString:Kl}=Object.prototype,{getPrototypeOf:At}=Object,{iterator:Le,toStringTag:pi}=Symbol,Ge=(e=>i=>{const a=Kl.call(i);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),$=e=>(e=e.toLowerCase(),i=>Ge(i)===e),We=e=>i=>typeof i===e,{isArray:me}=Array,Se=We("undefined");function Zl(e){return e!==null&&!Se(e)&&e.constructor!==null&&!Se(e.constructor)&&M(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fi=$("ArrayBuffer");function Yl(e){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(e):i=e&&e.buffer&&fi(e.buffer),i}const Xl=We("string"),M=We("function"),ui=We("number"),De=e=>e!==null&&typeof e=="object",Ql=e=>e===!0||e===!1,Me=e=>{if(Ge(e)!=="object")return!1;const i=At(e);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(pi in e)&&!(Le in e)},ec=$("Date"),tc=$("File"),ac=$("Blob"),ic=$("FileList"),sc=e=>De(e)&&M(e.pipe),nc=e=>{let i;return e&&(typeof FormData=="function"&&e instanceof FormData||M(e.append)&&((i=Ge(e))==="formdata"||i==="object"&&M(e.toString)&&e.toString()==="[object FormData]"))},oc=$("URLSearchParams"),[rc,lc,cc,dc]=["ReadableStream","Request","Response","Headers"].map($),mc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function we(e,i,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let s,o;if(typeof e!="object"&&(e=[e]),me(e))for(s=0,o=e.length;s<o;s++)i.call(null,e[s],s,e);else{const n=a?Object.getOwnPropertyNames(e):Object.keys(e),r=n.length;let l;for(s=0;s<r;s++)l=n[s],i.call(null,e[l],l,e)}}function hi(e,i){i=i.toLowerCase();const a=Object.keys(e);let s=a.length,o;for(;s-- >0;)if(o=a[s],i===o.toLowerCase())return o;return null}const ie=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yi=e=>!Se(e)&&e!==ie;function It(){const{caseless:e}=yi(this)&&this||{},i={},a=(s,o)=>{const n=e&&hi(i,o)||o;Me(i[n])&&Me(s)?i[n]=It(i[n],s):Me(s)?i[n]=It({},s):me(s)?i[n]=s.slice():i[n]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&we(arguments[s],a);return i}const pc=(e,i,a,{allOwnKeys:s}={})=>(we(i,(o,n)=>{a&&M(o)?e[n]=mi(o,a):e[n]=o},{allOwnKeys:s}),e),fc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),uc=(e,i,a,s)=>{e.prototype=Object.create(i.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:i.prototype}),a&&Object.assign(e.prototype,a)},hc=(e,i,a,s)=>{let o,n,r;const l={};if(i=i||{},e==null)return i;do{for(o=Object.getOwnPropertyNames(e),n=o.length;n-- >0;)r=o[n],(!s||s(r,e,i))&&!l[r]&&(i[r]=e[r],l[r]=!0);e=a!==!1&&At(e)}while(e&&(!a||a(e,i))&&e!==Object.prototype);return i},yc=(e,i,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=i.length;const s=e.indexOf(i,a);return s!==-1&&s===a},gc=e=>{if(!e)return null;if(me(e))return e;let i=e.length;if(!ui(i))return null;const a=new Array(i);for(;i-- >0;)a[i]=e[i];return a},_c=(e=>i=>e&&i instanceof e)(typeof Uint8Array<"u"&&At(Uint8Array)),bc=(e,i)=>{const a=(e&&e[Le]).call(e);let s;for(;(s=a.next())&&!s.done;){const o=s.value;i.call(e,o[0],o[1])}},Tc=(e,i)=>{let a;const s=[];for(;(a=e.exec(i))!==null;)s.push(a);return s},Sc=$("HTMLFormElement"),wc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,a,s){return a.toUpperCase()+s}),gi=(({hasOwnProperty:e})=>(i,a)=>e.call(i,a))(Object.prototype),Cc=$("RegExp"),_i=(e,i)=>{const a=Object.getOwnPropertyDescriptors(e),s={};we(a,(o,n)=>{let r;(r=i(o,n,e))!==!1&&(s[n]=r||o)}),Object.defineProperties(e,s)},kc=e=>{_i(e,(i,a)=>{if(M(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const s=e[a];if(M(s)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},Ec=(e,i)=>{const a={},s=o=>{o.forEach(n=>{a[n]=!0})};return me(e)?s(e):s(String(e).split(i)),a},Nc=()=>{},Vc=(e,i)=>e!=null&&Number.isFinite(e=+e)?e:i;function Pc(e){return!!(e&&M(e.append)&&e[pi]==="FormData"&&e[Le])}const Bc=e=>{const i=new Array(10),a=(s,o)=>{if(De(s)){if(i.indexOf(s)>=0)return;if(!("toJSON"in s)){i[o]=s;const n=me(s)?[]:{};return we(s,(r,l)=>{const p=a(r,o+1);!Se(p)&&(n[l]=p)}),i[o]=void 0,n}}return s};return a(e,0)},xc=$("AsyncFunction"),Fc=e=>e&&(De(e)||M(e))&&M(e.then)&&M(e.catch),bi=((e,i)=>e?setImmediate:i?((a,s)=>(ie.addEventListener("message",({source:o,data:n})=>{o===ie&&n===a&&s.length&&s.shift()()},!1),o=>{s.push(o),ie.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",M(ie.postMessage)),zc=typeof queueMicrotask<"u"?queueMicrotask.bind(ie):typeof process<"u"&&process.nextTick||bi,Ac=e=>e!=null&&M(e[Le]),_={isArray:me,isArrayBuffer:fi,isBuffer:Zl,isFormData:nc,isArrayBufferView:Yl,isString:Xl,isNumber:ui,isBoolean:Ql,isObject:De,isPlainObject:Me,isReadableStream:rc,isRequest:lc,isResponse:cc,isHeaders:dc,isUndefined:Se,isDate:ec,isFile:tc,isBlob:ac,isRegExp:Cc,isFunction:M,isStream:sc,isURLSearchParams:oc,isTypedArray:_c,isFileList:ic,forEach:we,merge:It,extend:pc,trim:mc,stripBOM:fc,inherits:uc,toFlatObject:hc,kindOf:Ge,kindOfTest:$,endsWith:yc,toArray:gc,forEachEntry:bc,matchAll:Tc,isHTMLForm:Sc,hasOwnProperty:gi,hasOwnProp:gi,reduceDescriptors:_i,freezeMethods:kc,toObjectSet:Ec,toCamelCase:wc,noop:Nc,toFiniteNumber:Vc,findKey:hi,global:ie,isContextDefined:yi,isSpecCompliantForm:Pc,toJSONObject:Bc,isAsyncFn:xc,isThenable:Fc,setImmediate:bi,asap:zc,isIterable:Ac};function k(e,i,a,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",i&&(this.code=i),a&&(this.config=a),s&&(this.request=s),o&&(this.response=o,this.status=o.status?o.status:null)}_.inherits(k,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:_.toJSONObject(this.config),code:this.code,status:this.status}}});const Ti=k.prototype,Si={};["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=>{Si[e]={value:e}}),Object.defineProperties(k,Si),Object.defineProperty(Ti,"isAxiosError",{value:!0}),k.from=(e,i,a,s,o,n)=>{const r=Object.create(Ti);return _.toFlatObject(e,r,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),k.call(r,e.message,i,a,s,o),r.cause=e,r.name=e.name,n&&Object.assign(r,n),r};const Ic=null;function Rt(e){return _.isPlainObject(e)||_.isArray(e)}function wi(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function Ci(e,i,a){return e?e.concat(i).map(function(s,o){return s=wi(s),!a&&o?"["+s+"]":s}).join(a?".":""):i}function Rc(e){return _.isArray(e)&&!e.some(Rt)}const Oc=_.toFlatObject(_,{},null,function(e){return/^is[A-Z]/.test(e)});function ve(e,i,a){if(!_.isObject(e))throw new TypeError("target must be an object");i=i||new FormData,a=_.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(u,y){return!_.isUndefined(y[u])});const s=a.metaTokens,o=a.visitor||c,n=a.dots,r=a.indexes,l=(a.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(i);if(!_.isFunction(o))throw new TypeError("visitor must be a function");function p(u){if(u===null)return"";if(_.isDate(u))return u.toISOString();if(!l&&_.isBlob(u))throw new k("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(u)||_.isTypedArray(u)?l&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function c(u,y,h){let b=u;if(u&&!h&&typeof u=="object"){if(_.endsWith(y,"{}"))y=s?y:y.slice(0,-2),u=JSON.stringify(u);else if(_.isArray(u)&&Rc(u)||(_.isFileList(u)||_.endsWith(y,"[]"))&&(b=_.toArray(u)))return y=wi(y),b.forEach(function(S,T){!(_.isUndefined(S)||S===null)&&i.append(r===!0?Ci([y],T,n):r===null?y:y+"[]",p(S))}),!1}return Rt(u)?!0:(i.append(Ci(h,y,n),p(u)),!1)}const d=[],m=Object.assign(Oc,{defaultVisitor:c,convertValue:p,isVisitable:Rt});function f(u,y){if(!_.isUndefined(u)){if(d.indexOf(u)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(u),_.forEach(u,function(h,b){(!(_.isUndefined(h)||h===null)&&o.call(i,h,_.isString(b)?b.trim():b,y,m))===!0&&f(h,y?y.concat(b):[b])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return f(e),i}function ki(e){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return i[a]})}function Ot(e,i){this._pairs=[],e&&ve(e,this,i)}const Ei=Ot.prototype;Ei.append=function(e,i){this._pairs.push([e,i])},Ei.toString=function(e){const i=e?function(a){return e.call(this,a,ki)}:ki;return this._pairs.map(function(a){return i(a[0])+"="+i(a[1])},"").join("&")};function Lc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ni(e,i,a){if(!i)return e;const s=a&&a.encode||Lc;_.isFunction(a)&&(a={serialize:a});const o=a&&a.serialize;let n;if(o?n=o(i,a):n=_.isURLSearchParams(i)?i.toString():new Ot(i,a).toString(s),n){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class Gc{constructor(){this.handlers=[]}use(i,a,s){return this.handlers.push({fulfilled:i,rejected:a,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){_.forEach(this.handlers,function(a){a!==null&&i(a)})}}const Vi=Gc,Pi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wc=typeof URLSearchParams<"u"?URLSearchParams:Ot,Dc=typeof FormData<"u"?FormData:null,Mc=typeof Blob<"u"?Blob:null,vc={isBrowser:!0,classes:{URLSearchParams:Wc,FormData:Dc,Blob:Mc},protocols:["http","https","file","blob","url","data"]},Lt=typeof window<"u"&&typeof document<"u",Gt=typeof navigator=="object"&&navigator||void 0,jc=Lt&&(!Gt||["ReactNative","NativeScript","NS"].indexOf(Gt.product)<0),Uc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$c=Lt&&window.location.href||"http://localhost",Jc=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Lt,hasStandardBrowserEnv:jc,hasStandardBrowserWebWorkerEnv:Uc,navigator:Gt,origin:$c},Symbol.toStringTag,{value:"Module"})),L={...Jc,...vc};function Hc(e,i){return ve(e,new L.classes.URLSearchParams,Object.assign({visitor:function(a,s,o,n){return L.isNode&&_.isBuffer(a)?(this.append(s,a.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},i))}function qc(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Kc(e){const i={},a=Object.keys(e);let s;const o=a.length;let n;for(s=0;s<o;s++)n=a[s],i[n]=e[n];return i}function Bi(e){function i(a,s,o,n){let r=a[n++];if(r==="__proto__")return!0;const l=Number.isFinite(+r),p=n>=a.length;return r=!r&&_.isArray(o)?o.length:r,p?(_.hasOwnProp(o,r)?o[r]=[o[r],s]:o[r]=s,!l):((!o[r]||!_.isObject(o[r]))&&(o[r]=[]),i(a,s,o[r],n)&&_.isArray(o[r])&&(o[r]=Kc(o[r])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const a={};return _.forEachEntry(e,(s,o)=>{i(qc(s),o,a,0)}),a}return null}function Zc(e,i,a){if(_.isString(e))try{return(i||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(a||JSON.stringify)(e)}const Wt={transitional:Pi,adapter:["xhr","http","fetch"],transformRequest:[function(e,i){const a=i.getContentType()||"",s=a.indexOf("application/json")>-1,o=_.isObject(e);if(o&&_.isHTMLForm(e)&&(e=new FormData(e)),_.isFormData(e))return s?JSON.stringify(Bi(e)):e;if(_.isArrayBuffer(e)||_.isBuffer(e)||_.isStream(e)||_.isFile(e)||_.isBlob(e)||_.isReadableStream(e))return e;if(_.isArrayBufferView(e))return e.buffer;if(_.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let n;if(o){if(a.indexOf("application/x-www-form-urlencoded")>-1)return Hc(e,this.formSerializer).toString();if((n=_.isFileList(e))||a.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return ve(n?{"files[]":e}:e,r&&new r,this.formSerializer)}}return o||s?(i.setContentType("application/json",!1),Zc(e)):e}],transformResponse:[function(e){const i=this.transitional||Wt.transitional,a=i&&i.forcedJSONParsing,s=this.responseType==="json";if(_.isResponse(e)||_.isReadableStream(e))return e;if(e&&_.isString(e)&&(a&&!this.responseType||s)){const o=!(i&&i.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(n){if(o)throw n.name==="SyntaxError"?k.from(n,k.ERR_BAD_RESPONSE,this,null,this.response):n}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:L.classes.FormData,Blob:L.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Wt.headers[e]={}});const Dt=Wt,Yc=_.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"]),Xc=e=>{const i={};let a,s,o;return e&&e.split(`
|
|
11
|
-
`).forEach(function(n){o=n.indexOf(":"),a=n.substring(0,o).trim().toLowerCase(),s=n.substring(o+1).trim(),!(!a||i[a]&&Yc[a])&&(a==="set-cookie"?i[a]?i[a].push(s):i[a]=[s]:i[a]=i[a]?i[a]+", "+s:s)}),i},xi=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function je(e){return e===!1||e==null?e:_.isArray(e)?e.map(je):String(e)}function Qc(e){const i=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=a.exec(e);)i[s[1]]=s[2];return i}const ed=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Mt(e,i,a,s,o){if(_.isFunction(s))return s.call(this,i,a);if(o&&(i=a),!!_.isString(i)){if(_.isString(s))return i.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(i)}}function td(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,a,s)=>a.toUpperCase()+s)}function ad(e,i){const a=_.toCamelCase(" "+i);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+a,{value:function(o,n,r){return this[s].call(this,i,o,n,r)},configurable:!0})})}class Ue{constructor(i){i&&this.set(i)}set(i,a,s){const o=this;function n(l,p,c){const d=Ce(p);if(!d)throw new Error("header name must be a non-empty string");const m=_.findKey(o,d);(!m||o[m]===void 0||c===!0||c===void 0&&o[m]!==!1)&&(o[m||p]=je(l))}const r=(l,p)=>_.forEach(l,(c,d)=>n(c,d,p));if(_.isPlainObject(i)||i instanceof this.constructor)r(i,a);else if(_.isString(i)&&(i=i.trim())&&!ed(i))r(Xc(i),a);else if(_.isObject(i)&&_.isIterable(i)){let l={},p,c;for(const d of i){if(!_.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[c=d[0]]=(p=l[c])?_.isArray(p)?[...p,d[1]]:[p,d[1]]:d[1]}r(l,a)}else i!=null&&n(a,i,s);return this}get(i,a){if(i=Ce(i),i){const s=_.findKey(this,i);if(s){const o=this[s];if(!a)return o;if(a===!0)return Qc(o);if(_.isFunction(a))return a.call(this,o,s);if(_.isRegExp(a))return a.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,a){if(i=Ce(i),i){const s=_.findKey(this,i);return!!(s&&this[s]!==void 0&&(!a||Mt(this,this[s],s,a)))}return!1}delete(i,a){const s=this;let o=!1;function n(r){if(r=Ce(r),r){const l=_.findKey(s,r);l&&(!a||Mt(s,s[l],l,a))&&(delete s[l],o=!0)}}return _.isArray(i)?i.forEach(n):n(i),o}clear(i){const a=Object.keys(this);let s=a.length,o=!1;for(;s--;){const n=a[s];(!i||Mt(this,this[n],n,i,!0))&&(delete this[n],o=!0)}return o}normalize(i){const a=this,s={};return _.forEach(this,(o,n)=>{const r=_.findKey(s,n);if(r){a[r]=je(o),delete a[n];return}const l=i?td(n):String(n).trim();l!==n&&delete a[n],a[l]=je(o),s[l]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const a=Object.create(null);return _.forEach(this,(s,o)=>{s!=null&&s!==!1&&(a[o]=i&&_.isArray(s)?s.join(", "):s)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,a])=>i+": "+a).join(`
|
|
12
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...a){const s=new this(i);return a.forEach(o=>s.set(o)),s}static accessor(i){const a=(this[xi]=this[xi]={accessors:{}}).accessors,s=this.prototype;function o(n){const r=Ce(n);a[r]||(ad(s,n),a[r]=!0)}return _.isArray(i)?i.forEach(o):o(i),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.reduceDescriptors(Ue.prototype,({value:e},i)=>{let a=i[0].toUpperCase()+i.slice(1);return{get:()=>e,set(s){this[a]=s}}}),_.freezeMethods(Ue);const J=Ue;function vt(e,i){const a=this||Dt,s=i||a,o=J.from(s.headers);let n=s.data;return _.forEach(e,function(r){n=r.call(a,n,o.normalize(),i?i.status:void 0)}),o.normalize(),n}function Fi(e){return!!(e&&e.__CANCEL__)}function pe(e,i,a){k.call(this,e??"canceled",k.ERR_CANCELED,i,a),this.name="CanceledError"}_.inherits(pe,k,{__CANCEL__:!0});function zi(e,i,a){const s=a.config.validateStatus;!a.status||!s||s(a.status)?e(a):i(new k("Request failed with status code "+a.status,[k.ERR_BAD_REQUEST,k.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function id(e){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return i&&i[1]||""}function sd(e,i){e=e||10;const a=new Array(e),s=new Array(e);let o=0,n=0,r;return i=i!==void 0?i:1e3,function(l){const p=Date.now(),c=s[n];r||(r=p),a[o]=l,s[o]=p;let d=n,m=0;for(;d!==o;)m+=a[d++],d=d%e;if(o=(o+1)%e,o===n&&(n=(n+1)%e),p-r<i)return;const f=c&&p-c;return f?Math.round(m*1e3/f):void 0}}function nd(e,i){let a=0,s=1e3/i,o,n;const r=(l,p=Date.now())=>{a=p,o=null,n&&(clearTimeout(n),n=null),e.apply(null,l)};return[(...l)=>{const p=Date.now(),c=p-a;c>=s?r(l,p):(o=l,n||(n=setTimeout(()=>{n=null,r(o)},s-c)))},()=>o&&r(o)]}const $e=(e,i,a=3)=>{let s=0;const o=sd(50,250);return nd(n=>{const r=n.loaded,l=n.lengthComputable?n.total:void 0,p=r-s,c=o(p),d=r<=l;s=r;const m={loaded:r,total:l,progress:l?r/l:void 0,bytes:p,rate:c||void 0,estimated:c&&l&&d?(l-r)/c:void 0,event:n,lengthComputable:l!=null,[i?"download":"upload"]:!0};e(m)},a)},Ai=(e,i)=>{const a=e!=null;return[s=>i[0]({lengthComputable:a,total:e,loaded:s}),i[1]]},Ii=e=>(...i)=>_.asap(()=>e(...i)),od=L.hasStandardBrowserEnv?((e,i)=>a=>(a=new URL(a,L.origin),e.protocol===a.protocol&&e.host===a.host&&(i||e.port===a.port)))(new URL(L.origin),L.navigator&&/(msie|trident)/i.test(L.navigator.userAgent)):()=>!0,rd=L.hasStandardBrowserEnv?{write(e,i,a,s,o,n){const r=[e+"="+encodeURIComponent(i)];_.isNumber(a)&&r.push("expires="+new Date(a).toGMTString()),_.isString(s)&&r.push("path="+s),_.isString(o)&&r.push("domain="+o),n===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const i=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ld(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cd(e,i){return i?e.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):e}function Ri(e,i,a){let s=!ld(i);return e&&(s||a==!1)?cd(e,i):i}const Oi=e=>e instanceof J?{...e}:e;function se(e,i){i=i||{};const a={};function s(c,d,m,f){return _.isPlainObject(c)&&_.isPlainObject(d)?_.merge.call({caseless:f},c,d):_.isPlainObject(d)?_.merge({},d):_.isArray(d)?d.slice():d}function o(c,d,m,f){if(_.isUndefined(d)){if(!_.isUndefined(c))return s(void 0,c,m,f)}else return s(c,d,m,f)}function n(c,d){if(!_.isUndefined(d))return s(void 0,d)}function r(c,d){if(_.isUndefined(d)){if(!_.isUndefined(c))return s(void 0,c)}else return s(void 0,d)}function l(c,d,m){if(m in i)return s(c,d);if(m in e)return s(void 0,c)}const p={url:n,method:n,data:n,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:l,headers:(c,d,m)=>o(Oi(c),Oi(d),m,!0)};return _.forEach(Object.keys(Object.assign({},e,i)),function(c){const d=p[c]||o,m=d(e[c],i[c],c);_.isUndefined(m)&&d!==l||(a[c]=m)}),a}const Li=e=>{const i=se({},e);let{data:a,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:n,headers:r,auth:l}=i;i.headers=r=J.from(r),i.url=Ni(Ri(i.baseURL,i.url,i.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&r.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let p;if(_.isFormData(a)){if(L.hasStandardBrowserEnv||L.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((p=r.getContentType())!==!1){const[c,...d]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];r.setContentType([c||"multipart/form-data",...d].join("; "))}}if(L.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(i)),s||s!==!1&&od(i.url))){const c=o&&n&&rd.read(n);c&&r.set(o,c)}return i},dd=typeof XMLHttpRequest<"u",md=dd&&function(e){return new Promise(function(i,a){const s=Li(e);let o=s.data;const n=J.from(s.headers).normalize();let{responseType:r,onUploadProgress:l,onDownloadProgress:p}=s,c,d,m,f,u;function y(){f&&f(),u&&u(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function b(){if(!h)return;const T=J.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!r||r==="text"||r==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:T,config:e,request:h};zi(function(P){i(P),y()},function(P){a(P),y()},E),h=null}"onloadend"in h?h.onloadend=b:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(b)},h.onabort=function(){h&&(a(new k("Request aborted",k.ECONNABORTED,e,h)),h=null)},h.onerror=function(){a(new k("Network Error",k.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let T=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const E=s.transitional||Pi;s.timeoutErrorMessage&&(T=s.timeoutErrorMessage),a(new k(T,E.clarifyTimeoutError?k.ETIMEDOUT:k.ECONNABORTED,e,h)),h=null},o===void 0&&n.setContentType(null),"setRequestHeader"in h&&_.forEach(n.toJSON(),function(T,E){h.setRequestHeader(E,T)}),_.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),r&&r!=="json"&&(h.responseType=s.responseType),p&&([m,u]=$e(p,!0),h.addEventListener("progress",m)),l&&h.upload&&([d,f]=$e(l),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",f)),(s.cancelToken||s.signal)&&(c=T=>{h&&(a(!T||T.type?new pe(null,e,h):T),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const S=id(s.url);if(S&&L.protocols.indexOf(S)===-1){a(new k("Unsupported protocol "+S+":",k.ERR_BAD_REQUEST,e));return}h.send(o||null)})},pd=(e,i)=>{const{length:a}=e=e?e.filter(Boolean):[];if(i||a){let s=new AbortController,o;const n=function(c){if(!o){o=!0,l();const d=c instanceof Error?c:this.reason;s.abort(d instanceof k?d:new pe(d instanceof Error?d.message:d))}};let r=i&&setTimeout(()=>{r=null,n(new k(`timeout ${i} of ms exceeded`,k.ETIMEDOUT))},i);const l=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(n):c.removeEventListener("abort",n)}),e=null)};e.forEach(c=>c.addEventListener("abort",n));const{signal:p}=s;return p.unsubscribe=()=>_.asap(l),p}},fd=pd,ud=function*(e,i){let a=e.byteLength;if(a<i){yield e;return}let s=0,o;for(;s<a;)o=s+i,yield e.slice(s,o),s=o},hd=async function*(e,i){for await(const a of yd(e))yield*ud(a,i)},yd=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const i=e.getReader();try{for(;;){const{done:a,value:s}=await i.read();if(a)break;yield s}}finally{await i.cancel()}},Gi=(e,i,a,s)=>{const o=hd(e,i);let n=0,r,l=p=>{r||(r=!0,s&&s(p))};return new ReadableStream({async pull(p){try{const{done:c,value:d}=await o.next();if(c){l(),p.close();return}let m=d.byteLength;if(a){let f=n+=m;a(f)}p.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(p){return l(p),o.return()}},{highWaterMark:2})},Je=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wi=Je&&typeof ReadableStream=="function",gd=Je&&(typeof TextEncoder=="function"?(e=>i=>e.encode(i))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Di=(e,...i)=>{try{return!!e(...i)}catch{return!1}},_d=Wi&&Di(()=>{let e=!1;const i=new Request(L.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!i}),Mi=64*1024,jt=Wi&&Di(()=>_.isReadableStream(new Response("").body)),He={stream:jt&&(e=>e.body)};Je&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!He[i]&&(He[i]=_.isFunction(e[i])?a=>a[i]():(a,s)=>{throw new k(`Response type '${i}' is not supported`,k.ERR_NOT_SUPPORT,s)})})})(new Response);const bd=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(L.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_.isArrayBufferView(e)||_.isArrayBuffer(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await gd(e)).byteLength},Td=async(e,i)=>_.toFiniteNumber(e.getContentLength())??bd(i),Sd=Je&&(async e=>{let{url:i,method:a,data:s,signal:o,cancelToken:n,timeout:r,onDownloadProgress:l,onUploadProgress:p,responseType:c,headers:d,withCredentials:m="same-origin",fetchOptions:f}=Li(e);c=c?(c+"").toLowerCase():"text";let u=fd([o,n&&n.toAbortSignal()],r),y;const h=u&&u.unsubscribe&&(()=>{u.unsubscribe()});let b;try{if(p&&_d&&a!=="get"&&a!=="head"&&(b=await Td(d,s))!==0){let N=new Request(i,{method:"POST",body:s,duplex:"half"}),B;if(_.isFormData(s)&&(B=N.headers.get("content-type"))&&d.setContentType(B),N.body){const[F,j]=Ai(b,$e(Ii(p)));s=Gi(N.body,Mi,F,j)}}_.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;y=new Request(i,{...f,signal:u,method:a.toUpperCase(),headers:d.normalize().toJSON(),body:s,duplex:"half",credentials:S?m:void 0});let T=await fetch(y);const E=jt&&(c==="stream"||c==="response");if(jt&&(l||E&&h)){const N={};["status","statusText","headers"].forEach(A=>{N[A]=T[A]});const B=_.toFiniteNumber(T.headers.get("content-length")),[F,j]=l&&Ai(B,$e(Ii(l),!0))||[];T=new Response(Gi(T.body,Mi,F,()=>{j&&j(),h&&h()}),N)}c=c||"text";let P=await He[_.findKey(He,c)||"text"](T,e);return!E&&h&&h(),await new Promise((N,B)=>{zi(N,B,{data:P,headers:J.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(S){throw h&&h(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new k("Network Error",k.ERR_NETWORK,e,y),{cause:S.cause||S}):k.from(S,S&&S.code,e,y)}}),Ut={http:Ic,xhr:md,fetch:Sd};_.forEach(Ut,(e,i)=>{if(e){try{Object.defineProperty(e,"name",{value:i})}catch{}Object.defineProperty(e,"adapterName",{value:i})}});const vi=e=>`- ${e}`,wd=e=>_.isFunction(e)||e===null||e===!1,ji={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:i}=e;let a,s;const o={};for(let n=0;n<i;n++){a=e[n];let r;if(s=a,!wd(a)&&(s=Ut[(r=String(a)).toLowerCase()],s===void 0))throw new k(`Unknown adapter '${r}'`);if(s)break;o[r||"#"+n]=s}if(!s){const n=Object.entries(o).map(([l,p])=>`adapter ${l} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=i?n.length>1?`since :
|
|
13
|
-
`+n.map(vi).join(`
|
|
14
|
-
`):" "+vi(n[0]):"as no adapter specified";throw new k("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return s},adapters:Ut};function $t(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pe(null,e)}function Ui(e){return $t(e),e.headers=J.from(e.headers),e.data=vt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ji.getAdapter(e.adapter||Dt.adapter)(e).then(function(i){return $t(e),i.data=vt.call(e,e.transformResponse,i),i.headers=J.from(i.headers),i},function(i){return Fi(i)||($t(e),i&&i.response&&(i.response.data=vt.call(e,e.transformResponse,i.response),i.response.headers=J.from(i.response.headers))),Promise.reject(i)})}const $i="1.9.0",qe={};["object","boolean","number","function","string","symbol"].forEach((e,i)=>{qe[e]=function(a){return typeof a===e||"a"+(i<1?"n ":" ")+e}});const Ji={};qe.transitional=function(e,i,a){function s(o,n){return"[Axios v"+$i+"] Transitional option '"+o+"'"+n+(a?". "+a:"")}return(o,n,r)=>{if(e===!1)throw new k(s(n," has been removed"+(i?" in "+i:"")),k.ERR_DEPRECATED);return i&&!Ji[n]&&(Ji[n]=!0,console.warn(s(n," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(o,n,r):!0}},qe.spelling=function(e){return(i,a)=>(console.warn(`${a} is likely a misspelling of ${e}`),!0)};function Cd(e,i,a){if(typeof e!="object")throw new k("options must be an object",k.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const n=s[o],r=i[n];if(r){const l=e[n],p=l===void 0||r(l,n,e);if(p!==!0)throw new k("option "+n+" must be "+p,k.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new k("Unknown option "+n,k.ERR_BAD_OPTION)}}const Ke={assertOptions:Cd,validators:qe},q=Ke.validators;class Ze{constructor(i){this.defaults=i||{},this.interceptors={request:new Vi,response:new Vi}}async request(i,a){try{return await this._request(i,a)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const n=o.stack?o.stack.replace(/^.+\n/,""):"";try{s.stack?n&&!String(s.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
15
|
-
`+n):s.stack=n}catch{}}throw s}}_request(i,a){typeof i=="string"?(a=a||{},a.url=i):a=i||{},a=se(this.defaults,a);const{transitional:s,paramsSerializer:o,headers:n}=a;s!==void 0&&Ke.assertOptions(s,{silentJSONParsing:q.transitional(q.boolean),forcedJSONParsing:q.transitional(q.boolean),clarifyTimeoutError:q.transitional(q.boolean)},!1),o!=null&&(_.isFunction(o)?a.paramsSerializer={serialize:o}:Ke.assertOptions(o,{encode:q.function,serialize:q.function},!0)),a.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?a.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:a.allowAbsoluteUrls=!0),Ke.assertOptions(a,{baseUrl:q.spelling("baseURL"),withXsrfToken:q.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let r=n&&_.merge(n.common,n[a.method]);n&&_.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),a.headers=J.concat(r,n);const l=[];let p=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(a)===!1||(p=p&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let d,m=0,f;if(!p){const y=[Ui.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),f=y.length,d=Promise.resolve(a);m<f;)d=d.then(y[m++],y[m++]);return d}f=l.length;let u=a;for(m=0;m<f;){const y=l[m++],h=l[m++];try{u=y(u)}catch(b){h.call(this,b);break}}try{d=Ui.call(this,u)}catch(y){return Promise.reject(y)}for(m=0,f=c.length;m<f;)d=d.then(c[m++],c[m++]);return d}getUri(i){i=se(this.defaults,i);const a=Ri(i.baseURL,i.url,i.allowAbsoluteUrls);return Ni(a,i.params,i.paramsSerializer)}}_.forEach(["delete","get","head","options"],function(e){Ze.prototype[e]=function(i,a){return this.request(se(a||{},{method:e,url:i,data:(a||{}).data}))}}),_.forEach(["post","put","patch"],function(e){function i(a){return function(s,o,n){return this.request(se(n||{},{method:e,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Ze.prototype[e]=i(),Ze.prototype[e+"Form"]=i(!0)});const Ye=Ze;class Jt{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(o){a=o});const s=this;this.promise.then(o=>{if(!s._listeners)return;let n=s._listeners.length;for(;n-- >0;)s._listeners[n](o);s._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(l=>{s.subscribe(l),n=l}).then(o);return r.cancel=function(){s.unsubscribe(n)},r},i(function(o,n,r){s.reason||(s.reason=new pe(o,n,r),a(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const i=new AbortController,a=s=>{i.abort(s)};return this.subscribe(a),i.signal.unsubscribe=()=>this.unsubscribe(a),i.signal}static source(){let i;return{token:new Jt(function(a){i=a}),cancel:i}}}const kd=Jt;function Ed(e){return function(i){return e.apply(null,i)}}function Nd(e){return _.isObject(e)&&e.isAxiosError===!0}const Ht={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(Ht).forEach(([e,i])=>{Ht[i]=e});const Vd=Ht;function Hi(e){const i=new Ye(e),a=mi(Ye.prototype.request,i);return _.extend(a,Ye.prototype,i,{allOwnKeys:!0}),_.extend(a,i,null,{allOwnKeys:!0}),a.create=function(s){return Hi(se(e,s))},a}const x=Hi(Dt);x.Axios=Ye,x.CanceledError=pe,x.CancelToken=kd,x.isCancel=Fi,x.VERSION=$i,x.toFormData=ve,x.AxiosError=k,x.Cancel=x.CanceledError,x.all=function(e){return Promise.all(e)},x.spread=Ed,x.isAxiosError=Nd,x.mergeConfig=se,x.AxiosHeaders=J,x.formToJSON=e=>Bi(_.isHTMLForm(e)?new FormData(e):e),x.getAdapter=ji.getAdapter,x.HttpStatusCode=Vd,x.default=x,Array.from({length:30},(e,i)=>1981+i).sort((e,i)=>i-e);const Pd={__name:"SwitchCustom",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:i}){const a=e,s=t.ref(null);t.watch(()=>a.modelValue,()=>{o()},{immediate:!0});function o(){s.value&&(s.value.checked=a.modelValue)}function n(r){i("update:modelValue",r.target.checked)}return t.onMounted(()=>{o()}),(r,l)=>(t.openBlock(),t.createElementBlock("input",{ref_key:"switchCustom",ref:s,id:"toggle",class:"toggle",type:"checkbox",role:"switch",name:"toggle",onInput:n},null,544))}},qt=D(Pd,[["__scopeId","data-v-e3a6ae4e"]]),Bd={__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:""},activeFontColor:{type:String,default:""},fontColor:{type:String,default:"#000000"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular, sans-serif"},isActive:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:i}){const a=e,s=t.computed(()=>({"--height":a.height,"--width":a.width,"--padding":a.padding,"--border-radius":a.borderRadius,"--border":`solid ${a.borderWidth} ${a.borderColor}`,"--background-color":a.backgroundColor,"--font-color":a.fontColor,"--font-size":a.fontSize,"--font-family":a.fontFamily,"--active-background-color":a.activeBackgroundColor||a.backgroundColor,"--active-border-color":a.activeBorderColor||a.borderColor,"--active-font-color":a.activeFontColor||a.fontColor}));function o(){i("click")}return(n,r)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["button",{active:e.isActive}]),style:t.normalizeStyle(s.value),onClick:o},t.toDisplayString(e.text),7))}},Xe=D(Bd,[["__scopeId","data-v-9688933e"]]),xd={class:"dropdown"},Fd={class:"selected-item"},zd={__name:"DropdownTextOnly",props:{items:{type:Array,default:()=>[]},itemTextKey:{type:String,default:""},isListSameWidth:{type:Boolean,default:!0}},emits:["input"],setup(e,{emit:i}){function a(s){i("input",s)}return(s,o)=>(t.openBlock(),t.createElementBlock("div",xd,[t.createVNode(t.unref(Bt),t.mergeProps(t.unref(xt),{"is-list-same-width":e.isListSameWidth,items:e.items,onInput:a}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",Fd,t.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",null,t.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),_:1},16,["is-list-same-width","items"])]))}},v=D(zd,[["__scopeId","data-v-064d5f86"]]),Ad={class:"dropdown"},Id={class:"game-item"},Rd={key:0,class:"item-game"},Od={class:"match-day"},Ld={class:"team-logo"},Gd=["src"],Wd={class:"text"},Dd={class:"text score"},Md={class:"text"},vd={class:"team-logo"},jd=["src"],Ud={class:"item-game"},$d={class:"team-logo"},Jd=["src"],Hd={class:"text"},qd={class:"text score"},Kd={class:"text"},Zd={class:"team-logo"},Yd=["src"],Xd={__name:"DropdownGame",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:i}){function a(s){i("input",s)}return(s,o)=>(t.openBlock(),t.createElementBlock("div",Ad,[t.createVNode(t.unref(Bt),t.mergeProps(t.unref(xt),{items:e.items,onInput:a}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",Id,[n.homeTeam?(t.openBlock(),t.createElementBlock("div",Rd,[t.createElementVNode("div",Od,t.toDisplayString(n.roundAbbreviation),1),t.createElementVNode("div",Ld,[t.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,Gd)]),t.createElementVNode("div",Wd,t.toDisplayString(n.homeTeam.acronym),1),t.createElementVNode("div",Dd,t.toDisplayString(n.score[0])+" - "+t.toDisplayString(n.score[1]),1),t.createElementVNode("div",Md,t.toDisplayString(n.awayTeam.acronym),1),t.createElementVNode("div",vd,[t.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,jd)])])):t.createCommentVNode("",!0)])]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",Ud,[t.createElementVNode("div",null,t.toDisplayString(n.roundAbbreviation),1),t.createElementVNode("div",$d,[t.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,Jd)]),t.createElementVNode("div",Hd,t.toDisplayString(n.homeTeam.acronym),1),t.createElementVNode("div",qd,t.toDisplayString(n.score[0])+" - "+t.toDisplayString(n.score[1]),1),t.createElementVNode("div",Kd,t.toDisplayString(n.awayTeam.acronym),1),t.createElementVNode("div",Zd,[t.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,Yd)])])]),_:1},16,["items"])]))}},Qe=D(Xd,[["__scopeId","data-v-7883a91e"]]),et=e=>(t.pushScopeId("data-v-b63e9c84"),e=e(),t.popScopeId(),e),Qd={class:"container"},em={class:"container__row"},tm={class:"container__row__wrapper"},am=et(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),im={class:"container__row__wrapper__input"},sm={class:"container__row two-items"},nm={class:"container__row__wrapper"},om=et(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),rm={key:0,class:"container__row__wrapper__input"},lm={class:"container__row__wrapper"},cm=et(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),dm={key:0,class:"container__row__wrapper__input"},mm={class:"container__row"},pm={class:"container__row__wrapper"},fm=et(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),um={key:0,class:"container__row__wrapper__input"},hm={class:"container__action"},ym={__name:"VideosGoals",props:{tournaments:{type:Array,required:!0}},emits:["update:tournament","update:season"],setup(e,{emit:i}){const a={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},s=t.ref(null),o=t.ref(null),n=t.ref(null),r=t.ref(null);function l(m){s.value=m,i("update:tournament",m)}function p(m){o.value=m,i("update:season",m)}function c(m){n.value=m}function d(m){r.value=m}return(m,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Qd,[t.createElementVNode("div",em,[t.createElementVNode("div",tm,[am,t.createElementVNode("div",im,[t.createVNode(v,{items:e.tournaments,itemTextKey:"name",onInput:l},null,8,["items"])])])]),t.createElementVNode("div",sm,[t.createElementVNode("div",nm,[om,s.value&&s.value.seasons?(t.openBlock(),t.createElementBlock("div",rm,[t.createVNode(v,{items:s.value.seasons,itemTextKey:"name",onInput:p},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",lm,[cm,o.value&&o.value.arrayMatchDays?(t.openBlock(),t.createElementBlock("div",dm,[t.createVNode(v,{items:o.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:c},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",mm,[t.createElementVNode("div",pm,[fm,n.value&&n.value.arrayGames?(t.openBlock(),t.createElementBlock("div",um,[t.createVNode(Qe,{items:n.value.arrayGames,onInput:d},null,8,["items"])])):t.createCommentVNode("",!0)])])]),t.createElementVNode("div",hm,[t.createVNode(Xe,t.normalizeProps(t.guardReactiveProps(a)),null,16)])],64))}},gm=D(ym,[["__scopeId","data-v-b63e9c84"]]),_m={class:"dropdown"},bm={class:"item-team"},Tm={class:"team-logo"},Sm=["src"],wm={class:"team-acronym"},Cm={class:"item-team"},km={class:"team-logo"},Em=["src"],Nm={class:"team-acronym"},Vm={__name:"DropdownTeam",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:i}){function a(s){i("input",s)}return(s,o)=>(t.openBlock(),t.createElementBlock("div",_m,[t.createVNode(t.unref(Bt),t.mergeProps(t.unref(xt),{items:e.items,onInput:a}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",bm,[t.createElementVNode("div",Tm,[t.createElementVNode("img",{src:n.logo,alt:""},null,8,Sm)]),t.createElementVNode("div",wm,t.toDisplayString(n.acronym),1)])]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",Cm,[t.createElementVNode("div",km,[t.createElementVNode("img",{src:n.logo,alt:""},null,8,Em)]),t.createElementVNode("div",Nm,t.toDisplayString(n.acronym),1)])]),_:1},16,["items"])]))}},qi=D(Vm,[["__scopeId","data-v-afd2bee8"]]),Pm={class:"advanced-filters"},Bm={class:"advanced-filters__buttons"},xm=["onClick"],Fm={class:"advanced-filters__filters"},zm={__name:"AdvancedFilters",props:{selectedCategory:{type:Object,default:()=>({})}},setup(e){const i=e,a=t.defineAsyncComponent(()=>Promise.resolve().then(()=>kf)),s=t.defineAsyncComponent(()=>Promise.resolve().then(()=>vf)),o=t.defineAsyncComponent(()=>Promise.resolve().then(()=>Uf)),n=[{name:"Sub categorías",component:a},{name:"Cancha",component:o},{name:"Condiciones",component:s}],r=t.ref(n[0]),l=t.computed(()=>i.selectedCategory?i.selectedCategory.subcategoryGroups||[]:[]);function p(c){r.value=c}return(c,d)=>(t.openBlock(),t.createElementBlock("div",Pm,[t.createElementVNode("div",Bm,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,m=>t.createElementVNode("div",{key:m.name,role:"button",class:t.normalizeClass(["advanced-filters__buttons__button",{active:r.value.name===m.name}]),onClick:f=>p(m)},t.toDisplayString(m.name),11,xm)),64))]),t.createElementVNode("div",Fm,[(t.openBlock(),t.createBlock(t.KeepAlive,null,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value.component),{"subcategory-groups":l.value},null,8,["subcategory-groups"]))],1024))])]))}},Kt=D(zm,[["__scopeId","data-v-c62c5b9c"]]),ne=e=>(t.pushScopeId("data-v-575b26b5"),e=e(),t.popScopeId(),e),Am={class:"container"},Im={class:"container__row"},Rm={class:"container__row__wrapper"},Om=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Lm={class:"container__row__wrapper__input"},Gm={class:"container__row two-items"},Wm={class:"container__row__wrapper"},Dm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Mm={key:0,class:"container__row__wrapper__input"},vm={class:"container__row__wrapper"},jm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. En que equipo juega?",-1)),Um={key:0,class:"container__row__wrapper__input"},$m={class:"container__row"},Jm={class:"container__row__wrapper"},Hm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Nombre del jugador",-1)),qm={key:0,class:"container__row__wrapper__input"},Km={class:"container__row"},Zm={class:"container__row__wrapper"},Ym=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el partido",-1)),Xm={key:0,class:"container__row__wrapper__input"},Qm={class:"container__row type-and-advanced"},ep={class:"container__row__wrapper"},tp=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),ap={class:"container__row__wrapper__input"},ip={class:"container__row__wrapper center"},sp=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),np={class:"container__row__wrapper__input"},op={class:"container__row"},rp={class:"container__action"},lp={__name:"VideosPlayer",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({player:[],goalkeeper:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:i}){const a=e,s={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null);t.ref(null);const r=t.ref(null),l=t.ref(null),p=t.ref(null),c=t.ref(null),d=t.ref(!0),m=t.computed(()=>p.value?p.value.position_id===1?a.advancedFilterCategories.goalkeeper:a.advancedFilterCategories.player:[]);function f(T){o.value=T,i("update:tournament",T)}function u(T){n.value=T,i("update:season",T)}function y(T){l.value=T,i("update:team",T)}function h(T){p.value=T}function b(T){r.value=T}function S(T){c.value=T}return(T,E)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Am,[t.createElementVNode("div",Im,[t.createElementVNode("div",Rm,[Om,t.createElementVNode("div",Lm,[t.createVNode(v,{items:e.tournaments,itemTextKey:"name",onInput:f},null,8,["items"])])])]),t.createElementVNode("div",Gm,[t.createElementVNode("div",Wm,[Dm,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",Mm,[t.createVNode(v,{items:o.value.seasons,itemTextKey:"name",onInput:u},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",vm,[jm,n.value&&n.value.arrayTeams?(t.openBlock(),t.createElementBlock("div",Um,[t.createVNode(qi,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",$m,[t.createElementVNode("div",Jm,[Hm,l.value&&l.value.arrayPlayers?(t.openBlock(),t.createElementBlock("div",qm,[t.createVNode(v,{items:l.value.arrayPlayers,itemTextKey:"player_name",onInput:h},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Km,[t.createElementVNode("div",Zm,[Ym,n.value&&n.value.mapGamesByTeam&&l.value?(t.openBlock(),t.createElementBlock("div",Xm,[t.createVNode(Qe,{items:n.value.mapGamesByTeam.get(l.value.team_id),onInput:b},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Qm,[t.createElementVNode("div",ep,[tp,t.createElementVNode("div",ap,[t.createVNode(v,{items:m.value,itemTextKey:"name","is-list-same-width":!1,onInput:S},null,8,["items"])])]),t.createElementVNode("div",ip,[sp,t.createElementVNode("div",np,[t.createVNode(qt,{modelValue:d.value,"onUpdate:modelValue":E[0]||(E[0]=P=>d.value=P)},null,8,["modelValue"])])])]),t.createElementVNode("div",op,[t.createVNode(Kt,{"selected-category":c.value},null,8,["selected-category"])])]),t.createElementVNode("div",rp,[t.createVNode(Xe,t.normalizeProps(t.guardReactiveProps(s)),null,16)])],64))}},cp=D(lp,[["__scopeId","data-v-575b26b5"]]),fe=e=>(t.pushScopeId("data-v-6d73d5e6"),e=e(),t.popScopeId(),e),dp={class:"container"},mp={class:"container__row"},pp={class:"container__row__wrapper"},fp=fe(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),up={class:"container__row__wrapper__input"},hp={class:"container__row two-items"},yp={class:"container__row__wrapper"},gp=fe(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),_p={key:0,class:"container__row__wrapper__input"},bp={class:"container__row__wrapper"},Tp=fe(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige el equipo",-1)),Sp={key:0,class:"container__row__wrapper__input"},wp={class:"container__row"},Cp={class:"container__row__wrapper"},kp=fe(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Ep={key:0,class:"container__row__wrapper__input"},Np={class:"container__row type-and-advanced"},Vp={class:"container__row__wrapper"},Pp=fe(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el tipo de video",-1)),Bp={class:"container__row__wrapper__input"},xp={class:"container__row__wrapper center"},Fp=fe(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),zp={class:"container__row__wrapper__input"},Ap={class:"container__row"},Ip={class:"container__action"},Rp={__name:"VideosTeam",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({team:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:i}){const a=e,s={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null);t.ref(null);const r=t.ref(null),l=t.ref(null),p=t.ref(null),c=t.ref(!0),d=t.computed(()=>a.advancedFilterCategories.team);function m(b){o.value=b,i("update:tournament",b)}function f(b){n.value=b,i("update:season",b)}function u(b){l.value=b,i("update:team",b)}function y(b){r.value=b}function h(b){p.value=b}return(b,S)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",dp,[t.createElementVNode("div",mp,[t.createElementVNode("div",pp,[fp,t.createElementVNode("div",up,[t.createVNode(v,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),t.createElementVNode("div",hp,[t.createElementVNode("div",yp,[gp,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",_p,[t.createVNode(v,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",bp,[Tp,n.value&&n.value.arrayTeams?(t.openBlock(),t.createElementBlock("div",Sp,[t.createVNode(qi,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:u},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",wp,[t.createElementVNode("div",Cp,[kp,n.value&&n.value.mapGamesByTeam&&l.value?(t.openBlock(),t.createElementBlock("div",Ep,[t.createVNode(Qe,{items:n.value.mapGamesByTeam.get(l.value.team_id),onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Np,[t.createElementVNode("div",Vp,[Pp,t.createElementVNode("div",Bp,[t.createVNode(v,{items:d.value,itemTextKey:"name","is-list-same-width":!1,onInput:h},null,8,["items"])])]),t.createElementVNode("div",xp,[Fp,t.createElementVNode("div",zp,[t.createVNode(qt,{modelValue:c.value,"onUpdate:modelValue":S[0]||(S[0]=T=>c.value=T)},null,8,["modelValue"])])])]),t.createElementVNode("div",Ap,[t.createVNode(Kt,{"selected-category":p.value},null,8,["selected-category"])])]),t.createElementVNode("div",Ip,[t.createVNode(Xe,t.normalizeProps(t.guardReactiveProps(s)),null,16)])],64))}},Op=D(Rp,[["__scopeId","data-v-6d73d5e6"]]),ue=e=>(t.pushScopeId("data-v-6e904db8"),e=e(),t.popScopeId(),e),Lp={class:"container"},Gp={class:"container__row"},Wp={class:"container__row__wrapper"},Dp=ue(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Mp={class:"container__row__wrapper__input"},vp={class:"container__row two-items"},jp={class:"container__row__wrapper"},Up=ue(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),$p={key:0,class:"container__row__wrapper__input"},Jp={class:"container__row__wrapper"},Hp=ue(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),qp={key:0,class:"container__row__wrapper__input"},Kp={class:"container__row"},Zp={class:"container__row__wrapper"},Yp=ue(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Xp={key:0,class:"container__row__wrapper__input"},Qp={class:"container__row type-and-advanced"},ef={class:"container__row__wrapper"},tf=ue(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),af={class:"container__row__wrapper__input"},sf={class:"container__row__wrapper center"},nf=ue(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),of={class:"container__row__wrapper__input",style:{width:"fit-content"}},rf={class:"container__row"},lf={class:"container__action"},cf={__name:"VideosGame",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({games:[]})}},emits:["update:tournament","update:season"],setup(e,{emit:i}){const a=e,s={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null),r=t.ref(null),l=t.ref(null),p=t.ref(null),c=t.ref(!0),d=t.computed(()=>a.advancedFilterCategories.games);function m(b){o.value=b,i("update:tournament",b)}function f(b){n.value=b,i("update:season",b)}function u(b){r.value=b}function y(b){l.value=b}function h(b){p.value=b}return(b,S)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Lp,[t.createElementVNode("div",Gp,[t.createElementVNode("div",Wp,[Dp,t.createElementVNode("div",Mp,[t.createVNode(v,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),t.createElementVNode("div",vp,[t.createElementVNode("div",jp,[Up,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",$p,[t.createVNode(v,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Jp,[Hp,n.value&&n.value.arrayMatchDays?(t.openBlock(),t.createElementBlock("div",qp,[t.createVNode(v,{items:n.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:u},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Kp,[t.createElementVNode("div",Zp,[Yp,r.value&&r.value.arrayGames?(t.openBlock(),t.createElementBlock("div",Xp,[t.createVNode(Qe,{items:r.value.arrayGames,onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Qp,[t.createElementVNode("div",ef,[tf,t.createElementVNode("div",af,[t.createVNode(v,{items:d.value,itemTextKey:"name","is-list-same-width":!1,onInput:h},null,8,["items"])])]),t.createElementVNode("div",sf,[nf,t.createElementVNode("div",of,[t.createVNode(qt,{modelValue:c.value,"onUpdate:modelValue":S[0]||(S[0]=T=>c.value=T)},null,8,["modelValue"])])])]),t.createElementVNode("div",rf,[t.createVNode(Kt,{"selected-category":p.value},null,8,["selected-category"])])]),t.createElementVNode("div",lf,[t.createVNode(Xe,t.normalizeProps(t.guardReactiveProps(s)),null,16)])],64))}},df=D(cf,[["__scopeId","data-v-6e904db8"]]);t.defineComponent({name:"TemplateVideos",components:{VideosGoals:gm,VideosPlayer:cp,VideosTeam:Op,VideosGame:df}}),Array.from({length:24},(e,i)=>i+1),K(2,Zt()),K(2,Zt()),K(1,X(1)),K(1,X(1)),K(1,X(2)),K(1,X(2)),K(1,X(3)),K(1,X(3)),K(1,X(4)),K(1,X(4));function Zt(){return[[337,1],[338,2],[339,3],[340,4],[341,5],[342,6],[343,7],[344,8],[345,9],[346,10],[347,11],[348,12],[349,13],[350,14],[351,15],[352,16],[353,17],[354,18],[355,19],[356,20],[357,21]]}function Ki(){return Array.from({length:16},(e,i)=>i+1)}function X(e){switch(e){case 1:return[1,2,3,4];case 2:return[5,6,7,8];case 3:return[9,10,11,12];case 4:return[13,14,15,16]}}function K(e=1,i=null){return{origin_zones:e===1?Ki():Zt(),destiny_zones:i||Ki(),minimum_distance_x:0,maximum_distance_x:105,minimum_distance_y:0,maximum_distance_y:68,minimum_total_distance:0,maximum_total_distance:125,zone_type:e}}function mf(){return{backgroundColor:"#2e3b46",borderColor:"rgba(255, 255, 255, 0.20)",infoBorderColor:"rgba(255, 255, 255, 0.20)",height:"40px",padding:"5px 12px",textFontFamily:"'Poppins-Regular'"}}const pf={comfiltersContainer:"_comfiltersContainer_xl2as_1",comfiltersContainer1232:"_comfiltersContainer1232_xl2as_1",closeFiltersPc:"_closeFiltersPc_xl2as_1",comtextleyemdmultipleleagues:"_comtextleyemdmultipleleagues_xl2as_1",comtextleyemdmultipleleagues380:"_comtextleyemdmultipleleagues380_xl2as_1",comfiltersContainer760:"_comfiltersContainer760_xl2as_1",comfiltersContainer460:"_comfiltersContainer460_xl2as_1",comcontainerSection:"_comcontainerSection_xl2as_1",comcontainerSection1232:"_comcontainerSection1232_xl2as_1",comcontainerSection960:"_comcontainerSection960_xl2as_1",comcontainerSection320:"_comcontainerSection320_xl2as_1",comcontainerSection350:"_comcontainerSection350_xl2as_1",comtemplateLosMejores1:"_comtemplateLosMejores1_xl2as_1",comtemplateLosMejores11232:"_comtemplateLosMejores11232_xl2as_1",comtemplateLosMejores1960:"_comtemplateLosMejores1960_xl2as_1",comtemplateLosMejores1420:"_comtemplateLosMejores1420_xl2as_1",comtemplateLosMejores1320:"_comtemplateLosMejores1320_xl2as_1",comtemplateLosMejores1540:"_comtemplateLosMejores1540_xl2as_1",comtemplateLosMejores1350:"_comtemplateLosMejores1350_xl2as_1",comtopFiltersParent:"_comtopFiltersParent_xl2as_1",comtopFiltersParent1232:"_comtopFiltersParent1232_xl2as_1",comtopFiltersParent960:"_comtopFiltersParent960_xl2as_1",comtopFiltersParent460:"_comtopFiltersParent460_xl2as_1",comtopFiltersParent420:"_comtopFiltersParent420_xl2as_1",comcontainerTheBest:"_comcontainerTheBest_xl2as_1",comcontainerTheBest1232:"_comcontainerTheBest1232_xl2as_1",comcontainerTheBest960:"_comcontainerTheBest960_xl2as_1",comcontainerTheBest320:"_comcontainerTheBest320_xl2as_1",comtitleSection:"_comtitleSection_xl2as_1",comtitleSection540:"_comtitleSection540_xl2as_1",comcontainerTables:"_comcontainerTables_xl2as_1",comcontainerTables960:"_comcontainerTables960_xl2as_1",comcontainerTables760:"_comcontainerTables760_xl2as_1",comcontainerTables320:"_comcontainerTables320_xl2as_1",comtoniKroosWrapper:"_comtoniKroosWrapper_xl2as_1",comtoniKroosWrapper1080:"_comtoniKroosWrapper1080_xl2as_1",comtoniKroosWrapper975:"_comtoniKroosWrapper975_xl2as_1",comtoniKroosWrapper760:"_comtoniKroosWrapper760_xl2as_1",comtoniKroosWrapper420:"_comtoniKroosWrapper420_xl2as_1",comtoniKroosWrapper320:"_comtoniKroosWrapper320_xl2as_1",frameChild:"_frameChild_xl2as_1",filtros:"_filtros_xl2as_1",groupParent:"_groupParent_xl2as_1",shapeIcon:"_shapeIcon_xl2as_1",btnFilters:"_btnFilters_xl2as_1",btnFiltersPC:"_btnFiltersPC_xl2as_1",comquitarFiltros:"_comquitarFiltros_xl2as_1",comquitarFiltros730:"_comquitarFiltros730_xl2as_1",comquitarFiltros480:"_comquitarFiltros480_xl2as_1",comquitarFiltros380:"_comquitarFiltros380_xl2as_1",btnCloseFilters:"_btnCloseFilters_xl2as_1",commejoresJugadores:"_commejoresJugadores_xl2as_1",commejoresJugadores730:"_commejoresJugadores730_xl2as_1",commejoresJugadores480:"_commejoresJugadores480_xl2as_1",mejoresJugadoresSM:"_mejoresJugadoresSM_xl2as_1",toniKroos:"_toniKroos_xl2as_1",teamBar:"_teamBar_xl2as_1",commenuSection:"_commenuSection_xl2as_1",commenuSection960:"_commenuSection960_xl2as_1",comcontainerMenu:"_comcontainerMenu_xl2as_1",comcontainerMenu760:"_comcontainerMenu760_xl2as_1",containerFilters:"_containerFilters_xl2as_1",teamBarParent:"_teamBarParent_xl2as_1",comtopFilters:"_comtopFilters_xl2as_1",comtopFilters1232:"_comtopFilters1232_xl2as_1",comtopFilters420:"_comtopFilters420_xl2as_1",comtopFilters460:"_comtopFilters460_xl2as_1",comlosMejores:"_comlosMejores_xl2as_1",comlosMejores380:"_comlosMejores380_xl2as_1",comlosMejores530:"_comlosMejores530_xl2as_1",comlosMejores730:"_comlosMejores730_xl2as_1",commenuSectionHeader:"_commenuSectionHeader_xl2as_1",commenuSectionHeader1232:"_commenuSectionHeader1232_xl2as_1",commenuSectionHeader960:"_commenuSectionHeader960_xl2as_1",commenuSectionHeader730:"_commenuSectionHeader730_xl2as_1",comdropdown:"_comdropdown_xl2as_1",comdropdown730:"_comdropdown730_xl2as_1",comdropdown1:"_comdropdown1_xl2as_1",comdropdown1730:"_comdropdown1730_xl2as_1",comdropdownParent:"_comdropdownParent_xl2as_1",comdropdownParent730:"_comdropdownParent730_xl2as_1",commenuSectionParentHeader:"_commenuSectionParentHeader_xl2as_1",commenuSectionParentHeader1232:"_commenuSectionParentHeader1232_xl2as_1",commenuSectionParentHeader960:"_commenuSectionParentHeader960_xl2as_1",commenuSectionParentHeader730:"_commenuSectionParentHeader730_xl2as_1",commenuSectionParentHeader430:"_commenuSectionParentHeader430_xl2as_1",comdescubreVideos:"_comdescubreVideos_xl2as_1",comdescubreVideos1232:"_comdescubreVideos1232_xl2as_1",comdescubreVideos960:"_comdescubreVideos960_xl2as_1",allCategories:"_allCategories_xl2as_1",containerScountingBtncom:"_containerScountingBtncom_xl2as_3",btnDeleteAplicacom:"_btnDeleteAplicacom_xl2as_13",SearchBtnBarcom:"_SearchBtnBarcom_xl2as_33",btnLeyendTxtcom:"_btnLeyendTxtcom_xl2as_52",BtnSearchScountingcom:"_BtnSearchScountingcom_xl2as_61",containerPredefinedcom:"_containerPredefinedcom_xl2as_85",containerPredefinedScountingcom:"_containerPredefinedScountingcom_xl2as_92",titleContainerPredefinedcom:"_titleContainerPredefinedcom_xl2as_100",subtitleContainerPredefinedcom:"_subtitleContainerPredefinedcom_xl2as_111"},ff=t.ref(mf()),uf={components:{GSCTopCategory:Tr},computed:{...An.computed,filterChangePredefined(){return this.filtersPredefinedF},filterChange(){const e={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.fVnationalities,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},i=JSON.stringify(e);return JSON.stringify(this.filters)!=i,i},filterGolstats(){return this.FVfilterGolstats},filterButtonProps(){return{...ff.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamId:{type:Number,default:0},gameId:{type:Number,default:0},isWidget:{type:Boolean,default:!1},seasonSelected:{type:Object,default:()=>({})},categoryView:{type:Array,default:()=>[]},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({})},teamselect:{type:Number,default:0},seasonActive:{type:Number,default:0},defaultSection:{type:String,default:"Jugadores"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},tournamentsApiUrl:{type:String,default:""}},watch:{async seasonActive(){if(this.seasonActive!=0){this.teams=[];const e=await this.fetchTeams();for(let i=0;i<e.teams.length;i++)this.teams.push({id:e.teams[i].team_id,team:e.teams[i].colloquial_name,logo:e.teams[i].logo})}}},setup(){const e=t.ref("myDivRefTopsFull"),{elementSize:i}=be(e);return{myDivRefTopsFull:e,elementSize:i}},data(){return{showfiltersPc:!1,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],arrayFiltersPlays:[],filtersPredefinedF:{},categoryPredefinedActive:!1,categoryPredefined:0,typeTable:0,keyUpdateFilter:0,loadingActive:!1,isTeam:!1,arrayPredefinedFilters:[],arrayCategoryFilter:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],arrayCategoryFilterFull:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],FVsetAvailableNationalTeamsPlayersIds:new Set,showOnlyCategories:!1,showFullCategory:0,categoryName:"",showFullTable:!1,expansionPanelModePropsTypePlays:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",width:"400px",maxWidth:"400px"},expansionPanelProps:{width:"400px",borderRadius:"8px"},fieldComponentProps:{widthContainer:"400px"}},expansionPanelModeProps:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)"},expansionPanelProps:{width:"400px",borderRadius:"8px",fontFamily:"'Poppins-Regular'"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"13px"}},expansionPanelModePropsMobil:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"300px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},expansionPanelModePropsMobil270:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"270px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},filters:{zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},categoriesPlaysTypes:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!0,id:1},{name:"Tiros a gol",isSelected:!0,id:6},{name:"Tiros a gol con destino a portería",isSelected:!0,id:7},{name:"Asistencias",isSelected:!0,id:4},{name:"Centros",isSelected:!0,id:10},{name:"Centros acertados",isSelected:!0,id:11},{name:"Participaciones en gol",isSelected:!0,id:5},{name:"1vs1 exitosos ofensivos",isSelected:!0,id:12},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!0,id:13},{name:"Balones ganados en área rival",isSelected:!0,id:17},{name:"Cabeceos en área rival",isSelected:!0,id:8},{name:"Tiros de esquina",isSelected:!0,id:23}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!0,id:14},{name:"Cabeceo en área propia",isSelected:!0,id:9},{name:"Balones ganados en área propia",isSelected:!0,id:16},{name:"Rechaces",isSelected:!0,id:15},{name:"Atajadas",isSelected:!0,id:22}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!0,id:2},{name:"Balones recuperados en disputa",isSelected:!0,id:3}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!0,id:18},{name:"Faltas recibidas",isSelected:!0,id:19},{name:"Tarjetas amarillas",isSelected:!0,id:20},{name:"Tarjetas rojas",isSelected:!0,id:21}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},categoriesDefault:[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Pases acertados",isSelected:!1},{id:23,name:"Tiros de Esquina",isSelected:!1},{id:3,name:"Balones recuperados en disputa",isSelected:!1},{id:4,name:"Asistencias",isSelected:!1},{id:5,name:"Participaciones en gol",isSelected:!1},{id:6,name:"Tiros a gol",isSelected:!1},{id:7,name:"Tiros a gol que llegaron a la portería",isSelected:!1},{id:8,name:"Cabeceos en área rival",isSelected:!1},{id:9,name:"Cabeceos en área propia",isSelected:!1},{id:10,name:"Centros",isSelected:!1},{id:11,name:"Centros acertados",isSelected:!1},{id:12,name:"1vs1 exitosos ofensivos",isSelected:!1},{id:13,name:"1vs1 exitosos ofensivos que terminaron en gol",isSelected:!1},{id:14,name:"1vs1 defensivos exitoso",isSelected:!1},{id:15,name:"Rechaces",isSelected:!1},{id:16,name:"Balones ganados en área propia",isSelected:!1},{id:17,name:"Balones ganados en área rival",isSelected:!1},{id:18,name:"Faltas cometidas",isSelected:!1},{id:19,name:"Faltas recibidas",isSelected:!1},{id:20,name:"Tarjetas amarillas",isSelected:!1},{id:21,name:"Tarjetas rojas",isSelected:!1},{id:22,name:"Atajadas",isSelected:!1}],isCup:!1,arrayPredefinedOrigin:[],indexPredefinedFiltersSelected:0,predefinedFiltersMatchLapse:[],predefinedFiltersPlayingAs:[],predefinedFiltersSections:[],updateTables:0,updateTablesfull:0,optionSelected:"Jugadores",optionSelectedSubmenu:"Todas las jugadas",tournamentsUrl:"https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments",teamsUrl:"https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",urlFilter:"https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",retries:3,teams:[],updateFilterGolstats:0,updateFilterPlaytypesGolstats:0,arrayTournaments:[],arraySeasons:{},seasonBytournament:[],filtersTypes:Fr,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",fVnationalities:new Set,fVzone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],fVplayingAs:[1,2],fVsections:[1,2,3,4,5,6],fVmatchResult:[1,2,3],fVarrayAgeRange:[10,40],FVeligible:[],FVYear:1900,fVtypeZone:2,fVsetPositionsIds:[1,2,3,4,5,6,7,8,9],currentIndex:-1,delay:800,tournamentSelected:0,tournamentSelectedObj:{},FVfilterGolstats:[],updateFilterField:0,openMenuMobil:!1,selectedTournament:{seasons:[]},selectedSeasonObj:{}}},methods:{getnameshort(e){var i=e.split(","),a=i[0].split(" "),s=i[1].trim().split(" "),o="";a.length==2||a.length==1?a[0].length<4?o=a[0]+" "+a[1]:o=a[0]:a.length==3?o=a[0]+" "+a[1]:a.length==4&&(o=a[1]+" "+a[2]+" "+a[3]);var n=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},setUpTournamentsToFilter(){this.tournamentsToFilter.forEach(e=>{const i=e.id===this.selectedTournament.id;e.isSelected=i,e.isDefaultTournament=i})},async onClickDeleteFilter(){this.optionSelectedSubmenu=="Predeterminados"?this.resetPredefinedTeamAll():(this.arrayFiltersPlays=[],setTimeout(()=>{},200))},clickOpenFilters(){this.showfiltersPc=!0},clickCloseFilters(){this.showfiltersPc=!1},async selectedSeason(e){this.seasonActive!==e.id&&(this.seasonActive=e.id,this.resetPredefinedTeamAll(),this.$emit("change-season-id",e.id))},changeTournament(e){e.id!==this.selectedTournament.id&&(this.selectedTournament=e,this.tournamentSelectedObj={propName:"id",value:e.id},this.teamselect=0,this.resetPredefinedTeamAll(),this.setUpTournamentsToFilter())},changeTournamentMovil(e){this.tournamentSelectedObj={propName:"id",value:e.id},this.seasonBytournament=e.seasons,this.teamselect=0},selectedSeasonMovil(e){this.seasonActive=e.id},setRelevantCategoriesPlayer(e){return e===1?[39,40,52,53,54,55,323,324,608,774,802]:[10,12,14,15,27,35,61,217,257,466,519,607,702,730,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,211,232,235,239,242,282,284,289,291,296,485,486,487,488]},setOpenMedia(e){this.$emit("openmedia",e)},setMediaData(e){let o=[e.id],n=e.team_id;const r={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:o,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:n||0,matchResult:[1,2,3],categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:"Jugadas Relevantes"}};this.$emit("openmedia",r)},clickprofile(e){e.isTeam?this.$emit("openProfileTeam",{teamId:e.id,seasonId:this.seasonActive}):this.$emit("openProfilePlayer",{playerId:e.id,teamId:e.teamId,seasonId:this.seasonActive})},viewprofile(e,i,a){this.$emit("openProfilePlayer",{playerId:e,teamId:a,seasonId:i||this.seasonActive})},openMenuFilters(){this.openMenuMobil=!this.openMenuMobil,this.showfiltersPc=!0},clickexpand(){},async getScoutingData(){this.arrayFiltersPlays=[],this.loadingActive=!0;const e=V.create({headers:{Authorization:`${this.token}`}}),{data:i}=await e.post("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var a=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersTournaments");a!==-1?this.arrayFiltersPlays[a].name=this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX":this.arrayFiltersPlays.push({name:this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX",type:"onFiltersTournaments"})}this.rowScoutingData=[];for(let o=0;o<i.length;o++){i[o];let r=i[o].dob.split("T")[0].split("-");var s={position:o+1,player_name:this.abrevName(i[o].name),player_photo:"https://golstatsimages.blob.core.windows.net/players-profile/"+i[o].player_id+".png",total:i[o].total.toFixed(0),id:i[o].player_id,player_age:this.calcularEdad(i[o].dob),team_abrev:i[o].teams[0].acronym,team_name:i[o].teams[0].team_name,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+i[o].teams[0].team_id+".png",player_position:i[o].position_id,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+i[o].nationality_id+".jpg",date:r[2]+"."+r[1]+"."+r[0].substring(2,4),team_id:i[o].team_id,nationality_name:ai[i[o].nationality_id],player_games:i[o].games_played,player_min:i[o].minutes_played,league_name:i[o].tournament_name,seasons:i[o].seasons,season_id:i[o].seasons[0]};this.rowScoutingData.push(s)}if(this.seasonsFilterSelected!=0){const o=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let n=0;n<o.teams.length;n++)this.teamsscouting.push({id:o.teams[n].team_id,team:o.teams[n].colloquial_name,logo:o.teams[n].logo})}this.loadingActive=!1},abrevName(e){var i=e.split(","),a=i[0].split(" "),s=i[1].trim().split(" "),o="";a.length==2||a.length==1?a[0].length<4?o=a[0]+" "+a[1]:o=a[0]:a.length==3?o=a[0]+" "+a[1]:a.length==4&&(o=a[1]+" "+a[2]+" "+a[3]);var n=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;return r},calcularEdad(e){var i=new Date(e),a=new Date,s=a-i,o=Math.floor(s/(1e3*60*60*24*365.25));return o},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var i=[];for(let a=0;a<e.length;a++)e[a].isSelected&&i.push(e[a].id);if(i.length==0&&(i=[1]),i.length==1)for(let a=0;a<e.length;a++)e[a].isSelected&&(this.nameLeagueSelected=e[a].name,this.seasonsFilterSelected=e[a].seasons[0].id);else this.seasonsFilterSelected=0,i.length>0&&(this.nameLeagueSelected=i.length+" Ligas");this.filterScounting.tournaments=i,this.filterScounting.seasonId=e[0].seasons[0].id},onFiltersPersonalData(e){if(this.modifidFiltersFlag=!0,e.hasOwnProperty("ageByRange")){const s=e.ageByRange.min==0?10:e.ageByRange.min,o=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[s,o],this.filterScounting.age_or_year=1}else this.filterScounting.range_age=[];e.hasOwnProperty("year")?(this.filterScounting.year=e.year,this.filterScounting.age_or_year=0):this.filterScounting.year=0;var i=[];if(e.hasOwnProperty("nationalities")){for(let s=0;s<e.nationalities.length;s++)e.nationalities[s].isSelected&&i.push(e.nationalities[s].id);i.length==0&&(i=[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239])}this.filterScounting.elegibles=[],e.hasOwnProperty("eligibility")&&(this.filterScounting.elegibles=[e.eligibility[0].id]);var a=[];for(let s=0;s<e.positions.length;s++)e.positions[s].isSelected&&a.push(e.positions[s].id);a.length==0&&(a=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=a,this.filterScounting.nationalities=i},onFiltersUniverse(e){this.modifidFiltersFlag=!0,this.filterScounting.minutes_played=Number(e.minutesPlayed),this.filterScounting.last_months=Number(e.lastMonths),this.filterScounting.minutes_played_avg=Number(e.percentMinutesPlayed),this.filterScounting.type_stats=e.statistics.averagePerGame?3:e.statistics.averagePerMinute?2:1},onFiltersProductivity(e){this.modifidFiltersFlag=!0;var i=[];for(let a=0;a<e.productivityFilters.length;a++)i[e.productivityFilters[a].priority-1]={name:e.productivityFilters[a].name,ids:e.productivityFilters[a].id};i.length==0&&(i=[]),this.filterScounting.categories=i,this.filterScounting.fouls=e.offensesConditions.areFoulsCommittedSelected,this.filterScounting.yellow_cards=e.offensesConditions.areYellowCardsSelected,this.filterScounting.red_cards=e.offensesConditions.areRedCardsSelected},onFiltersGolStats(e){if(e.length>0){var i=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");i!==-1?this.arrayFiltersPlays[i].name=e[0].name:this.arrayFiltersPlays.push({name:e[0].name,type:"onFiltersPredefined"}),this.filtersPredefinedF=e[0].filters}else{var a=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&a!==-1){this.filtersPredefinedF=this.filters;for(let o=0;o<this.FVfilterGolstats.length;o++)this.FVfilterGolstats[o].isSelected=!1;var a=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefined");a!==-1&&this.arrayFiltersPlays.splice(a,1),this.updateFilterGolstats+=1}}},shouldRender(e){return e<=this.currentIndex},renderNext(){this.currentIndex++,this.currentIndex<this.categoriesDefault.length&&setTimeout(()=>{this.$nextTick(()=>{this.renderNext()})},this.delay)},async onFiltersPlaysTypes(e){if(e.length>0){this.categoryPredefinedActive=!0,this.loadingActive=!0,this.categoryPredefined=e[0].id;var i=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&i!==-1){this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(i,1);var a=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");if(a!==-1){for(let s=0;s<this.FVfilterGolstats.length;s++)this.FVfilterGolstats[s].isSelected=!1;a!==-1&&this.arrayFiltersPlays.splice(a,1),this.updateFilterGolstats+=1}}this.updateTables+=1,setTimeout(()=>{this.loadingActive=!1},1e3),await this.getPredefinedfilters(e[0]),this.FVfilterGolstats.length>0&&(this.onFiltersGolStats([this.FVfilterGolstats[0]]),this.FVfilterGolstats[0].isSelected=!0)}else{var i=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefinedCategory");if(this.categoriesDefault.length>0&&i!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters,this.arrayFiltersPlays.splice(i,1);for(let n=0;n<this.categoriesDefault.length;n++)this.categoriesDefault[n].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var a=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&a!==-1){for(let n=0;n<this.FVfilterGolstats.length;n++)this.FVfilterGolstats[n].isSelected=!1;a!==-1&&this.arrayFiltersPlays.splice(a,1),this.updateFilterGolstats+=1}}}},deleteCategoryFilter(){this.categoryName="",this.showFullCategory=0,this.showFullTable=!1,delete this.filters.aux},onShowFullTable(e){this.categoryName=e.categoryName,this.showFullCategory=e.category,this.showFullTable=!0,this.loadingActive=!0,setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,aux:this.getRandomNumber(1,1e4),booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.loadingActive=!1},1e3)},getRandomNumber(e,i){return Math.floor(Math.random()*(i-e+1))+e},applyFiltersBtn(e){},onFiltersPlays(e){if(this.arrayCategoryFilter=[],this.arrayCategoryFilterFull=[],e.playsCategories.length==0){for(let a=0;a<this.categoriesPlaysTypes.offensive.categories.length;a++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[a].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[a]);for(let a=0;a<this.categoriesPlaysTypes.defensive.categories.length;a++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[a].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[a]);for(let a=0;a<this.categoriesPlaysTypes.possession.categories.length;a++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[a].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[a]);for(let a=0;a<this.categoriesPlaysTypes.offenses.categories.length;a++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[a].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[a])}else for(let a=0;a<e.playsCategories.length;a++)e.playsCategories[a].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[a].id),this.arrayCategoryFilterFull.push(e.playsCategories[a]));var i=this.arrayFiltersPlays.findIndex(a=>a.type==="onFiltersPlays");this.arrayCategoryFilter.length>0&&this.arrayCategoryFilter.length!=23?this.arrayCategoryFilter.length==1?i!=-1?this.arrayFiltersPlays[i].name=this.arrayCategoryFilterFull[0].name:this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull[0].name,type:"onFiltersPlays"}):i!=-1?this.arrayFiltersPlays[i].name=this.arrayCategoryFilterFull.length+" Tipos de jugadas":this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull.length+" Tipos de jugadas",type:"onFiltersPlays"}):i!==-1&&this.arrayFiltersPlays.splice(i,1)},async deleteLabelFilter(e){var i=this.arrayFiltersPlays.findIndex(s=>s.type===e);if(i!==-1){if(e=="onFiltersTournaments"&&(this.arrayFiltersPlays=[],setTimeout(()=>{},200)),e=="onFiltersPlays"){for(let s=0;s<this.categoriesPlaysTypes.offensive.categories.length;s++)this.categoriesPlaysTypes.offensive.categories[s].isSelected=!0;for(let s=0;s<this.categoriesPlaysTypes.defensive.categories.length;s++)this.categoriesPlaysTypes.defensive.categories[s].isSelected=!0,this.arrayCategoryFilter.push(),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.possession.categories.length;s++)this.categoriesPlaysTypes.possession.categories[s].isSelected=!0;for(let s=0;s<this.categoriesPlaysTypes.offenses.categories.length;s++)this.categoriesPlaysTypes.offenses.categories[s].isSelected=!0}if(e=="onFiltersField"&&(this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersPredefined"){this.filtersPredefinedF=this.filters;for(let s=0;s<this.FVfilterGolstats.length;s++)this.FVfilterGolstats[s].isSelected=!1;this.updateFilterGolstats+=1,this.resetPredefinedTeamAll()}if(e=="onFiltersPredefinedCategory"){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters;var a=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");a!==-1&&this.arrayFiltersPlays.splice(a,1);for(let s=0;s<this.categoriesDefault.length;s++)this.categoriesDefault[s].isSelected=!1;this.updateFilterPlaytypesGolstats+=1}e=="onFiltersDetailsTime"&&(this.detailsObject.gameSections[0].isSelected=!0,this.detailsObject.gameSections[1].isSelected=!0,this.detailsObject.gameSections[2].isSelected=!0,this.detailsObject.gameSections[3].isSelected=!0,this.detailsObject.gameSections[4].isSelected=!0,this.detailsObject.gameSections[5].isSelected=!0,this.fVsections=[1,2,3,4,5,6],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersDetailsPlayingAs"&&(this.detailsObject.playingAs[0].isSelected=!0,this.detailsObject.playingAs[1].isSelected=!0,this.fVplayingAs=[1,2],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersNationality"&&(this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.NATIONALITY)),e=="onFiltersPosition"&&(this.fVsetPositionsIds=[1,2,3,4,5,6,7,8,9],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.POSITION)),e=="onFiltersAge"&&(this.fVarrayAgeRange=[10,40],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(Te.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(Te.YEAR),this.FVYear=1900,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds})}this.arrayFiltersPlays.splice(i,1)},clickAll(){},clickAllAll(){},clickTeam(){},clickTeamScouting(){},resetFilterTeamAndPlayers(){this.filters={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set}},async changeTabsGeneral(e){this.resetPredefinedTeamAll(),this.showfiltersPc=!0,this.optionSelected=e,this.optionSelectedSubmenu="Todas las jugadas",this.filtersPredefinedF={},this.categoryPredefinedActive=!1,this.categoryPredefined=0,e=="Equipos"&&(this.typeTable=1,this.isTeam=!0,this.updateTables+=1,this.arrayFiltersPlays=[],this.teamselect=0,this.resetFilterTeamAndPlayers()),e=="Jugadores"&&(this.typeTable=0,this.isTeam=!1,this.teamselect=0,this.updateTables+=1,this.resetFilterTeamAndPlayers())},resetPredefinedTeamAll(){var e=this.arrayFiltersPlays.findIndex(a=>a.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&e!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(e,1);for(let a=0;a<this.categoriesDefault.length;a++)this.categoriesDefault[a].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var i=this.arrayFiltersPlays.findIndex(a=>a.type==="onFiltersPredefined");if(i!==-1){for(let a=0;a<this.FVfilterGolstats.length;a++)this.FVfilterGolstats[a].isSelected=!1;i!==-1&&this.arrayFiltersPlays.splice(i,1),this.updateFilterGolstats+=1}}},changeTabsSubmenu(e){e!="Predeterminados"?this.resetPredefinedTeamAll():this.arrayFiltersPlays=[],this.optionSelectedSubmenu=e},async fetchTournaments(){const e=V.create({headers:{Authorization:`${this.token}`}}),{data:i}=await e.get(this.tournamentsUrl);return i},async fetchTeams(){const e=V.create({headers:{Authorization:`${this.token}`}}),{data:i}=await e.get(this.teamsUrl+this.seasonActive);return i},async fetchTeamsScouting(e){const i=V.create({headers:{Authorization:`${this.token}`}}),{data:a}=await i.get(this.teamsUrl+e);return a},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var i="";e.id==1?i=this.urlFilter:i=this.urlFilter;const a=V.create({headers:{Authorization:`${this.token}`}}),{data:s}=await a.get(i+e.id);if(Object.keys(s[0].match_lapse_combinations).forEach(m=>{this.predefinedFiltersMatchLapse[m.toString()]=s[0].match_lapse_combinations[m]}),Object.keys(s[0].playing_as_combinations).forEach(m=>{this.predefinedFiltersPlayingAs[m.toString()]=s[0].playing_as_combinations[m]}),Object.keys(s[0].field_sections_combinations).forEach(m=>{this.predefinedFiltersSections[m.toString()]=s[0].field_sections_combinations[m]}),s[0]){for(let m=0;m<s[0].filter_records.length;m++){var o=s[0].description;if(s[0].filter_records[m].field_sections!==void 0){const u=s[0].filter_records[m].field_sections.toString();(this.predefinedFiltersSections[u]||this.predefinedFiltersSections[u]=="")&&(this.predefinedFiltersSections[u]==""?o=o.replace(" [en {field_sections}]",this.predefinedFiltersSections[u]):o=o.replace("{field_sections}",this.predefinedFiltersSections[u]))}if(s[0].filter_records[m].match_lapse!==void 0){const u=s[0].filter_records[m].match_lapse.toString();(this.predefinedFiltersMatchLapse[u]||this.predefinedFiltersMatchLapse[u]=="")&&(this.predefinedFiltersMatchLapse[u]==""?o=o.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[u]):o=o.replace("{match_lapse}",this.predefinedFiltersMatchLapse[u]))}if(s[0].filter_records[m].playing_as!==void 0){const u=s[0].filter_records[m].playing_as.toString();(this.predefinedFiltersPlayingAs[u]||this.predefinedFiltersPlayingAs[u]=="")&&(this.predefinedFiltersPlayingAs[u]==""?o=o.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[u]):o=o.replace("{playing_as}",this.predefinedFiltersPlayingAs[u]))}s[0].filter_records[m].section_type!==void 0&&(this.optionSelected=="Jugadores"?o=o.replace("{section_type}","Jugadores"):o=o.replace("{section_type}","Equipos")),o=o.replace(/\[/g,""),o=o.replace(/\]/g,""),o=o.replace("{category_name}",s[0].category_name);const f=o.split(": ");var n=f[1];n.length>129&&this.windowWidth>1358&&(n=n.substring(0,129),n=n+"<span id='showIDtootip' class='dots' style='width: 100px; height: 20px; background: red; z-index: 6;'>...</span>"),(!this.isCup||s[0].filter_records[m].playing_as.length===2)&&this.arrayPredefinedFilters.push({id:m,category_name:e.name,id_category:s[0].id,title:f[0]+":",text:f[1],textOrigin:s[0].description,titledots:n,filtersPredefined:{matchResult:s[0].filter_records[m].match_result,playingAs:s[0].filter_records[m].playing_as,sections:s[0].filter_records[m].match_lapse,type:this.optionSelected=="Equipos"?2:1,typeZone:s[0].type_zone,zone:s[0].filter_records[m].field_sections,end_age:0,start_age:0,nationalities:[],elegible:[],positions:[]}})}var r=[];for(let m=0;m<this.arrayPredefinedFilters.length;m++){var l=0,p=new Set,c={},d=this.arrayPredefinedFilters[m].text.replace(/\*.*?\*/,"");if(d=d.replace(/\*/g,""),d=d.replace(/ +/g," "),this.arrayPredefinedFilters[m].filtersPredefined.elegible.length>0&&(l+=1),(this.arrayPredefinedFilters[m].filtersPredefined.end_age.length!=0||this.arrayPredefinedFilters[m].filtersPredefined.start_age.length!=0)&&(l+=1),this.arrayPredefinedFilters[m].filtersPredefined.end_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0?c.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,this.arrayPredefinedFilters[m].filtersPredefined.end_age]:this.arrayPredefinedFilters[m].filtersPredefined.end_age==0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age==0?c.arrayAgeRange=[1,60]:this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.end_age==0?c.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,60]:c.arrayAgeRange=[1,this.arrayPredefinedFilters[m].filtersPredefined.end_age],this.arrayPredefinedFilters[m].filtersPredefined.matchResult.length!=3&&(l+=1),c.matchResult=this.arrayPredefinedFilters[m].filtersPredefined.matchResult,this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length>0&&(l+=1),this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length!=0){for(let f=0;f<this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length;f++)p.add(this.arrayPredefinedFilters[m].filtersPredefined.nationalities[f]);c.setNationalitiesIds=p}else p.add(138),p.add(222),p.add(163),p.add(51),p.add(226),p.add(10),p.add(223),p.add(96),p.add(171),p.add(198),p.add(105),p.add(80),p.add(29),p.add(74),p.add(216),p.add(196),p.add(64),p.add(155),p.add(156),p.add(89),p.add(106),p.add(81),p.add(233),p.add(204),c.setNationalitiesIds=p;this.arrayPredefinedFilters[m].filtersPredefined.playingAs.length!=2&&(l+=1),c.playingAs=this.arrayPredefinedFilters[m].filtersPredefined.playingAs,this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0&&(l+=1),this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0?c.setPositionsIds=this.arrayPredefinedFilters[m].filtersPredefined.positions:c.setPositionsIds=[1,2,3,4,5,6,7,8,9],this.arrayPredefinedFilters[m].filtersPredefined.sections.length!=6&&(l+=1),this.arrayPredefinedFilters[m].filtersPredefined.sections.length>0?c.sections=this.arrayPredefinedFilters[m].filtersPredefined.sections:c.sections=[1,2,3,4,5,6],this.arrayPredefinedFilters[m].filtersPredefined.zone.length!=16&&(l+=1),this.arrayPredefinedFilters[m].filtersPredefined.zone.length>0?c.zone=this.arrayPredefinedFilters[m].filtersPredefined.zone:c.zone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],c.typeZone=this.arrayPredefinedFilters[m].filtersPredefined.typeZone,r.push({id:m+1,name:d,isSelected:!1,value:l,filters:c})}this.FVfilterGolstats=r,this.updateFilterGolstats+=1,this.arrayPredefinedOrigin=JSON.parse(JSON.stringify(this.arrayPredefinedFilters))}},getTextFilterPredefinedCustom(){this.setDinamicFilters(this.filterEmitAux);var e=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].textOrigin;const i=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.zone.sort((d,m)=>d-m).toString();this.predefinedFiltersSections[i]||this.predefinedFiltersSections[i]==""?this.predefinedFiltersSections[i]==""?e=e.replace(" [en {field_sections}]",this.predefinedFiltersSections[i]):e=e.replace("{field_sections}",this.predefinedFiltersSections[i]):e=e.replace("{field_sections}",this.predefinedFiltersSections.other);var a=!1;this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==this.setNationalityIds.size?(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==1?(e=e.replace("[{nationality}]",this.$t(`gentilicios[${[...this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities][0]}]`)),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size>0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size!=this.setPositionsIds.size?(a=!0,e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?(a||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size==this.setPositionsIds.size)&&(e=e.replace("[de las posiciones seleccionadas]","")):e=e.replace("[de las posiciones seleccionadas]",""),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]",""));const s=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.sections.sort().toString();if(this.predefinedFiltersMatchLapse[s]||this.predefinedFiltersMatchLapse[s]=="")this.predefinedFiltersMatchLapse[s]==""?e=e.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[s]):e=e.replace("{match_lapse}",this.predefinedFiltersMatchLapse[s]);else{e=e.replace("{match_lapse}"," "+this.predefinedFiltersMatchLapse.other);var o="";s.includes(1)&&(o=o+"0-15, "),s.includes(2)&&(o=o+"16-30, "),s.includes(3)&&(o=o+"31-45, "),s.includes(4)&&(o=o+"46-60, "),s.includes(5)&&(o=o+"61-75, "),s.includes(6)&&(o=o+"76-90, "),o=o.slice(0,-2),o=o.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",o)}const n=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[n]||this.predefinedFiltersPlayingAs[n]=="")&&(this.predefinedFiltersPlayingAs[n]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[n]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[n])),this.typeSelected==1?this.getUser.tournament==1001?this.category.id==22?e=e.replace("{section_type}","Porteras"):e=e.replace("{section_type}","Jugadoras"):this.category.id==22?e=e.replace("{section_type}","Porteros"):e=e.replace("{section_type}","Jugadores"):e=e.replace("{section_type}","Equipos"),e=e.replace(/\[/g,""),e=e.replace(/\]/g,""),e=e.replace("{category_name}",this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].category_name);const r=e.split(": ");let l=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1),p=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1);this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].text=l,this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].title=r[0]+":";const c=p.match(/\*/g);if(c&&c.length)if(c.length%2===0)for(let d=1;d<=c.length;d++)d%2===0||(p=p.replace("*",'<span style="color: #ffff03" >'));else p=p.replaceAll("*","");this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].titledots=p},intervalidtops(e){this.$emit("intervalidtops",e)}},mounted(){sessionStorage.getItem("sidpdfil")!==null&&sessionStorage.setItem("sidpdfil",0),this.renderNext(),this.teamId!==0&&this.clickTeam(this.teamId),this.defaultSection!=="Jugadores"&&this.changeTabsGeneral(this.defaultSection)},async created(){try{const e=V.create({headers:{"Content-Type":"application/json"}});e.interceptors.request.use(a=>(delete a.headers.Authorization,a));const i=await e.get("https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json",{headers:{"Content-Type":"application/json"}});this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204)}catch(e){throw new Error(e)}}},hf={ref:"myDivRefTopsFull"};function yf(e,i,a,s,o,n){const r=t.resolveComponent("GSCTopCategory");return t.openBlock(),t.createElementBlock("div",hf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.categoryView,(l,p)=>(t.openBlock(),t.createElementBlock("div",{key:p,class:t.normalizeClass(e.toniKroosWrapperClass)},[(t.openBlock(),t.createBlock(r,{"is-widget":a.isWidget,"team-widget":a.teamWidget,"time-live-comparative-avanced":a.timeLiveComparativeAvanced,"is-team":o.isTeam,carrousel:a.carrousel,arrow:a.arrow,"border-width":0,"can-play-videos":a.canPlayVideos,"border-radius":"12px","game-id":a.gameId,game:a.game,typeData:a.typeData,category:l.id,"type-table":o.typeTable,categoryName:l.name,"season-selected":a.seasonSelected,season:a.seasonActive,"filter-team":a.teamselect,key:o.updateTables},null,8,["is-widget","team-widget","time-live-comparative-avanced","is-team","carrousel","arrow","can-play-videos","game-id","game","typeData","category","type-table","categoryName","season-selected","season","filter-team"]))],2))),128))],512)}const gf=Y(uf,[["render",yf],["__cssModules",{$style:pf}]]),_f={class:"gsc-top-player"},bf=Y({__name:"gsc-top-player",props:{categoryView:{type:Array,default:()=>[]},canPlayVideos:{type:Boolean,default:!0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},type:{type:Number,default:1},gamed:{type:Number,default:90209},season:{type:Number,default:1909},teamView:{type:Number,default:0}},setup(e){return(i,a)=>(t.openBlock(),t.createElementBlock("div",_f,[t.createVNode(gf,{"can-play-videos":e.canPlayVideos,carrousel:e.carrousel,arrow:e.arrow,"type-data":e.type,"game-id":e.gamed,"season-active":e.season,teamselect:e.teamView,"category-view":e.categoryView},null,8,["can-play-videos","carrousel","arrow","type-data","game-id","season-active","teamselect","category-view"])]))}},[["__scopeId","data-v-a672616e"]]),Tf={class:"subcategory-group"},Sf={__name:"SubcategoryGroup",props:{subcategoryGroup:{type:Array,default:()=>[]}},setup(e){return(i,a)=>(t.openBlock(),t.createElementBlock("div",Tf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subcategoryGroup,s=>(t.openBlock(),t.createBlock(t.unref(Vt),{key:s.id,modelValue:s.isSelected,"onUpdate:modelValue":o=>s.isSelected=o,label:s.name},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]))}},wf=D(Sf,[["__scopeId","data-v-ae6f3d72"]]),Cf={class:"filter-subcategories"},kf=Object.freeze(Object.defineProperty({__proto__:null,default:D({__name:"FilterSubcategories",props:{subcategoryGroups:{type:Array,default:()=>[]}},setup(e){return(i,a)=>(t.openBlock(),t.createElementBlock("div",Cf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subcategoryGroups,s=>(t.openBlock(),t.createElementBlock("div",{key:s.id,class:"filter-subcategories__group"},[t.createVNode(wf,{subcategoryGroup:s},null,8,["subcategoryGroup"])]))),128))]))}},[["__scopeId","data-v-5edaefc2"]])},Symbol.toStringTag,{value:"Module"})),tt=e=>(t.pushScopeId("data-v-80d9c265"),e=e(),t.popScopeId(),e),Ef={class:"details__header"},Nf=tt(()=>t.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),Vf={class:"details__header__checkbox"},Pf={class:"details__body"},Bf={class:"details__body__playing-as"},xf=["onClick"],Ff={class:"details__header"},zf=tt(()=>t.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),Af={class:"details__header__checkbox"},If={class:"details__body"},Rf=tt(()=>t.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),Of={class:"details__body__game-section"},Lf=["onClick"],Gf={class:"details__body"},Wf=tt(()=>t.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),Df={class:"details__body__game-section"},Mf=["onClick"],vf=Object.freeze(Object.defineProperty({__proto__:null,default:D({__name:"FilterConditions",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},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 i=e;t.useCssVars(d=>({"49cba245":e.buttonsBackgroundColor,"52f02da6":e.buttonsTextColor,"7d3f686a":e.buttonsBorderWidth,"7c286a07":e.buttonsBorderColor,"24a6f4aa":e.buttonsBackgroundColorActive,cd8d7768:e.buttonsTextColorActive,"35fa5c10":e.buttonsBorderWidthActive,"0cde1826":e.buttonsBorderColorActive}));const a=t.computed(()=>i.playingAs.every(d=>d.isSelected)),s=t.computed(()=>i.gameSections.every(d=>d.isSelected)),o=t.computed(()=>i.gameSections.reduce((d,m)=>(m.value<=3?d.firstHalf.push(m):d.secondHalf.push(m),d),{firstHalf:[],secondHalf:[]})),n=t.computed(()=>({"--border-radius-first-button":`${i.buttonsBorderRadius} 0 0 ${i.buttonsBorderRadius}`,"--border-radius-last-button":`0 ${i.buttonsBorderRadius} ${i.buttonsBorderRadius} 0`}));function r(d){d?i.playingAs.forEach(m=>{m.isSelected=!0}):i.playingAs.forEach((m,f)=>{m.isSelected=f===0})}function l(d){i.playingAs.filter(m=>m.isSelected).length===1&&d.isSelected||(d.isSelected=!d.isSelected)}function p(d){i.gameSections.filter(m=>m.isSelected).length===1&&d.isSelected||(d.isSelected=!d.isSelected)}function c(d){d?i.gameSections.forEach(m=>{m.isSelected=!0}):i.gameSections.forEach((m,f)=>{m.isSelected=f===0})}return(d,m)=>(t.openBlock(),t.createElementBlock("div",{class:"details",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",Ef,[Nf,t.createElementVNode("div",Vf,[t.createVNode(t.unref(Vt),{label:"Todos","model-value":a.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),t.createElementVNode("div",Pf,[t.createElementVNode("div",Bf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.playingAs,(f,u)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${u}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>l(f)},t.toDisplayString(f.name),11,xf))),128))])]),t.createElementVNode("div",Ff,[zf,t.createElementVNode("div",Af,[t.createVNode(t.unref(Vt),{label:"Todos","model-value":s.value,"onUpdate:modelValue":c},null,8,["model-value"])])]),t.createElementVNode("div",If,[Rf,t.createElementVNode("div",Of,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.firstHalf,(f,u)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${u}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},t.toDisplayString(f.text),11,Lf))),128))])]),t.createElementVNode("div",Gf,[Wf,t.createElementVNode("div",Df,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.secondHalf,(f,u)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${u}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},t.toDisplayString(f.text),11,Mf))),128))])])],4))}},[["__scopeId","data-v-80d9c265"]])},Symbol.toStringTag,{value:"Module"})),jf={class:"filter-field"},Uf=Object.freeze(Object.defineProperty({__proto__:null,default:D({__name:"FilterField",setup(e){const i=t.ref(Array.from({length:16},(s,o)=>o+1));function a(){}return(s,o)=>(t.openBlock(),t.createElementBlock("div",jf,[t.createVNode(t.unref(ql),{width:"100%","background-color":"#2E3B46",value:i.value,"onUpdate:modelValue":a},null,8,["value"])]))}},[["__scopeId","data-v-8103c3e1"]])},Symbol.toStringTag,{value:"Module"}));Q.GscTopPlayer=bf,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(H,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(H=typeof globalThis<"u"?globalThis:H||self,s(H.GscTopPlayer={},H.Vue))})(this,function(H,s){"use strict";function Ot(e,a){return function(){return e.apply(a,arguments)}}const{toString:Na}=Object.prototype,{getPrototypeOf:He}=Object,{iterator:ye,toStringTag:Lt}=Symbol,ge=(e=>a=>{const t=Na.call(a);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),G=e=>(e=e.toLowerCase(),a=>ge(a)===e),_e=e=>a=>typeof a===e,{isArray:ee}=Array,oe=_e("undefined");function xa(e){return e!==null&&!oe(e)&&e.constructor!==null&&!oe(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gt=G("ArrayBuffer");function Va(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Gt(e.buffer),a}const Pa=_e("string"),A=_e("function"),Wt=_e("number"),be=e=>e!==null&&typeof e=="object",Fa=e=>e===!0||e===!1,Te=e=>{if(ge(e)!=="object")return!1;const a=He(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Lt in e)&&!(ye in e)},Ba=G("Date"),Aa=G("File"),za=G("Blob"),Ia=G("FileList"),Ra=e=>be(e)&&A(e.pipe),Oa=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((a=ge(e))==="formdata"||a==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},La=G("URLSearchParams"),[Ga,Wa,Da,Ma]=["ReadableStream","Request","Response","Headers"].map(G),$a=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function re(e,a,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),ee(e))for(i=0,o=e.length;i<o;i++)a.call(null,e[i],i,e);else{const n=t?Object.getOwnPropertyNames(e):Object.keys(e),r=n.length;let c;for(i=0;i<r;i++)c=n[i],a.call(null,e[c],c,e)}}function Dt(e,a){a=a.toLowerCase();const t=Object.keys(e);let i=t.length,o;for(;i-- >0;)if(o=t[i],a===o.toLowerCase())return o;return null}const q=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mt=e=>!oe(e)&&e!==q;function qe(){const{caseless:e}=Mt(this)&&this||{},a={},t=(i,o)=>{const n=e&&Dt(a,o)||o;Te(a[n])&&Te(i)?a[n]=qe(a[n],i):Te(i)?a[n]=qe({},i):ee(i)?a[n]=i.slice():a[n]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&re(arguments[i],t);return a}const va=(e,a,t,{allOwnKeys:i}={})=>(re(a,(o,n)=>{t&&A(o)?e[n]=Ot(o,t):e[n]=o},{allOwnKeys:i}),e),Ua=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ja=(e,a,t,i)=>{e.prototype=Object.create(a.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),t&&Object.assign(e.prototype,t)},Ja=(e,a,t,i)=>{let o,n,r;const c={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),n=o.length;n-- >0;)r=o[n],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=t!==!1&&He(e)}while(e&&(!t||t(e,a))&&e!==Object.prototype);return a},Ha=(e,a,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=a.length;const i=e.indexOf(a,t);return i!==-1&&i===t},qa=e=>{if(!e)return null;if(ee(e))return e;let a=e.length;if(!Wt(a))return null;const t=new Array(a);for(;a-- >0;)t[a]=e[a];return t},Ka=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&He(Uint8Array)),Za=(e,a)=>{const i=(e&&e[ye]).call(e);let o;for(;(o=i.next())&&!o.done;){const n=o.value;a.call(e,n[0],n[1])}},Ya=(e,a)=>{let t;const i=[];for(;(t=e.exec(a))!==null;)i.push(t);return i},Xa=G("HTMLFormElement"),Qa=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,i,o){return i.toUpperCase()+o}),$t=(({hasOwnProperty:e})=>(a,t)=>e.call(a,t))(Object.prototype),ei=G("RegExp"),vt=(e,a)=>{const t=Object.getOwnPropertyDescriptors(e),i={};re(t,(o,n)=>{let r;(r=a(o,n,e))!==!1&&(i[n]=r||o)}),Object.defineProperties(e,i)},ti=e=>{vt(e,(a,t)=>{if(A(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=e[t];if(A(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},si=(e,a)=>{const t={},i=o=>{o.forEach(n=>{t[n]=!0})};return ee(e)?i(e):i(String(e).split(a)),t},ai=()=>{},ii=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function ni(e){return!!(e&&A(e.append)&&e[Lt]==="FormData"&&e[ye])}const oi=e=>{const a=new Array(10),t=(i,o)=>{if(be(i)){if(a.indexOf(i)>=0)return;if(!("toJSON"in i)){a[o]=i;const n=ee(i)?[]:{};return re(i,(r,c)=>{const p=t(r,o+1);!oe(p)&&(n[c]=p)}),a[o]=void 0,n}}return i};return t(e,0)},ri=G("AsyncFunction"),li=e=>e&&(be(e)||A(e))&&A(e.then)&&A(e.catch),Ut=((e,a)=>e?setImmediate:a?((t,i)=>(q.addEventListener("message",({source:o,data:n})=>{o===q&&n===t&&i.length&&i.shift()()},!1),o=>{i.push(o),q.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",A(q.postMessage)),ci=typeof queueMicrotask<"u"?queueMicrotask.bind(q):typeof process<"u"&&process.nextTick||Ut,h={isArray:ee,isArrayBuffer:Gt,isBuffer:xa,isFormData:Oa,isArrayBufferView:Va,isString:Pa,isNumber:Wt,isBoolean:Fa,isObject:be,isPlainObject:Te,isReadableStream:Ga,isRequest:Wa,isResponse:Da,isHeaders:Ma,isUndefined:oe,isDate:Ba,isFile:Aa,isBlob:za,isRegExp:ei,isFunction:A,isStream:Ra,isURLSearchParams:La,isTypedArray:Ka,isFileList:Ia,forEach:re,merge:qe,extend:va,trim:$a,stripBOM:Ua,inherits:ja,toFlatObject:Ja,kindOf:ge,kindOfTest:G,endsWith:Ha,toArray:qa,forEachEntry:Za,matchAll:Ya,isHTMLForm:Xa,hasOwnProperty:$t,hasOwnProp:$t,reduceDescriptors:vt,freezeMethods:ti,toObjectSet:si,toCamelCase:Qa,noop:ai,toFiniteNumber:ii,findKey:Dt,global:q,isContextDefined:Mt,isSpecCompliantForm:ni,toJSONObject:oi,isAsyncFn:ri,isThenable:li,setImmediate:Ut,asap:ci,isIterable:e=>e!=null&&A(e[ye])};function w(e,a,t,i,o){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),t&&(this.config=t),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}h.inherits(w,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.status}}});const jt=w.prototype,Jt={};["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=>{Jt[e]={value:e}}),Object.defineProperties(w,Jt),Object.defineProperty(jt,"isAxiosError",{value:!0}),w.from=(e,a,t,i,o,n)=>{const r=Object.create(jt);return h.toFlatObject(e,r,function(p){return p!==Error.prototype},c=>c!=="isAxiosError"),w.call(r,e.message,a,t,i,o),r.cause=e,r.name=e.name,n&&Object.assign(r,n),r};const di=null;function Ke(e){return h.isPlainObject(e)||h.isArray(e)}function Ht(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function qt(e,a,t){return e?e.concat(a).map(function(o,n){return o=Ht(o),!t&&n?"["+o+"]":o}).join(t?".":""):a}function mi(e){return h.isArray(e)&&!e.some(Ke)}const pi=h.toFlatObject(h,{},null,function(a){return/^is[A-Z]/.test(a)});function Se(e,a,t){if(!h.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,t=h.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!h.isUndefined(b[_])});const i=t.metaTokens,o=t.visitor||l,n=t.dots,r=t.indexes,p=(t.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(a);if(!h.isFunction(o))throw new TypeError("visitor must be a function");function d(y){if(y===null)return"";if(h.isDate(y))return y.toISOString();if(h.isBoolean(y))return y.toString();if(!p&&h.isBlob(y))throw new w("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(y)||h.isTypedArray(y)?p&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function l(y,_,b){let S=y;if(y&&!b&&typeof y=="object"){if(h.endsWith(_,"{}"))_=i?_:_.slice(0,-2),y=JSON.stringify(y);else if(h.isArray(y)&&mi(y)||(h.isFileList(y)||h.endsWith(_,"[]"))&&(S=h.toArray(y)))return _=Ht(_),S.forEach(function(E,V){!(h.isUndefined(E)||E===null)&&a.append(r===!0?qt([_],V,n):r===null?_:_+"[]",d(E))}),!1}return Ke(y)?!0:(a.append(qt(b,_,n),d(y)),!1)}const m=[],f=Object.assign(pi,{defaultVisitor:l,convertValue:d,isVisitable:Ke});function g(y,_){if(!h.isUndefined(y)){if(m.indexOf(y)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(y),h.forEach(y,function(S,T){(!(h.isUndefined(S)||S===null)&&o.call(a,S,h.isString(T)?T.trim():T,_,f))===!0&&g(S,_?_.concat(T):[T])}),m.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return g(e),a}function Kt(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return a[i]})}function Ze(e,a){this._pairs=[],e&&Se(e,this,a)}const Zt=Ze.prototype;Zt.append=function(a,t){this._pairs.push([a,t])},Zt.toString=function(a){const t=a?function(i){return a.call(this,i,Kt)}:Kt;return this._pairs.map(function(o){return t(o[0])+"="+t(o[1])},"").join("&")};function fi(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Yt(e,a,t){if(!a)return e;const i=t&&t.encode||fi;h.isFunction(t)&&(t={serialize:t});const o=t&&t.serialize;let n;if(o?n=o(a,t):n=h.isURLSearchParams(a)?a.toString():new Ze(a,t).toString(i),n){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class Xt{constructor(){this.handlers=[]}use(a,t,i){return this.handlers.push({fulfilled:a,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.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(i){i!==null&&a(i)})}}const Qt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hi={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ze,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ye=typeof window<"u"&&typeof document<"u",Xe=typeof navigator=="object"&&navigator||void 0,ui=Ye&&(!Xe||["ReactNative","NativeScript","NS"].indexOf(Xe.product)<0),yi=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gi=Ye&&window.location.href||"http://localhost",F={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ye,hasStandardBrowserEnv:ui,hasStandardBrowserWebWorkerEnv:yi,navigator:Xe,origin:gi},Symbol.toStringTag,{value:"Module"})),...hi};function _i(e,a){return Se(e,new F.classes.URLSearchParams,Object.assign({visitor:function(t,i,o,n){return F.isNode&&h.isBuffer(t)?(this.append(i,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))}function bi(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Ti(e){const a={},t=Object.keys(e);let i;const o=t.length;let n;for(i=0;i<o;i++)n=t[i],a[n]=e[n];return a}function es(e){function a(t,i,o,n){let r=t[n++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=n>=t.length;return r=!r&&h.isArray(o)?o.length:r,p?(h.hasOwnProp(o,r)?o[r]=[o[r],i]:o[r]=i,!c):((!o[r]||!h.isObject(o[r]))&&(o[r]=[]),a(t,i,o[r],n)&&h.isArray(o[r])&&(o[r]=Ti(o[r])),!c)}if(h.isFormData(e)&&h.isFunction(e.entries)){const t={};return h.forEachEntry(e,(i,o)=>{a(bi(i),o,t,0)}),t}return null}function Si(e,a,t){if(h.isString(e))try{return(a||JSON.parse)(e),h.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}const le={transitional:Qt,adapter:["xhr","http","fetch"],transformRequest:[function(a,t){const i=t.getContentType()||"",o=i.indexOf("application/json")>-1,n=h.isObject(a);if(n&&h.isHTMLForm(a)&&(a=new FormData(a)),h.isFormData(a))return o?JSON.stringify(es(a)):a;if(h.isArrayBuffer(a)||h.isBuffer(a)||h.isStream(a)||h.isFile(a)||h.isBlob(a)||h.isReadableStream(a))return a;if(h.isArrayBufferView(a))return a.buffer;if(h.isURLSearchParams(a))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let c;if(n){if(i.indexOf("application/x-www-form-urlencoded")>-1)return _i(a,this.formSerializer).toString();if((c=h.isFileList(a))||i.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return Se(c?{"files[]":a}:a,p&&new p,this.formSerializer)}}return n||o?(t.setContentType("application/json",!1),Si(a)):a}],transformResponse:[function(a){const t=this.transitional||le.transitional,i=t&&t.forcedJSONParsing,o=this.responseType==="json";if(h.isResponse(a)||h.isReadableStream(a))return a;if(a&&h.isString(a)&&(i&&!this.responseType||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(c){if(r)throw c.name==="SyntaxError"?w.from(c,w.ERR_BAD_RESPONSE,this,null,this.response):c}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{le.headers[e]={}});const wi=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"]),Ci=e=>{const a={};let t,i,o;return e&&e.split(`
|
|
2
|
+
`).forEach(function(r){o=r.indexOf(":"),t=r.substring(0,o).trim().toLowerCase(),i=r.substring(o+1).trim(),!(!t||a[t]&&wi[t])&&(t==="set-cookie"?a[t]?a[t].push(i):a[t]=[i]:a[t]=a[t]?a[t]+", "+i:i)}),a},ts=Symbol("internals");function ce(e){return e&&String(e).trim().toLowerCase()}function we(e){return e===!1||e==null?e:h.isArray(e)?e.map(we):String(e)}function Ei(e){const a=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=t.exec(e);)a[i[1]]=i[2];return a}const ki=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qe(e,a,t,i,o){if(h.isFunction(i))return i.call(this,a,t);if(o&&(a=t),!!h.isString(a)){if(h.isString(i))return a.indexOf(i)!==-1;if(h.isRegExp(i))return i.test(a)}}function Ni(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,t,i)=>t.toUpperCase()+i)}function xi(e,a){const t=h.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+t,{value:function(o,n,r){return this[i].call(this,a,o,n,r)},configurable:!0})})}let z=class{constructor(a){a&&this.set(a)}set(a,t,i){const o=this;function n(c,p,d){const l=ce(p);if(!l)throw new Error("header name must be a non-empty string");const m=h.findKey(o,l);(!m||o[m]===void 0||d===!0||d===void 0&&o[m]!==!1)&&(o[m||p]=we(c))}const r=(c,p)=>h.forEach(c,(d,l)=>n(d,l,p));if(h.isPlainObject(a)||a instanceof this.constructor)r(a,t);else if(h.isString(a)&&(a=a.trim())&&!ki(a))r(Ci(a),t);else if(h.isObject(a)&&h.isIterable(a)){let c={},p,d;for(const l of a){if(!h.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[d=l[0]]=(p=c[d])?h.isArray(p)?[...p,l[1]]:[p,l[1]]:l[1]}r(c,t)}else a!=null&&n(t,a,i);return this}get(a,t){if(a=ce(a),a){const i=h.findKey(this,a);if(i){const o=this[i];if(!t)return o;if(t===!0)return Ei(o);if(h.isFunction(t))return t.call(this,o,i);if(h.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,t){if(a=ce(a),a){const i=h.findKey(this,a);return!!(i&&this[i]!==void 0&&(!t||Qe(this,this[i],i,t)))}return!1}delete(a,t){const i=this;let o=!1;function n(r){if(r=ce(r),r){const c=h.findKey(i,r);c&&(!t||Qe(i,i[c],c,t))&&(delete i[c],o=!0)}}return h.isArray(a)?a.forEach(n):n(a),o}clear(a){const t=Object.keys(this);let i=t.length,o=!1;for(;i--;){const n=t[i];(!a||Qe(this,this[n],n,a,!0))&&(delete this[n],o=!0)}return o}normalize(a){const t=this,i={};return h.forEach(this,(o,n)=>{const r=h.findKey(i,n);if(r){t[r]=we(o),delete t[n];return}const c=a?Ni(n):String(n).trim();c!==n&&delete t[n],t[c]=we(o),i[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const t=Object.create(null);return h.forEach(this,(i,o)=>{i!=null&&i!==!1&&(t[o]=a&&h.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,t])=>a+": "+t).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...t){const i=new this(a);return t.forEach(o=>i.set(o)),i}static accessor(a){const i=(this[ts]=this[ts]={accessors:{}}).accessors,o=this.prototype;function n(r){const c=ce(r);i[c]||(xi(o,r),i[c]=!0)}return h.isArray(a)?a.forEach(n):n(a),this}};z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(z.prototype,({value:e},a)=>{let t=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[t]=i}}}),h.freezeMethods(z);function et(e,a){const t=this||le,i=a||t,o=z.from(i.headers);let n=i.data;return h.forEach(e,function(c){n=c.call(t,n,o.normalize(),a?a.status:void 0)}),o.normalize(),n}function ss(e){return!!(e&&e.__CANCEL__)}function te(e,a,t){w.call(this,e??"canceled",w.ERR_CANCELED,a,t),this.name="CanceledError"}h.inherits(te,w,{__CANCEL__:!0});function as(e,a,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?e(t):a(new w("Request failed with status code "+t.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Vi(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function Pi(e,a){e=e||10;const t=new Array(e),i=new Array(e);let o=0,n=0,r;return a=a!==void 0?a:1e3,function(p){const d=Date.now(),l=i[n];r||(r=d),t[o]=p,i[o]=d;let m=n,f=0;for(;m!==o;)f+=t[m++],m=m%e;if(o=(o+1)%e,o===n&&(n=(n+1)%e),d-r<a)return;const g=l&&d-l;return g?Math.round(f*1e3/g):void 0}}function Fi(e,a){let t=0,i=1e3/a,o,n;const r=(d,l=Date.now())=>{t=l,o=null,n&&(clearTimeout(n),n=null),e.apply(null,d)};return[(...d)=>{const l=Date.now(),m=l-t;m>=i?r(d,l):(o=d,n||(n=setTimeout(()=>{n=null,r(o)},i-m)))},()=>o&&r(o)]}const Ce=(e,a,t=3)=>{let i=0;const o=Pi(50,250);return Fi(n=>{const r=n.loaded,c=n.lengthComputable?n.total:void 0,p=r-i,d=o(p),l=r<=c;i=r;const m={loaded:r,total:c,progress:c?r/c:void 0,bytes:p,rate:d||void 0,estimated:d&&c&&l?(c-r)/d:void 0,event:n,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},t)},is=(e,a)=>{const t=e!=null;return[i=>a[0]({lengthComputable:t,total:e,loaded:i}),a[1]]},ns=e=>(...a)=>h.asap(()=>e(...a)),Bi=F.hasStandardBrowserEnv?((e,a)=>t=>(t=new URL(t,F.origin),e.protocol===t.protocol&&e.host===t.host&&(a||e.port===t.port)))(new URL(F.origin),F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent)):()=>!0,Ai=F.hasStandardBrowserEnv?{write(e,a,t,i,o,n){const r=[e+"="+encodeURIComponent(a)];h.isNumber(t)&&r.push("expires="+new Date(t).toGMTString()),h.isString(i)&&r.push("path="+i),h.isString(o)&&r.push("domain="+o),n===!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 zi(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ii(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function os(e,a,t){let i=!zi(a);return e&&(i||t==!1)?Ii(e,a):a}const rs=e=>e instanceof z?{...e}:e;function K(e,a){a=a||{};const t={};function i(d,l,m,f){return h.isPlainObject(d)&&h.isPlainObject(l)?h.merge.call({caseless:f},d,l):h.isPlainObject(l)?h.merge({},l):h.isArray(l)?l.slice():l}function o(d,l,m,f){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d,m,f)}else return i(d,l,m,f)}function n(d,l){if(!h.isUndefined(l))return i(void 0,l)}function r(d,l){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d)}else return i(void 0,l)}function c(d,l,m){if(m in a)return i(d,l);if(m in e)return i(void 0,d)}const p={url:n,method:n,data:n,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,m)=>o(rs(d),rs(l),m,!0)};return h.forEach(Object.keys(Object.assign({},e,a)),function(l){const m=p[l]||o,f=m(e[l],a[l],l);h.isUndefined(f)&&m!==c||(t[l]=f)}),t}const ls=e=>{const a=K({},e);let{data:t,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:n,headers:r,auth:c}=a;a.headers=r=z.from(r),a.url=Yt(os(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let p;if(h.isFormData(t)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((p=r.getContentType())!==!1){const[d,...l]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];r.setContentType([d||"multipart/form-data",...l].join("; "))}}if(F.hasStandardBrowserEnv&&(i&&h.isFunction(i)&&(i=i(a)),i||i!==!1&&Bi(a.url))){const d=o&&n&&Ai.read(n);d&&r.set(o,d)}return a},Ri=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(t,i){const o=ls(e);let n=o.data;const r=z.from(o.headers).normalize();let{responseType:c,onUploadProgress:p,onDownloadProgress:d}=o,l,m,f,g,y;function _(){g&&g(),y&&y(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function S(){if(!b)return;const E=z.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),N={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:E,config:e,request:b};as(function(L){t(L),_()},function(L){i(L),_()},N),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(i(new w("Request aborted",w.ECONNABORTED,e,b)),b=null)},b.onerror=function(){i(new w("Network Error",w.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let V=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const N=o.transitional||Qt;o.timeoutErrorMessage&&(V=o.timeoutErrorMessage),i(new w(V,N.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,b)),b=null},n===void 0&&r.setContentType(null),"setRequestHeader"in b&&h.forEach(r.toJSON(),function(V,N){b.setRequestHeader(N,V)}),h.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),c&&c!=="json"&&(b.responseType=o.responseType),d&&([f,y]=Ce(d,!0),b.addEventListener("progress",f)),p&&b.upload&&([m,g]=Ce(p),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",g)),(o.cancelToken||o.signal)&&(l=E=>{b&&(i(!E||E.type?new te(null,e,b):E),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const T=Vi(o.url);if(T&&F.protocols.indexOf(T)===-1){i(new w("Unsupported protocol "+T+":",w.ERR_BAD_REQUEST,e));return}b.send(n||null)})},Oi=(e,a)=>{const{length:t}=e=e?e.filter(Boolean):[];if(a||t){let i=new AbortController,o;const n=function(d){if(!o){o=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof w?l:new te(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,n(new w(`timeout ${a} of ms exceeded`,w.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(n):d.removeEventListener("abort",n)}),e=null)};e.forEach(d=>d.addEventListener("abort",n));const{signal:p}=i;return p.unsubscribe=()=>h.asap(c),p}},Li=function*(e,a){let t=e.byteLength;if(t<a){yield e;return}let i=0,o;for(;i<t;)o=i+a,yield e.slice(i,o),i=o},Gi=async function*(e,a){for await(const t of Wi(e))yield*Li(t,a)},Wi=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:t,value:i}=await a.read();if(t)break;yield i}}finally{await a.cancel()}},cs=(e,a,t,i)=>{const o=Gi(e,a);let n=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await o.next();if(d){c(),p.close();return}let m=l.byteLength;if(t){let f=n+=m;t(f)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),o.return()}},{highWaterMark:2})},Ee=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ds=Ee&&typeof ReadableStream=="function",Di=Ee&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ms=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Mi=ds&&ms(()=>{let e=!1;const a=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),ps=64*1024,tt=ds&&ms(()=>h.isReadableStream(new Response("").body)),ke={stream:tt&&(e=>e.body)};Ee&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!ke[a]&&(ke[a]=h.isFunction(e[a])?t=>t[a]():(t,i)=>{throw new w(`Response type '${a}' is not supported`,w.ERR_NOT_SUPPORT,i)})})})(new Response);const $i=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(F.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(h.isArrayBufferView(e)||h.isArrayBuffer(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await Di(e)).byteLength},vi=async(e,a)=>{const t=h.toFiniteNumber(e.getContentLength());return t??$i(a)},st={http:di,xhr:Ri,fetch:Ee&&(async e=>{let{url:a,method:t,data:i,signal:o,cancelToken:n,timeout:r,onDownloadProgress:c,onUploadProgress:p,responseType:d,headers:l,withCredentials:m="same-origin",fetchOptions:f}=ls(e);d=d?(d+"").toLowerCase():"text";let g=Oi([o,n&&n.toAbortSignal()],r),y;const _=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let b;try{if(p&&Mi&&t!=="get"&&t!=="head"&&(b=await vi(l,i))!==0){let N=new Request(a,{method:"POST",body:i,duplex:"half"}),P;if(h.isFormData(i)&&(P=N.headers.get("content-type"))&&l.setContentType(P),N.body){const[L,U]=is(b,Ce(ns(p)));i=cs(N.body,ps,L,U)}}h.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;y=new Request(a,{...f,signal:g,method:t.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?m:void 0});let T=await fetch(y,f);const E=tt&&(d==="stream"||d==="response");if(tt&&(c||E&&_)){const N={};["status","statusText","headers"].forEach(ue=>{N[ue]=T[ue]});const P=h.toFiniteNumber(T.headers.get("content-length")),[L,U]=c&&is(P,Ce(ns(c),!0))||[];T=new Response(cs(T.body,ps,L,()=>{U&&U(),_&&_()}),N)}d=d||"text";let V=await ke[h.findKey(ke,d)||"text"](T,e);return!E&&_&&_(),await new Promise((N,P)=>{as(N,P,{data:V,headers:z.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(S){throw _&&_(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,e,y),{cause:S.cause||S}):w.from(S,S&&S.code,e,y)}})};h.forEach(st,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const fs=e=>`- ${e}`,Ui=e=>h.isFunction(e)||e===null||e===!1,hs={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:a}=e;let t,i;const o={};for(let n=0;n<a;n++){t=e[n];let r;if(i=t,!Ui(t)&&(i=st[(r=String(t)).toLowerCase()],i===void 0))throw new w(`Unknown adapter '${r}'`);if(i)break;o[r||"#"+n]=i}if(!i){const n=Object.entries(o).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=a?n.length>1?`since :
|
|
4
|
+
`+n.map(fs).join(`
|
|
5
|
+
`):" "+fs(n[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:st};function at(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new te(null,e)}function us(e){return at(e),e.headers=z.from(e.headers),e.data=et.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),hs.getAdapter(e.adapter||le.adapter)(e).then(function(i){return at(e),i.data=et.call(e,e.transformResponse,i),i.headers=z.from(i.headers),i},function(i){return ss(i)||(at(e),i&&i.response&&(i.response.data=et.call(e,e.transformResponse,i.response),i.response.headers=z.from(i.response.headers))),Promise.reject(i)})}const ys="1.10.0",Ne={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Ne[e]=function(i){return typeof i===e||"a"+(a<1?"n ":" ")+e}});const gs={};Ne.transitional=function(a,t,i){function o(n,r){return"[Axios v"+ys+"] Transitional option '"+n+"'"+r+(i?". "+i:"")}return(n,r,c)=>{if(a===!1)throw new w(o(r," has been removed"+(t?" in "+t:"")),w.ERR_DEPRECATED);return t&&!gs[r]&&(gs[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),a?a(n,r,c):!0}},Ne.spelling=function(a){return(t,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function ji(e,a,t){if(typeof e!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const n=i[o],r=a[n];if(r){const c=e[n],p=c===void 0||r(c,n,e);if(p!==!0)throw new w("option "+n+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new w("Unknown option "+n,w.ERR_BAD_OPTION)}}const xe={assertOptions:ji,validators:Ne},M=xe.validators;let Z=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Xt,response:new Xt}}async request(a,t){try{return await this._request(a,t)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const n=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?n&&!String(i.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(i.stack+=`
|
|
6
|
+
`+n):i.stack=n}catch{}}throw i}}_request(a,t){typeof a=="string"?(t=t||{},t.url=a):t=a||{},t=K(this.defaults,t);const{transitional:i,paramsSerializer:o,headers:n}=t;i!==void 0&&xe.assertOptions(i,{silentJSONParsing:M.transitional(M.boolean),forcedJSONParsing:M.transitional(M.boolean),clarifyTimeoutError:M.transitional(M.boolean)},!1),o!=null&&(h.isFunction(o)?t.paramsSerializer={serialize:o}:xe.assertOptions(o,{encode:M.function,serialize:M.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),xe.assertOptions(t,{baseUrl:M.spelling("baseURL"),withXsrfToken:M.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=n&&h.merge(n.common,n[t.method]);n&&h.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),t.headers=z.concat(r,n);const c=[];let p=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(t)===!1||(p=p&&_.synchronous,c.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let l,m=0,f;if(!p){const y=[us.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),f=y.length,l=Promise.resolve(t);m<f;)l=l.then(y[m++],y[m++]);return l}f=c.length;let g=t;for(m=0;m<f;){const y=c[m++],_=c[m++];try{g=y(g)}catch(b){_.call(this,b);break}}try{l=us.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,f=d.length;m<f;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=K(this.defaults,a);const t=os(a.baseURL,a.url,a.allowAbsoluteUrls);return Yt(t,a.params,a.paramsSerializer)}};h.forEach(["delete","get","head","options"],function(a){Z.prototype[a]=function(t,i){return this.request(K(i||{},{method:a,url:t,data:(i||{}).data}))}}),h.forEach(["post","put","patch"],function(a){function t(i){return function(n,r,c){return this.request(K(c||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Z.prototype[a]=t(),Z.prototype[a+"Form"]=t(!0)});let Ji=class ka{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(n){t=n});const i=this;this.promise.then(o=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](o);i._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(c=>{i.subscribe(c),n=c}).then(o);return r.cancel=function(){i.unsubscribe(n)},r},a(function(n,r,c){i.reason||(i.reason=new te(n,r,c),t(i.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 t=this._listeners.indexOf(a);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const a=new AbortController,t=i=>{a.abort(i)};return this.subscribe(t),a.signal.unsubscribe=()=>this.unsubscribe(t),a.signal}static source(){let a;return{token:new ka(function(o){a=o}),cancel:a}}};function Hi(e){return function(t){return e.apply(null,t)}}function qi(e){return h.isObject(e)&&e.isAxiosError===!0}const it={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(it).forEach(([e,a])=>{it[a]=e});function _s(e){const a=new Z(e),t=Ot(Z.prototype.request,a);return h.extend(t,Z.prototype,a,{allOwnKeys:!0}),h.extend(t,a,null,{allOwnKeys:!0}),t.create=function(o){return _s(K(e,o))},t}const k=_s(le);k.Axios=Z,k.CanceledError=te,k.CancelToken=Ji,k.isCancel=ss,k.VERSION=ys,k.toFormData=Se,k.AxiosError=w,k.Cancel=k.CanceledError,k.all=function(a){return Promise.all(a)},k.spread=Hi,k.isAxiosError=qi,k.mergeConfig=K,k.AxiosHeaders=z,k.formToJSON=e=>es(h.isHTMLForm(e)?new FormData(e):e),k.getAdapter=hs.getAdapter,k.HttpStatusCode=it,k.default=k;const{Axios:Op,AxiosError:Lp,CanceledError:Gp,isCancel:Wp,CancelToken:Dp,VERSION:Mp,all:$p,Cancel:vp,isAxiosError:Up,spread:jp,toFormData:Jp,AxiosHeaders:Hp,HttpStatusCode:qp,formToJSON:Kp,getAdapter:Zp,mergeConfig:Yp}=k,Ki={computed:{sizeTabsFontMP(){const e=this.elementSize.width;return e<=380?"12px":e<=768?"14px":"16px"},sizeTabsFontMS(){const e=this.elementSize.width;return e<=600?"12px":e<=768?"13px":"14px"},sizeTabsMS(){const e=this.elementSize.width;return e<=480?"145px":e<=600?"153px":e<=620?"163px":e<=640?"170px":e<=660?"175px":e<=680?"180px":e<=700?"185px":e<=720?"195px":"200px"},sizeTabsMP(){const e=this.elementSize.width;return e<=319?"68px":e<=330?"73px":e<=340?"78px":e<=350?"82px":e<=360||e<=370?"90px":e<=390?"95px":e<=410?"105px":e<=430?"110px":e<=450?"117px":e<=470?"122px":e<=500?"130px":e<=530?"138px":e<=560?"155px":e<=590?"163px":e<=620?"175px":e<=650?"180px":e<=680?"195px":e<=730?"210px":e<=768?"100px":"110px"},comextleyemdmultipleleaguesClass(){return this.elementSize.width<=380?this.$style.comtextleyemdmultipleleagues380:this.$style.comtextleyemdmultipleleagues},comdropdownParentClass(){return this.elementSize.width<=730?this.$style.comdropdownParent730:this.$style.comdropdownParent},comdescubreVideosClass(){const e=this.elementSize.width;return e<=960?this.$style.comdescubreVideos960:e<=1232?this.$style.comdescubreVideos1232:this.$style.comdescubreVideos},comquitarFiltrosClass(){const e=this.elementSize.width;return e<=380?this.$style.comquitarFiltros380:e<=480?this.$style.comquitarFiltros480:e<=730?this.$style.comquitarFiltros730:this.$style.comquitarFiltros},commejoresJugadoresClass(){const e=this.elementSize.width;return e<=480?this.$style.commejoresJugadores480:e<=730?this.$style.commejoresJugadores730:this.$style.commejoresJugadores},menuSectionClass(){return this.elementSize.width<=960?this.$style.commenuSection960:this.$style.commenuSection},topFiltersClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFilters420:e<=460?this.$style.comtopFilters460:e<=1232?this.$style.comtopFilters1232:this.$style.comtopFilters},toniKroosWrapperClass(){const e=this.elementSize.width;return e<=319?this.$style.comtoniKroosWrapper320:e<=420?this.$style.comtoniKroosWrapper420:e<=916?this.$style.comtoniKroosWrapper760:e<=975?this.$style.comtoniKroosWrapper975:e<=1079?this.$style.comtoniKroosWrapper1080:this.$style.comtoniKroosWrapper},containerTablesClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTables320:e<=916?this.$style.comcontainerTables760:e<=1079?this.$style.comcontainerTables960:this.$style.comcontainerTables},containerTheBestClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTheBest320:e<=960?this.$style.comcontainerTheBest960:e<=1232?this.$style.comcontainerTheBest1232:this.$style.comcontainerTheBest},menuSectionHeaderClass(){const e=this.elementSize.width;return e<=730?this.$style.commenuSectionHeader730:e<=960?this.$style.commenuSectionHeader960:e<=1232?this.$style.commenuSectionHeader1232:this.$style.commenuSectionHeader},losMejoresClass(){const e=this.elementSize.width;return e<=380?this.$style.comlosMejores380:e<=530?this.$style.comlosMejores530:e<=730?this.$style.comlosMejores730:this.$style.comlosMejores},dropdownClass(){return this.elementSize.width<=730?this.$style.comdropdown730:this.$style.comdropdown},dropdown1Class(){return this.elementSize.width<=730?this.$style.comdropdown1730:this.$style.comdropdown1},menuSectionParentHeaderClass(){const e=this.elementSize.width;return e<=430?this.$style.commenuSectionParentHeader430:e<=730?this.$style.commenuSectionParentHeader730:e<=960?this.$style.commenuSectionParentHeader960:e<=1232?this.$style.commenuSectionParentHeader1232:this.$style.commenuSectionParentHeader},templateLosMejoresClass(){const e=this.elementSize.width;return e<=319?this.$style.comtemplateLosMejores1320:e<=350?this.$style.comtemplateLosMejores1350:e<=420?this.$style.comtemplateLosMejores1420:e<=540?this.$style.comtemplateLosMejores1540:e<=960?this.$style.comtemplateLosMejores1960:e<=1232?this.$style.comtemplateLosMejores11232:this.$style.comtemplateLosMejores1},containerMenuClass(){return this.elementSize.width<=760?this.$style.comcontainerMenu760:this.$style.comcontainerMenu},titleSectionClass(){return this.elementSize.width<=540?this.$style.comtitleSection540:this.$style.comtitleSection},containerSectionClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerSection320:e<=350?this.$style.comcontainerSection350:e<=960?this.$style.comcontainerSection960:e<=1232?this.$style.comcontainerSection1232:this.$style.comcontainerSection},filtersContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.comfiltersContainer420:e<=760?this.$style.comfiltersContainer760:e<=1232?this.$style.comfiltersContainer1232:this.$style.comfiltersContainer},topFiltersParentClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFiltersParent420:e<=460?this.$style.comtopFiltersParent460:e<=1232?this.$style.comtopFiltersParent1232:this.$style.comtopFiltersParent}}};function de(e){const a=s.ref({width:0,height:0});function t(){const i=e.value.getBoundingClientRect();a.value.width=i.width,a.value.height=i.height}return s.onMounted(()=>{t(),window.addEventListener("resize",t)}),s.onUnmounted(()=>{window.removeEventListener("resize",t)}),{elementSize:a}}const j=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},nt={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,iconPosition:{type:String,default:"left"},iconSize:String,mini:{type:Boolean,default:!1},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"},buttonMaxWidth:{type:String,default:"auto"},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,maxWidth:this.buttonMaxWidth,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))}}},bs=()=>{s.useCssVars(e=>({b4c0768e:e.height,59532894:e.borderWidthBtn,b334c7d0:e.borderType,"2559be45":e.borderColor,c2a48c20:e.borderRadius,"37b93ff4":e.width,d4c6b0fa:e.backgroundColor,"3ed79642":e.cursorType,"07333802":e.fontSize,"418e7460":e.fontStyle,"1ec091b6":e.fontFamily,"0ae4c74a":e.marginLeftStat,"4b1ae176":e.fontSizeStat}))},Ts=nt.setup;nt.setup=Ts?(e,a)=>(bs(),Ts(e,a)):bs;const Zi=["src"],Yi={key:1,class:"text"},Xi={class:"stats"},Qi={class:"numstats"},en={class:"leyend"};function tn(e,a,t,i,o,n){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",o.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([n.customStyle,o.status&&t.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[e.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(t.mini?"icon-txt":"icon"),style:s.normalizeStyle({width:t.iconSize}),src:e.icon},null,14,Zi)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",Yi,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.createElementVNode("div",Xi,[s.createElementVNode("div",Qi,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",en,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const sn=j(nt,[["render",tn],["__scopeId","data-v-458feef3"]]),an={tablePositionGames:"_tablePositionGames_1rp43_91",tablePositionWrapperGames:"_tablePositionWrapperGames_1rp43_123",imgHenrryIcon:"_imgHenrryIcon_1rp43_141",americaIcon:"_americaIcon_1rp43_157",playerPhotoGames:"_playerPhotoGames_1rp43_181",toniKroosGames:"_toniKroosGames_1rp43_199",shapeIcon:"_shapeIcon_1rp43_221",menuiconsTeams:"_menuiconsTeams_1rp43_233",component31:"_component31_1rp43_251",playerNameGames:"_playerNameGames_1rp43_273",icnPlayIcon:"_icnPlayIcon_1rp43_289",goles:"_goles_1rp43_305",americaIcon1:"_americaIcon1_1rp43_319",teamsAmerica:"_teamsAmerica_1rp43_347",containerData:"_containerData_1rp43_359",shapeIcon1:"_shapeIcon1_1rp43_375",icnExpand1:"_icnExpand1_1rp43_387",icnExpand:"_icnExpand_1rp43_387",playerDataGames:"_playerDataGames_1rp43_427",playerInfoGames:"_playerInfoGames_1rp43_449",headerTopGame:"_headerTopGame_1rp43_479",playerRow:"_playerRow_1rp43_507",groupsLeague:"_groupsLeague_1rp43_529",text:"_text_1rp43_547",btnViewFullList:"_btnViewFullList_1rp43_563",headerTopsGames:"_headerTopsGames_1rp43_597",btnVideosOptions:"_btnVideosOptions_1rp43_741",position:"_position_1rp43_1095",positionWrapper:"_positionWrapper_1rp43_1119",imgNecaxaIcon:"_imgNecaxaIcon_1rp43_1135",teamLogo:"_teamLogo_1rp43_1147",teamPhoto:"_teamPhoto_1rp43_1163",name:"_name_1rp43_1179",icnPlayIconType1:"_icnPlayIconType1_1rp43_1195",verVideosType1:"_verVideosType1_1rp43_1209",btnVideosOptionsType1:"_btnVideosOptionsType1_1rp43_1221",btnVideosOptions1Games:"_btnVideosOptions1Games_1rp43_1245",leftContainer:"_leftContainer_1rp43_1269",shapeIconType1:"_shapeIconType1_1rp43_1287",icnExpandType1:"_icnExpandType1_1rp43_1297",arrowExpand:"_arrowExpand_1rp43_1317",containerInfoGames:"_containerInfoGames_1rp43_1333",headerTopTeam:"_headerTopTeam_1rp43_1357",containerHeader:"_containerHeader_1rp43_1385",goles1:"_goles1_1rp43_1403",golesType1:"_golesType1_1rp43_1409",golesWrapper:"_golesWrapper_1rp43_1419",btnViewAll:"_btnViewAll_1rp43_1437",headerTopsTeams:"_headerTopsTeams_1rp43_1471",arrowExpandIcon:"_arrowExpandIcon_1rp43_1705",rotate:"_rotate_1rp43_1715"},ot={components:{GSCButton:sn},props:{typeData:{type:Number,default:1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>{}},type:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},categoryName:{type:String,default:""},categoryId:{type:String,default:""},data:{type:Object,default:()=>{}},backgroundColor:{type:String,default:"#0d1d29"},backgroundColorHeader:{type:String,default:"#183143"},fontColorName:{type:String,default:"#F4F4F4"},fontSizeName:{type:String,default:"14px"},fontFamilyName:{type:String,default:"Poppins-Regular"},fontColorTopNum:{type:String,default:"#FFFFFF"},fontSizeTopNum:{type:String,default:"96px"},fontFamilyTopNum:{type:String,default:"Oswald-Bold"},fontColorCategory:{type:String,default:"#FFFFFF"},fontSizeCategory:{type:String,default:"12px"},fontFamilyCategory:{type:String,default:"Poppins-Regular"},opacityColorTopNum:{type:Number,default:.09},borderColorCategory:{type:String,default:"#cbee6b"},iconSize:{type:String,default:"18px"},iconPosition:{type:String,default:"left"},colorArrow:{type:String,default:"#D9D9D9"},buttonWidth:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"180px"},buttonHeight:{type:String,default:"24px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#cbee6b"},buttonFontSize:{type:String,default:"12px"}},data:()=>({expand:!1}),methods:{viewProfile(e){this.$emit("play",e)},clickMore(e){this.$emit("more",e)},clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},clickFav(e){this.$emit("fav",e)},clickEventMedia(e){this.$emit("mediadata",e)}}},Ss=()=>{s.useCssVars(e=>({bda6b7e6:e.fontSizeTopNum,f23df320:e.fontFamilyTopNum,"3068284e":e.fontColorTopNum,"9a5a9596":e.opacityColorTopNum,"13f14a73":e.fontColorName,"4dea1eca":e.fontFamilyName,"1eca7fa7":e.fontSizeName,"3b11f736":e.backgroundColorHeader,df81ac86:e.fontFamilyCategory,"4619d41a":e.fontSizeCategory,"620658e6":e.fontColorCategory,"062e5329":e.borderColorCategory}))},ws=ot.setup;ot.setup=ws?(e,a)=>(Ss(),ws(e,a)):Ss;const nn=["src"],on=["src"],rn=["src"],ln=["src"],cn=["fill"],dn=["fill"],mn=["src"],pn=["fill"],fn=["fill"];function hn(e,a,t,i,o,n){const r=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.headerTopsGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerRow),id:"player-row"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.headerTopGame)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerPhotoGames),id:"container-player-photp"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.tablePositionWrapperGames)},[s.createElementVNode("b",{class:s.normalizeClass(e.$style.tablePositionGames)},s.toDisplayString(t.data.top),3)],2),s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgHenrryIcon),alt:"",src:t.data.photo},null,10,nn),s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon),alt:"",src:t.data.logo},null,10,on)],2),s.createElementVNode("main",{class:s.normalizeClass(e.$style.playerInfoGames),id:"container-player-info"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerNameGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.toniKroosGames)},s.toDisplayString(t.data.name),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerDataGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerData)},[t.canPlayVideos||t.game.awayTeam.team_id==t.teamWidget&&t.typeData!=1?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[0]||(a[0]=c=>n.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamsAmerica)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon1),alt:"",src:t.data.logo},null,10,rn)],2)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(r,{icon:"","icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamsAmerica)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon1),alt:"",src:t.data.logo},null,10,ln)],2)],64))],2),t.arrow?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.icnExpand),onClick:a[1]||(a[1]=c=>n.clickExpand(t.data.player_id))},[(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:t.colorArrow},null,8,dn)],10,cn))],2)):s.createCommentVNode("",!0)],2)],2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.headerTopsTeams)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerHeader),id:"header-container"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.headerTopTeam)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamPhoto),id:"container-team"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.positionWrapper)},[s.createElementVNode("b",{class:s.normalizeClass(e.$style.position)},s.toDisplayString(t.data.top),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamLogo)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgNecaxaIcon),alt:"",src:t.data.logo},null,10,mn)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerInfoGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.leftContainer)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.name)},s.toDisplayString(t.data.name_team),3),s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[2]||(a[2]=c=>n.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.btnVideosOptions1Games)},[s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[3]||(a[3]=c=>n.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.verVideosType1)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.arrowExpand),onClick:a[4]||(a[4]=c=>n.clickExpand(t.data.player_id))},[(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:t.colorArrow},null,8,fn)],10,pn))],2)):s.createCommentVNode("",!0)],2)],2)],2)],2)):s.createCommentVNode("",!0)])}const un=j(ot,[["render",hn],["__cssModules",{$style:an}]]),yn={rotate:"_rotate_1xi10_3",positionContainer:"_positionContainer_1xi10_50",positionContainer620:"_positionContainer620_1xi10_57",rowwPlayerGames:"_rowwPlayerGames_1xi10_64",rowwPlayer960Games:"_rowwPlayer960Games_1xi10_80",rowwPlayer420Games:"_rowwPlayer420Games_1xi10_95",rowwPlayer460Games:"_rowwPlayer460Games_1xi10_111",containerLeftGames:"_containerLeftGames_1xi10_128",containerLeft420Games:"_containerLeft420Games_1xi10_136",containerLeft620Games:"_containerLeft620Games_1xi10_144",iconFavoritesType1:"_iconFavoritesType1_1xi10_151",iconFavoritesType1320:"_iconFavoritesType1320_1xi10_159",iconFavorites:"_iconFavorites_1xi10_151",iconFavorites420:"_iconFavorites420_1xi10_175",playerContainerGames:"_playerContainerGames_1xi10_183",playerContainer420Games:"_playerContainer420Games_1xi10_195",playerContainer460Games:"_playerContainer460Games_1xi10_207",playerContainerType1Games:"_playerContainerType1Games_1xi10_219",playerContainerType1320Games:"_playerContainerType1320Games_1xi10_229",playerContainerType1460Games:"_playerContainerType1460Games_1xi10_239",imgPlayerIcon:"_imgPlayerIcon_1xi10_249",imgPlayerIcon460:"_imgPlayerIcon460_1xi10_259",imgPlayerIcon420:"_imgPlayerIcon420_1xi10_269",manchesterUnitedGames:"_manchesterUnitedGames_1xi10_279",manchesterUnited360Games:"_manchesterUnited360Games_1xi10_290",manchesterUnited420Games:"_manchesterUnited420Games_1xi10_301",manchesterUnited460Games:"_manchesterUnited460Games_1xi10_312",containerRightGames:"_containerRightGames_1xi10_323",containerRight960Games:"_containerRight960Games_1xi10_332",containerRight420Games:"_containerRight420Games_1xi10_342",numberOfVideos:"_numberOfVideos_1xi10_353",numberOfVideos620:"_numberOfVideos620_1xi10_359",block02Games:"_block02Games_1xi10_365",block02960Games:"_block02960Games_1xi10_375",block02620Games:"_block02620Games_1xi10_384",block02420Games:"_block02420Games_1xi10_391",verVideos:"_verVideos_1xi10_399",verVideos620:"_verVideos620_1xi10_405",numberPosition:"_numberPosition_1xi10_408",shapeIcon:"_shapeIcon_1xi10_414",chivasIcon:"_chivasIcon_1xi10_419",imgTeamIcon:"_imgTeamIcon_1xi10_430",teamName:"_teamName_1xi10_435",nameTeamGames:"_nameTeamGames_1xi10_441",dfC:"_dfC_1xi10_450",position:"_position_1xi10_50",age:"_age_1xi10_460",manchesterUnitedIcon:"_manchesterUnitedIcon_1xi10_468",country:"_country_1xi10_475",playedGames:"_playedGames_1xi10_482",playedMinutes:"_playedMinutes_1xi10_489",block01:"_block01_1xi10_496",leagueName:"_leagueName_1xi10_503",roleCharacterIcon:"_roleCharacterIcon_1xi10_509",btnVideosGames:"_btnVideosGames_1xi10_517",containerBtnVideosGames:"_containerBtnVideosGames_1xi10_532",containerBtnVideos620Games:"_containerBtnVideos620Games_1xi10_542",containesOptions:"_containesOptions_1xi10_551",arrowExpandIcon:"_arrowExpandIcon_1xi10_559",rowTeam:"_rowTeam_1xi10_568",rowTeam420:"_rowTeam420_1xi10_586",rowTeam320:"_rowTeam320_1xi10_604",rowTeam460:"_rowTeam460_1xi10_623",rowTeam350:"_rowTeam350_1xi10_642",containerLeftType1:"_containerLeftType1_1xi10_660",containerLeftType1680:"_containerLeftType1680_1xi10_666",containerLeftType1320:"_containerLeftType1320_1xi10_673",containerLeftType1350:"_containerLeftType1350_1xi10_681",positionContainertype1:"_positionContainertype1_1xi10_688",positionContainertype1380:"_positionContainertype1380_1xi10_696",positionContainertype1680:"_positionContainertype1680_1xi10_704",positionContainertype1420:"_positionContainertype1420_1xi10_712",manchesterUnitedType1:"_manchesterUnitedType1_1xi10_720",manchesterUnitedType1460:"_manchesterUnitedType1460_1xi10_726",manchesterUnitedType1320:"_manchesterUnitedType1320_1xi10_733",containerRightType1Games:"_containerRightType1Games_1xi10_740",containerRightType1420Games:"_containerRightType1420Games_1xi10_751",containerRightType1320Games:"_containerRightType1320Games_1xi10_762",teamNameWrapperType1:"_teamNameWrapperType1_1xi10_773",teamNameWrapperType1960:"_teamNameWrapperType1960_1xi10_780",teamNameWrapperType11086:"_teamNameWrapperType11086_1xi10_787",ageWrapperType1:"_ageWrapperType1_1xi10_794",ageWrapperType1680:"_ageWrapperType1680_1xi10_801",ageWrapperType11086:"_ageWrapperType11086_1xi10_809",ageType1:"_ageType1_1xi10_817",ageType1960:"_ageType1960_1xi10_825",playedGamesWrapperType1:"_playedGamesWrapperType1_1xi10_828",playedGamesWrapperType1680:"_playedGamesWrapperType1680_1xi10_835",playedGamesWrapperType1960:"_playedGamesWrapperType1960_1xi10_838",playedGamesType1:"_playedGamesType1_1xi10_841",playedGamesType1540:"_playedGamesType1540_1xi10_848",playedGamesType1960:"_playedGamesType1960_1xi10_852",playedGamesType11086:"_playedGamesType11086_1xi10_855",playedMinutesWrapperType1:"_playedMinutesWrapperType1_1xi10_858",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_1xi10_865",playedMinutesType1:"_playedMinutesType1_1xi10_872",playedMinutesType1680:"_playedMinutesType1680_1xi10_879",block02Type1Games:"_block02Type1Games_1xi10_882",block02Type1680Games:"_block02Type1680Games_1xi10_890",block02Type1320Games:"_block02Type1320Games_1xi10_898",block02Type1350Games:"_block02Type1350Games_1xi10_907",leagueNameWrapperType1:"_leagueNameWrapperType1_1xi10_915",leagueNameWrapperType1680:"_leagueNameWrapperType1680_1xi10_923",leagueNameWrapperType1960:"_leagueNameWrapperType1960_1xi10_926",leagueNameType1:"_leagueNameType1_1xi10_934",leagueNameType1960:"_leagueNameType1960_1xi10_944",numberOfVideosType1:"_numberOfVideosType1_1xi10_954",numberOfVideosType1680:"_numberOfVideosType1680_1xi10_961",numberOfVideosType11232:"_numberOfVideosType11232_1xi10_968",vectorIconType1:"_vectorIconType1_1xi10_975",block01TitlesType1:"_block01TitlesType1_1xi10_992",numberPositionType1:"_numberPositionType1_1xi10_999",shapeIconType1:"_shapeIconType1_1xi10_1005",tijuanaIconType1:"_tijuanaIconType1_1xi10_1011",tijuanaWrapperType1:"_tijuanaWrapperType1_1xi10_1017",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_1xi10_1028",teamNameType1:"_teamNameType1_1xi10_1036",roleCharacterIconType1:"_roleCharacterIconType1_1xi10_1043",verVideosType1:"_verVideosType1_1xi10_1050",btnVideosType1Games:"_btnVideosType1Games_1xi10_1056",containerBtnVideosType1Games:"_containerBtnVideosType1Games_1xi10_1071",containesOptionsType1Games:"_containesOptionsType1Games_1xi10_1082",arrowExpandIconType1:"_arrowExpandIconType1_1xi10_1091",templateTablaProductividadType1:"_templateTablaProductividadType1_1xi10_1097",verVideosType11232:"_verVideosType11232_1xi10_1109",templateTablaProductividadType1320:"_templateTablaProductividadType1320_1xi10_1113",verVideosType1680:"_verVideosType1680_1xi10_1117"},rt={components:{},computed:{manchesterUnitedType1Class(){const e=this.elementSize.width;return e<=320?this.$style.manchesterUnitedType1320:e<=460?this.$style.manchesterUnitedType1460:this.$style.manchesterUnitedType1},containerRightType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerRightType1320Games:e<=420?this.$style.containerRightType1420Games:this.$style.containerRightType1Games},teamNameWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.teamNameWrapperType1960:e<=1086?this.$style.teamNameWrapperType11086:this.$style.teamNameWrapperType1},ageWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.ageWrapperType1680:e<=1086?this.$style.ageWrapperType11086:this.$style.ageWrapperType1},ageType1Class(){return this.elementSize.width<=960?this.$style.ageType1960:this.$style.ageType1},playedGamesWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.playedGamesWrapperType1680:e<=960?this.$style.playedGamesWrapperType1960:this.$style.playedGamesWrapperType1},playedGamesType1Class(){const e=this.elementSize.width;return e<=540?this.$style.playedGamesType1540:e<=960?this.$style.playedGamesType1960:e<=1086?this.$style.playedGamesType11086:this.$style.playedGamesType1},playedMinutesWrapperType1Class(){return this.elementSize.width<=1086?this.$style.playedMinutesWrapperType11086:this.$style.playedMinutesWrapperType1},playedMinutesType1Class(){return this.elementSize.width<=680?this.$style.playedMinutesType1680:this.$style.playedMinutesType1},block02Type1Class(){const e=this.elementSize.width;return e<=320?this.$style.block02Type1320Games:e<=350?this.$style.block02Type1350Games:e<=680?this.$style.block02Type1680Games:this.$style.block02Type1Games},leagueNameWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.leagueNameWrapperType1680:e<=960?this.$style.leagueNameWrapperType1960:this.$style.leagueNameWrapperType1},leagueNameType1Class(){return this.elementSize.width<=960?this.$style.leagueNameType1960:this.$style.leagueNameType1},numberOfVideosType1Class(){const e=this.elementSize.width;return e<=680?this.$style.numberOfVideosType1680:e<=1232?this.$style.numberOfVideosType11232:this.$style.numberOfVideosType1},containerLeftType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerLeftType1320:e<=350?this.$style.containerLeftType1350:e<=680?this.$style.containerLeftType1680:this.$style.containerLeftType1},positionContainertype1Class(){const e=this.elementSize.width;return e<=380?this.$style.positionContainertype1380:e<=420?this.$style.positionContainertype1420:e<=680?this.$style.positionContainertype1680:this.$style.positionContainertype1},rowTeamClass(){const e=this.elementSize.width;return e<=320?this.$style.rowTeam320:e<=350?this.$style.rowTeam350:e<=420?this.$style.rowTeam420:e<=460?this.$style.rowTeam460:this.$style.rowTeam},containerBtnVideosClass(){return this.$style.containerBtnVideosGames},numberOfVideosClass(){return this.elementSize.width<=620?this.$style.numberOfVideos620:this.$style.numberOfVideos},block02Class(){const e=this.elementSize.width;return e<=420?this.$style.block02420Games:e<=620?this.$style.block02620Games:e<=960?this.$style.block02960Games:this.$style.block02Games},imgPlayerIconClass(){const e=this.elementSize.width;return e<=420?this.$style.imgPlayerIcon420:e<=460?this.$style.imgPlayerIcon460:this.$style.imgPlayerIcon},manchesterUnitedClass(){const e=this.elementSize.width;return e<=360?this.$style.manchesterUnited360Games:e<=420?this.$style.manchesterUnited420Games:e<=460?this.$style.manchesterUnited460Games:this.$style.manchesterUnitedGames},containerRightClass(){const e=this.elementSize.width;return e<=420?this.$style.containerRight420Games:e<=960?this.$style.containerRight960Games:this.$style.containerRightGames},playerContainerType1Class(){const e=this.elementSize.width;return e<=320?this.$style.playerContainerType1320Games:e<=460?this.$style.playerContainerType1460Games:this.$style.playerContainerType1Games},playerContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.playerContainer420Games:e<=460?this.$style.playerContainer460Games:this.$style.playerContainerGames},iconFavoritesClass(){return this.elementSize.width<=420?this.$style.iconFavorites420:this.$style.iconFavorites},iconFavoritesType1Class(){return this.elementSize.width<=320?this.$style.iconFavoritesType1320:this.$style.iconFavoritesType1},containerLeftClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeft420Games:e<=620?this.$style.containerLeft620Games:this.$style.containerLeftGames},positionContainerClass(){return this.elementSize.width<=620?this.$style.positionContainer620:this.$style.positionContainer},rowwPlayerClass(){const e=this.elementSize.width;return e<=420?this.$style.rowwPlayer420Games:e<=460?this.$style.rowwPlayer460Games:e<=960?this.$style.rowwPlayer960Games:this.$style.rowwPlayerGames}},setup(){const e=s.ref("myDivRef2"),{elementSize:a}=de(e);return{myDivRef2:e,elementSize:a}},props:{typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},type:{type:Number,default:0},typeView:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},background:{type:String,default:"#172531"},height:{type:String,default:"35px"},fontColor:{type:String,default:"#F4F4F4"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"},data:{type:Object,default:()=>{}},game:{type:Object,default:()=>{}},colorArrow:{type:String,default:"#D9D9D9"},buttonTextValue:{type:String,default:"Ver videos"},iconSize:{type:String,default:"13px"},iconSizeMini:{type:String,default:"13px"},iconPosition:{type:String,default:"left"},buttonWidth:{type:String,default:"93px"},buttonWidthMini:{type:String,default:"24px"},buttonHeightMini:{type:String,default:"24px"},buttonHeight:{type:String,default:"30px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#55636e"},buttonFontSize:{type:String,default:"10px"}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},Cs=()=>{s.useCssVars(e=>({"287acbb5":e.height,"2c02ce88":e.background,"3f686ffe":e.fontSize,a672c1f4:e.fontColor,"1f323fbe":e.fontFamily}))},Es=rt.setup;rt.setup=Es?(e,a)=>(Cs(),Es(e,a)):Cs;const gn={ref:"myDivRef2",style:{"border-left":"rgba(13, 29, 41, 0.7) 1px solid","border-right":"rgba(13, 29, 41, 0.7) 1px solid"}},_n=["src"],bn=["src"],Tn=["fill"],Sn=["fill"],wn=["src"],Cn=["fill"],En=["fill"],kn=["src"],Nn=["src"],xn=["src"],Vn=["fill"],Pn=["fill"];function Fn(e,a,t,i,o,n){return s.openBlock(),s.createElementBlock("div",gn,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(n.containerLeftClass),id:"container-left"},[s.createElementVNode("div",{class:s.normalizeClass(n.positionContainerClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.numberPosition)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(n.playerContainerClass)},[s.createElementVNode("img",{class:s.normalizeClass(n.imgPlayerIconClass),src:t.data.player_photo},null,10,_n),s.createElementVNode("div",{class:s.normalizeClass(n.manchesterUnitedClass)},[i.elementSize.width<=420?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.player_short),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createTextVNode(s.toDisplayString(t.data.player_name),1)],64))],2)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containerRightClass),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(n.block02Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptions)},[s.createElementVNode("div",{class:s.normalizeClass(n.containerBtnVideosClass)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,bn),s.createElementVNode("div",{class:s.normalizeClass(n.numberOfVideosClass)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("svg",{key:0,class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[0]||(a[0]=r=>n.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:t.colorArrow},null,8,Sn)],10,Tn)):s.createCommentVNode("",!0)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(n.rowTeamClass),style:s.normalizeStyle(i.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(n.containerLeftType1Class),id:"container-left"},[s.createElementVNode("div",{class:s.normalizeClass(n.positionContainertype1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.numberPositionType1)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(n.playerContainerType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(n.manchesterUnitedType1Class)},s.toDisplayString(t.data.team_abrev),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containerRightType1Class),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(n.block02Type1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsType1Games)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerBtnVideosType1Games)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,wn),s.createElementVNode("div",{class:s.normalizeClass(n.numberOfVideosType1Class)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("svg",{key:0,class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[1]||(a[1]=r=>n.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:t.colorArrow},null,8,En)],10,Cn)):s.createCommentVNode("",!0)],2)],2)],6)):s.createCommentVNode("",!0),t.type==2?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(n.containerLeftClass),id:"container-left"},[s.createElementVNode("div",{class:s.normalizeClass(n.positionContainerClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.numberPosition)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(n.playerContainerClass)},[s.createElementVNode("img",{class:s.normalizeClass(n.imgPlayerIconClass),src:t.data.player_photo},null,10,kn),s.createElementVNode("div",{class:s.normalizeClass(n.manchesterUnitedClass)},s.toDisplayString(t.data.player_name),3),i.elementSize.width<=420?(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(e.$style.chivasIcon),alt:"",src:t.data.team_logo},null,10,Nn)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containerRightClass),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(n.block02Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptions)},[s.createElementVNode("div",{class:s.normalizeClass(n.containerBtnVideosClass)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,xn),s.createElementVNode("div",{class:s.normalizeClass(n.numberOfVideosClass)},s.toDisplayString(t.data.total),3)],2)],2),(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[2]||(a[2]=r=>n.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:t.colorArrow},null,8,Pn)],10,Vn))],2)],2)],2)):s.createCommentVNode("",!0)],512)}const Bn=j(rt,[["render",Fn],["__cssModules",{$style:yn}]]),An={containerLeftTitles:"_containerLeftTitles_82svp_119",containerLeftTitles420:"_containerLeftTitles420_82svp_135",containerLeftTitles620:"_containerLeftTitles620_82svp_151",containerLeftTitlesTeam:"_containerLeftTitlesTeam_82svp_169",containerLeftTitlesTeam1180:"_containerLeftTitlesTeam1180_82svp_185",containerLeftTitlesTeam1090:"_containerLeftTitlesTeam1090_82svp_201",containerLeftTitlesTeam960:"_containerLeftTitlesTeam960_82svp_217",containerLeftTitlesTeam860:"_containerLeftTitlesTeam860_82svp_233",containerLeftTitlesTeam768:"_containerLeftTitlesTeam768_82svp_249",containerLeftTitlesTeam680:"_containerLeftTitlesTeam680_82svp_265",containerLeftTitlesTeam620:"_containerLeftTitlesTeam620_82svp_281",containerLeftTitlesTeam420:"_containerLeftTitlesTeam420_82svp_297",headTitlesAvanced:"_headTitlesAvanced_82svp_315",headTitlesAvanced960:"_headTitlesAvanced960_82svp_345",headTitlesAvanced420:"_headTitlesAvanced420_82svp_375",headTitlesAvanced540:"_headTitlesAvanced540_82svp_415",headTitlesAvanced460:"_headTitlesAvanced460_82svp_445",headTitlesAvanced620:"_headTitlesAvanced620_82svp_475",position:"_position_82svp_505",position420:"_position420_82svp_523",player:"_player_82svp_529",player420:"_player420_82svp_551",containerRightTypeAvanced1:"_containerRightTypeAvanced1_82svp_559",containerRightTitlesAdvanced:"_containerRightTitlesAdvanced_82svp_573",containerRightTitlesAdvanced960:"_containerRightTitlesAdvanced960_82svp_591",block02Titles:"_block02Titles_82svp_609",block02Titles620:"_block02Titles620_82svp_625",mon1Scouting:"_mon1Scouting_82svp_633",mon1Scouting960:"_mon1Scouting960_82svp_653",mon1:"_mon1_82svp_633",mon1420:"_mon1420_82svp_689",mon1620:"_mon1620_82svp_709",icnIcon:"_icnIcon_82svp_729",icnIcon960:"_icnIcon960_82svp_739",icnIcon420:"_icnIcon420_82svp_751",teamTitle:"_teamTitle_82svp_759",positionTitle:"_positionTitle_82svp_779",ageTitle:"_ageTitle_82svp_795",partidos:"_partidos_82svp_811",playedGamesTitle:"_playedGamesTitle_82svp_819",playedMinutesTitle:"_playedMinutesTitle_82svp_839",block01Titles:"_block01Titles_82svp_857",mon:"_mon_82svp_633",containesOptionsTitles:"_containesOptionsTitles_82svp_889",templateTablaProductividadType1:"_templateTablaProductividadType1_82svp_903",templateTablaProductividadType1400:"_templateTablaProductividadType1400_82svp_927",headTitlesType1:"_headTitlesType1_82svp_955",headTitlesType1420:"_headTitlesType1420_82svp_981",headTitlesType1400:"_headTitlesType1400_82svp_1013",headTitlesType1540:"_headTitlesType1540_82svp_1045",headTitlesType1460:"_headTitlesType1460_82svp_1073",headTitlesType1680:"_headTitlesType1680_82svp_1101",headTitlesType1350:"_headTitlesType1350_82svp_1127",positionType1:"_positionType1_82svp_1157",positionType1400:"_positionType1400_82svp_1175",teamType1:"_teamType1_82svp_1195",teamType1400:"_teamType1400_82svp_1213",frecuenciaType1:"_frecuenciaType1_82svp_1233",frecuenciaType1540:"_frecuenciaType1540_82svp_1249",containerLeftTitlesType1:"_containerLeftTitlesType1_82svp_1267",frecuenciaWrapperType1:"_frecuenciaWrapperType1_82svp_1283",frecuenciaWrapperType1680:"_frecuenciaWrapperType1680_82svp_1301",promedioPartidoType1:"_promedioPartidoType1_82svp_1317",promedioEstePartidoType1:"_promedioEstePartidoType1_82svp_1325",promedioEstePartidoType1960:"_promedioEstePartidoType1960_82svp_1341",promedioEstePartidoWrapperType1:"_promedioEstePartidoWrapperType1_82svp_1349",promedioEstePartidoWrapperType11200:"_promedioEstePartidoWrapperType11200_82svp_1365",promedioEstePartidoWrapperType11090:"_promedioEstePartidoWrapperType11090_82svp_1383",promedioEstePartidoWrapperType11086:"_promedioEstePartidoWrapperType11086_82svp_1403",promedioPartidosType1:"_promedioPartidosType1_82svp_1421",promedioPartidosWrapperType1:"_promedioPartidosWrapperType1_82svp_1435",promedioPartidosWrapperType1960:"_promedioPartidosWrapperType1960_82svp_1451",promedioPartidosWrapperType11086:"_promedioPartidosWrapperType11086_82svp_1457",partidosJugadosType1:"_partidosJugadosType1_82svp_1463",partidosJugadosType1960:"_partidosJugadosType1960_82svp_1475",partidosJugadosWrapperType1:"_partidosJugadosWrapperType1_82svp_1489",partidosJugadosWrapperType11200:"_partidosJugadosWrapperType11200_82svp_1505",partidosJugadosWrapperType11180:"_partidosJugadosWrapperType11180_82svp_1521",partidosJugadosWrapperType11170:"_partidosJugadosWrapperType11170_82svp_1537",partidosJugadosWrapperType11140:"_partidosJugadosWrapperType11140_82svp_1553",partidosJugadosWrapperType11086:"_partidosJugadosWrapperType11086_82svp_1569",partidosJugadosWrapperType1960:"_partidosJugadosWrapperType1960_82svp_1585",partidosJugadosWrapperType1880:"_partidosJugadosWrapperType1880_82svp_1601",partidosJugadosWrapperType1860:"_partidosJugadosWrapperType1860_82svp_1617",partidosJugadosWrapperType1830:"_partidosJugadosWrapperType1830_82svp_1633",partidosJugadosWrapperType1790:"_partidosJugadosWrapperType1790_82svp_1649",partidosJugadosWrapperType1930:"_partidosJugadosWrapperType1930_82svp_1665",partidosJugadosWrapperType1770:"_partidosJugadosWrapperType1770_82svp_1681",block01TitlesType1:"_block01TitlesType1_82svp_1687",monType1:"_monType1_82svp_1703",monType1960:"_monType1960_82svp_1721",monType1680:"_monType1680_82svp_1741",videosType1:"_videosType1_82svp_1747",videosType1680:"_videosType1680_82svp_1767",videosType1600:"_videosType1600_82svp_1785",videosType1540:"_videosType1540_82svp_1803",videosType1420:"_videosType1420_82svp_1821",videosType1400:"_videosType1400_82svp_1839",containesOptionsTitlesType1:"_containesOptionsTitlesType1_82svp_1863",containesOptionsTitlesType1768:"_containesOptionsTitlesType1768_82svp_1879",containesOptionsTitlesType1730:"_containesOptionsTitlesType1730_82svp_1893",containesOptionsTitlesType1690:"_containesOptionsTitlesType1690_82svp_1907",icnIconType1:"_icnIconType1_82svp_1921",icnIconType1420:"_icnIconType1420_82svp_1933",icnIconType1400:"_icnIconType1400_82svp_1947",block02TitlesType1:"_block02TitlesType1_82svp_1955",block02TitlesType1680:"_block02TitlesType1680_82svp_1969",block02TitlesType1350:"_block02TitlesType1350_82svp_1983",containerRightTitlesType1:"_containerRightTitlesType1_82svp_1997",containerRightTitlesType1420:"_containerRightTitlesType1420_82svp_2015"},lt={components:{},computed:{icnIconType1Class(){const e=this.elementSize.width;return e<=400?this.$style.icnIconType1400:e<=420?this.$style.icnIconType1420:this.$style.icnIconType1},videosType1Class(){const e=this.elementSize.width;return e<=400?this.$style.videosType1400:e<=420?this.$style.videosType1420:e<=540?this.$style.videosType1540:e<=600?this.$style.videosType1600:e<=680?this.$style.videosType1680:this.$style.videosType1},monType1Class(){const e=this.elementSize.width;return e<=680?this.$style.monType1680:e<=960?this.$style.monType1960:this.$style.monType1},block02TitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.block02TitlesType1350:e<=680?this.$style.block02TitlesType1680:this.$style.block02TitlesType1},containesOptionsTitlesType1Class(){const e=this.elementSize.width;return e<=400?this.$style.containesOptionsTitlesType1400:e<=690?this.$style.containesOptionsTitlesType1690:e<=730?this.$style.containesOptionsTitlesType1730:e<=768?this.$style.containesOptionsTitlesType1768:this.$style.containesOptionsTitlesType1},partidosJugadosWrapperType1Class(){const e=this.elementSize.width;return e<=770?this.$style.promedioPartidosWrapperType1770:e<=790?this.$style.partidosJugadosWrapperType1790:e<=830?this.$style.partidosJugadosWrapperType1830:e<=860?this.$style.partidosJugadosWrapperType1860:e<=880?this.$style.partidosJugadosWrapperType1880:e<=930?this.$style.partidosJugadosWrapperType1930:e<=960?this.$style.partidosJugadosWrapperType1960:e<=1086?this.$style.partidosJugadosWrapperType11086:e<=1140?this.$style.partidosJugadosWrapperType11140:e<=1170?this.$style.partidosJugadosWrapperType11170:e<=1180?this.$style.partidosJugadosWrapperType11180:e<=1200?this.$style.partidosJugadosWrapperType11200:this.$style.partidosJugadosWrapperType1},promedioPartidosWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.promedioPartidosWrapperType1960:e<=1086?this.$style.promedioPartidosWrapperType11086:this.$style.promedioPartidosWrapperType1},partidosJugadosType1Class(){return this.elementSize.width<=960?this.$style.partidosJugadosType1960:this.$style.partidosJugadosType1},templateTablaProductividadType1Class(){return this.elementSize.width<=400?this.$style.templateTablaProductividadType1400:this.$style.templateTablaProductividadType1},promedioEstePartidoType1Class(){return this.elementSize.width<=960?this.$style.promedioEstePartidoType1960:this.$style.promedioEstePartidoType1},headTitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.headTitlesType1350:e<=400?this.$style.headTitlesType1400:e<=420?this.$style.headTitlesType1420:e<=460?this.$style.headTitlesType1460:e<=540?this.$style.headTitlesType1540:e<=680?this.$style.headTitlesType1680:this.$style.headTitlesType1},headTitlesClassAvanced(){const e=this.elementSize.width;return e<=420?this.$style.headTitlesAvanced420:e<=460?this.$style.headTitlesAvanced460:e<=540?this.$style.headTitlesAvanced540:e<=620?this.$style.headTitlesAvanced620:e<=960?this.$style.headTitlesAvanced960:this.$style.headTitlesAvanced},containerLeftTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitles420:e<=620?this.$style.containerLeftTitles620:this.$style.containerLeftTitles},containerLeftTitlesClassTeam(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitlesTeam420:e<=620?this.$style.containerLeftTitlesTeam620:e<=680?this.$style.containerLeftTitlesTeam680:e<=768?this.$style.containerLeftTitlesTeam768:e<=860?this.$style.containerLeftTitlesTeam860:e<=960?this.$style.containerLeftTitlesTeam960:e<=1090?this.$style.containerLeftTitlesTeam1090:e<=1180?this.$style.containerLeftTitlesTeam1180:this.$style.containerLeftTitlesTeam},icnIconClass(){const e=this.elementSize.width;return e<=420?this.$style.icnIcon420:e<=960?this.$style.icnIcon960:this.$style.icnIcon},mon1Class(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=620?this.$style.mon1620:this.$style.mon1},mon1ScoutingClass(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=960?this.$style.mon1Scouting960:this.$style.mon1Scouting},promedioEstePartidoWrapperType1Class(){const e=this.elementSize.width;return e<=1086?this.$style.promedioEstePartidoWrapperType11086:e<=1090?this.$style.promedioEstePartidoWrapperType11090:e<=1200?this.$style.promedioEstePartidoWrapperType11200:this.$style.promedioEstePartidoWrapperType1},frecuenciaWrapperType1Class(){return this.elementSize.width<=680?this.$style.frecuenciaWrapperType1680:this.$style.frecuenciaWrapperType1},frecuenciaType1Class(){return this.elementSize.width<=540?this.$style.frecuenciaType1540:this.$style.frecuenciaType1},positionType1Class(){return this.elementSize.width<=400?this.$style.positionType1400:this.$style.positionType1},containerRightType1ClassAvanced(){return this.elementSize.width<=420?this.$style.containerRightTypeAvanced1420:this.$style.containerRightTypeAvanced1},containerRightTitlesType1Class(){return this.elementSize.width<=420?this.$style.containerRightTitlesType1420:this.$style.containerRightTitlesType1},teamType1Class(){return this.elementSize.width<=400?this.$style.teamType1400:this.$style.teamType1},playerClass(){return this.elementSize.width<=420?this.$style.player420:this.$style.player},positionClass(){return this.elementSize.width<=420?this.$style.position420:this.$style.position},containerRightTitlesClassAdvanced(){return this.elementSize.width<=960?this.$style.containerRightTitlesAdvanced960:this.$style.containerRightTitlesAdvanced},block02TitlesClass(){return this.elementSize.width<=620?this.$style.block02Titles960:this.$style.block02Titles}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=de(e);return{myDivRef:e,elementSize:a}},props:{type:{type:Number,default:0},background:{type:String,default:"#172531"},height:{type:String,default:"71px"},heightTeam:{type:String,default:"65px"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"}},watch:{},data:()=>({}),async created(){},methods:{}},ks=()=>{s.useCssVars(e=>({"32aec1ca":e.background,"4e54a87a":e.height,"448b848c":e.fontSize,"4c061c38":e.fontColor,"3917092f":e.fontFamily,"4a286e80":e.heightTeam}))},Ns=lt.setup;lt.setup=Ns?(e,a)=>(ks(),Ns(e,a)):ks;const zn={ref:"myDivRef"};function In(e,a,t,i,o,n){return s.openBlock(),s.createElementBlock("div",zn,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(n.positionClass)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(n.playerClass)},"Jugador",2)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.teamTitle)},"Equipo",2)):s.createCommentVNode("",!0),i.elementSize.width>730?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.positionTitle)},"Posición",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.$style.ageTitle)},"edad",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(e.$style.ageTitle)},"País",2)):s.createCommentVNode("",!0),i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:4,class:s.normalizeClass(e.$style.playedGamesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Partidos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:5,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Minutos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(n.block02TitlesClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsTitles)},[i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.mon)},"Total",2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(n.mon1Class)},"Videos",2)],2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(n.templateTablaProductividadType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(n.headTitlesType1Class),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(n.containerLeftTitlesClassTeam),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(n.positionType1Class)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(n.teamType1Class)},"Equipo",2)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containerRightType1ClassAvanced)},[s.createElementVNode("div",{class:s.normalizeClass(n.frecuenciaWrapperType1Class)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(n.frecuenciaType1Class)},"Frecuencia",2)):s.createCommentVNode("",!0)],2),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(n.promedioEstePartidoWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(n.promedioEstePartidoType1Class)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):s.createCommentVNode("",!0),i.elementSize.width>1086?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(n.promedioPartidosWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.promedioPartidosType1)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},a[0]||(a[0]=[s.createTextVNode("Promedio partido"),s.createElementVNode("br",null,null,-1),s.createTextVNode("Torneo anterior")]),2)],2)],2)):s.createCommentVNode("",!0),i.elementSize.width>770?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(n.partidosJugadosWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.partidosJugadosType1)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},a[1]||(a[1]=[s.createTextVNode("Partidos "),s.createElementVNode("br",null,null,-1),s.createTextVNode("Jugados")]),2)],2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containesOptionsTitlesType1Class)},[i.elementSize.width>680?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(n.monType1Class)},"total",2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(n.videosType1Class)},"Videos",2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==2?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(n.positionClass)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(n.playerClass)},"Jugador",2)],2),s.createElementVNode("div",{class:s.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.teamTitle)},"Equipo",2)):s.createCommentVNode("",!0),i.elementSize.width>730?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.positionTitle)},"Posición",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.$style.ageTitle)},"edad",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(e.$style.ageTitle)},"País",2)):s.createCommentVNode("",!0),i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:4,class:s.normalizeClass(e.$style.playedGamesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Partidos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:5,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Minutos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:6,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Liga",2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(n.block02TitlesClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsTitles)},[s.createElementVNode("div",{class:s.normalizeClass(n.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):s.createCommentVNode("",!0)],512)}const Rn=j(lt,[["render",In],["__cssModules",{$style:An}]]),On=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},ct={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))}}},xs=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Vs=ct.setup;ct.setup=Vs?(e,a)=>(xs(),Vs(e,a)):xs;const Ln=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),Gn=["src"],Wn={key:1,class:"text"},Dn=["src"],Mn={class:"stats"},$n=Ln(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),vn={class:"numstats"},Un={class:"leyend"};function jn(e,a,t,i,o,n){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",o.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([n.customStyle,o.status&&t.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Gn)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",Wn,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Dn)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.createElementVNode("div",Mn,[$n,s.createElementVNode("div",vn,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",Un,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const Jn=On(ct,[["render",jn],["__scopeId","data-v-f3ee6b2b"]]),Hn={equipoGames:"_equipoGames_fst7d_75",atlasSeleccinGames:"_atlasSeleccinGames_fst7d_85",equipoAtlasSeleccinMexiGames:"_equipoAtlasSeleccinMexiGames_fst7d_93",aosGames:"_aosGames_fst7d_101",span12:"_span12_fst7d_109",nacionalidadMex:"_nacionalidadMex_fst7d_115",manchesterUnited:"_manchesterUnited_fst7d_121",manchesterUnited12:"_manchesterUnited12_fst7d_135",containerInfoGames:"_containerInfoGames_fst7d_155",verPerfil12:"_verPerfil12_fst7d_173",btnProfile:"_btnProfile_fst7d_191",containerButton:"_containerButton_fst7d_223",dataContainer:"_dataContainer_fst7d_237",expandedInfoPlayerGames:"_expandedInfoPlayerGames_fst7d_257",containerDataBg:"_containerDataBg_fst7d_437",containerDataSm:"_containerDataSm_fst7d_459",span:"_span_fst7d_109",manchesterUnited14:"_manchesterUnited14_fst7d_481",filter:"_filter_fst7d_491",verPerfil:"_verPerfil_fst7d_173",manchesterUnited8:"_manchesterUnited8_fst7d_533",manchesterUnitedParent1:"_manchesterUnitedParent1_fst7d_545",manchesterUnited1:"_manchesterUnited1_fst7d_135",manchesterUnitedParent:"_manchesterUnitedParent_fst7d_545",frameDiv:"_frameDiv_fst7d_589",infoExpanded:"_infoExpanded_fst7d_605",countryFlag:"_countryFlag_fst7d_911"},dt={components:{GSCButton:Jn},props:{isLive:{type:Boolean,default:!1},background:{type:String,default:"#172531"},type:{type:Number,default:1},viewButton:{type:Boolean,default:!0},viewTeam:{type:Boolean,default:!0},viewAge:{type:Boolean,default:!0},viewNationality:{type:Boolean,default:!0},viewPosition:{type:Boolean,default:!0},viewGames:{type:Boolean,default:!0},viewMin:{type:Boolean,default:!0},viewGoals:{type:Boolean,default:!0},viewEffectiveness:{type:Boolean,default:!0},height:{type:String,default:"134px"},fontColor:{type:String,default:"#ffffffb3"},fontColorValue:{type:String,default:"#ffffff"},fontFamily:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"10px"},additionalClass:{type:String,default:""},data:{type:Object,default:()=>{}}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=de(e);return{myDivRef:e,elementSize:a}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},Ps=()=>{s.useCssVars(e=>({a297a8e8:e.fontFamily,"05868b8a":e.fontColor,"9181d814":e.fontColorValue,c650cbae:e.fontSize,af6837b2:e.background}))},Fs=dt.setup;dt.setup=Fs?(e,a)=>(Ps(),Fs(e,a)):Ps;const qn={ref:"myDivRef"},Kn=["src"];function Zn(e,a,t,i,o,n){const r=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",qn,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.expandedInfoPlayerGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.dataContainer),id:"data-container"},[s.createElementVNode("div",{class:s.normalizeClass([e.$style.containerInfoGames,t.additionalClass]),id:"container-info"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited)},[t.viewTeam?(s.openBlock(),s.createElementBlock("p",{key:0,class:s.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.atlasSeleccinGames)},s.toDisplayString(t.data.teams),3)],2)):s.createCommentVNode("",!0),t.viewAge?(s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.equipoGames)},"Edad: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.age)+" años",3),s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)}," ("+s.toDisplayString(t.data.dataofbirth)+")",3)],2)):s.createCommentVNode("",!0),t.viewNationality?(s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},[s.createTextVNode(s.toDisplayString(t.data.nationality.substring(0,3).toUpperCase())+" ",1),s.createElementVNode("div",{class:s.normalizeClass(e.$style.countryFlag)},[s.createElementVNode("img",{src:t.data.countryFlag},null,8,Kn)],2)],2)],2)):s.createCommentVNode("",!0),t.viewPosition?(s.openBlock(),s.createElementBlock("p",{key:3,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Posición: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited12)},[t.viewGames&&!t.isLive?(s.openBlock(),s.createElementBlock("p",{key:0,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.games),3)],2)):s.createCommentVNode("",!0),t.viewMin&&!t.isLive?(s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.min),3)],2)):s.createCommentVNode("",!0),t.viewGoals?(s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},s.toDisplayString(t.data.category)+": ",3),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.goals),3)],2)):s.createCommentVNode("",!0),t.viewEffectiveness?(s.openBlock(),s.createElementBlock("p",{key:3,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerButton),id:"btn-container"},[t.viewButton?(s.openBlock(),s.createBlock(r,{key:0,style:s.normalizeStyle(t.additionalClass!=""&&i.elementSize.width>540?"margin-right: 50px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:a[0]||(a[0]=c=>n.viewProfile(t.data.id))},null,8,["style"])):s.createCommentVNode("",!0)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.infoExpanded)},[s.createElementVNode("div",{class:s.normalizeClass([e.$style.containerDataBg,t.additionalClass])},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[2]||(a[2]=s.createElementVNode("span",null,"Posición en la tabla: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[3]||(a[3]=s.createElementVNode("span",null,"Goles anotados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[4]||(a[4]=s.createElementVNode("span",null,"Goles recibidos: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals_received),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[5]||(a[5]=s.createElementVNode("span",null,"Partidos jugados:",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.games_played),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited1)},[a[6]||(a[6]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[7]||(a[7]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2),t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited8)},[a[8]||(a[8]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness)+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited8)},[a[9]||(a[9]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerDataSm)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.frameDiv)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[10]||(a[10]=s.createElementVNode("span",null,"Posición en la tabla: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[11]||(a[11]=s.createElementVNode("span",null,"Goles anotados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[12]||(a[12]=s.createElementVNode("span",null,"Goles recibidos: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals_received),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[13]||(a[13]=s.createElementVNode("span",null,"Partidos jugados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.games_played),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent1)},[t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited14)},[a[14]||(a[14]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[15]||(a[15]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited8)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2)],2)],2),t.viewButton?(s.openBlock(),s.createBlock(r,{key:0,style:s.normalizeStyle(t.additionalClass!=""&&i.elementSize.width>540?"margin-right: 42px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:a[1]||(a[1]=c=>n.viewProfile(t.data.id))},null,8,["style"])):s.createCommentVNode("",!0)],2)):s.createCommentVNode("",!0)],512)}const Yn=j(dt,[["render",Zn],["__cssModules",{$style:Hn}],["__scopeId","data-v-5dd9e88d"]]),Bs={3:"Albanesa",4:"Argelina",6:"Andorrano",7:"Angoleña",8:"Anguillan",9:"Antiguan",10:"Argentina",11:"Armenia",12:"Arubeño",13:"Austríaca",14:"Austríaca",15:"Azerbaiyano",16:"Bahamas",17:"Bareini",18:"Bangladesí",19:"Barbadense",20:"Bielorrusa",21:"Belga",22:"Beliceña",23:"Beninesa",24:"Bermudeña",25:"Butanés",26:"Boliviana",27:"Bosnia",28:"Botsuano",29:"Brasileña",30:"Islas Vírgenes Británicas",31:"Bruneano",32:"Búlgara",33:"Burundés",34:"Burmesa",35:"Burundés",36:"Camboyana",37:"Camerunés",38:"Canadiense",39:"Caboverdiano",40:"Caimanés",41:"Centroafricana",42:"Chadiano",43:"Chilena",44:"China",45:"Isla de Navidad",46:"Cocos Island",47:"Colombiana",48:"Comorense",49:"Congoleña",50:"Cookiano",51:"Costarricense",52:"Marfileña",53:"Croata",54:"Cubana",55:"Chipriota",56:"Checa",57:"Danesa",58:"Djibouti",60:"Dominicana",61:"Timorense",62:"Ecuatoriana",63:"Egipcia",64:"Salvadoreña",65:"Inglesa",66:"Ecuatoguineano",67:"Eritreo",68:"Estoniana",69:"Etíope",70:"Islas Malvinas",71:"Feroés",72:"Fiyiano",73:"Finlandesa",74:"Francesa",75:"Guayana Francesa",76:"Francopolinecio",77:"Gabonesa",78:"Gambiana",79:"Georgiano",80:"Alemana",81:"Ghanesa",82:"Gibraltareño",221:"Británico",84:"Griega",85:"Groenlandés",86:"Granadino",87:"Guadeloupeño",89:"Guatemalteca",90:"Guineana",91:"Guyanés",92:"Haitiana",93:"Hondureña",94:"Hongkongese",95:"Húngaro",96:"Islandesa",97:"Indio",98:"Indonesia",99:"Iraní",100:"Iraquí",101:"Irlandesa",102:"Manés",103:"Israelí",104:"Italiana",105:"Jamaiquina",106:"Japonesa",107:"Jordana",108:"Kazaja",109:"Keniana",110:"Kiribatiano",111:"Coreana",112:"Surcoreana",113:"Kosovan",114:"Kuwaití",115:"Kirguisa",116:"Laosiano",117:"Letona",118:"Libanesa",119:"Basotho",120:"Liberiana",121:"Libia",122:"Liechtenstein",123:"Lituano",124:"Luxemburguesa",125:"Macaneso",126:"Macedonia",127:"Malgache",128:"Malaya",129:"Malaya",130:"Maldivo",131:"Mali",132:"Maltesa",133:"Marshallese",134:"Martiniqueña",135:"Mauritania",136:"Mauriciano",137:"Mahoran",138:"Mexicana",139:"Micronesio",140:"Moldava",141:"Monacan",142:"Mongol",143:"Montenegrina",144:"Montserratiano",145:"Marroqui",146:"Mozambiqueña",147:"Namibio",148:"Nauruan",149:"Nepalí",150:"Holandesa",151:"Neocaledonio",152:"Neozelandesa",153:"Nicaragüense",154:"Niueño",155:"Nigerina",156:"Nigeriana",157:"Noruega",158:"Normariano",159:"Omaní",160:"Palestina",161:"Palestina",162:"Palauan",163:"Panameña",164:"Papú",165:"Paraguaya",166:"Peruana",167:"Filipina",168:"Pitcairnés",169:"Polaca",170:"Portuguesa",171:"Puertorriqueña",172:"Catari",173:"Reunionés",174:"Rumana",175:"Rusa",176:"Ruandés",177:"Santa Elena",178:"Sancristobaleña",179:"Santa Lucía",180:"Miquelonnais",181:"Sanvicentina",182:"Samoano",183:"Sanmariense",184:"Santotomense",185:"Saudí",186:"Escocesa",187:"Senegalense",188:"Serbia",189:"Seychellense",190:"Sierraleonesa",191:"Singapurense",192:"Eslovena",193:"Eslovena",194:"Salomonense",195:"Somalí",196:"Sudafricana",197:"Surosetio",198:"Española",199:"Esrilanques",200:"Sudanés",201:"Surinamés",202:"Swazi",203:"Sueca",204:"Suiza",205:"Sirio",206:"Taiwanesa",207:"Tayiko",208:"Tanzano",209:"Tailandesa",210:"Togo",211:"Tongano",212:"Trinitaria",213:"Tunecina",214:"Turca",215:"Turkmena",216:"none",217:"Tuvaluano",218:"Ugandesa",219:"Ucraniana",220:"Emiratí",222:"Americana",223:"Uruguaya",224:"Uzbeka",225:"Vanuatuense",226:"Venezolana",227:"Vietnamita",228:"Islas Vírgenes",229:"Galesa",230:"Walisiano",231:"Saharaui",232:"Yemení",233:"Zambiana",234:"Zimbabuense",236:"Curazaleña",237:"San Martín",239:"Debutante"},mt={components:{GSCLeaders:un,GSCRowTable:Bn,GSCTableHeader:Rn,GSCExpandedInfo:Yn},props:{isTeam:{type:Boolean,default:!1},typeTable:{type:Number,default:0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},typeData:{type:Number,default:1},gameId:{type:Number,default:0},filtersProp:{type:[Object,String],default:()=>{}},game:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},filterTeam:{type:Number,default:0},timeLiveComparativeAvanced:{type:Number,default:6e4},category:{type:Number,default:1},categoryName:{type:String,default:"Goles"},seasonSelected:{type:Object,default:()=>({})},season:{type:Number,default:1772},type:{type:Number,default:0},borderRadius:{type:String,default:"8px"},borderWidth:{type:[String,Number],default:"2px"},borderColor:{type:String,default:"#cfcfcf"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},numRows:{type:Number,default:5},dummyData:{type:Array,default:null}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=de(e);return{myDivRef:e,elementSize:a}},watch:{game:{immediate:!0,deep:!0,async handler(e){e&&(this.playersInfo={},this.teamInfo={},this.isloading=!0,this.formatFilterStats=[],await this.getCategoryStats(this.season),this.game.is_live&&(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)))}},typeData:{immediate:!0,async handler(e){await this.getCategoryStats(this.season),e===1&&this.game.is_live?(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)):clearInterval(this.intervalIdtops)}},filtersProp:{immediate:!1,deep:!0,async handler(e,a){e&&(JSON.stringify(e)!==JSON.stringify(a)||this.sonConjuntosDistintos(e.setNationalitiesIds,a.setNationalitiesIds))&&(this.isloading=!0,this.filterEmitAux=e,[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.filterEmitAux.typeZone=1:this.filterEmitAux.typeZone=2,this.formatFilterStats=await this.filterRecords(this.filterEmitAux))}}},computed:{topData(){if(this.dummyData&&this.category===0)return[this.dummyData];if(this.changeStateLoading(!0),Object.entries(this.statsData).length>0&&this.formatFilterStats.length>0){var e={},a={},t=[],i=[],o=[];return this.formatFilterStats.map(n=>{e[n.team_id]?e[n.team_id].total=e[n.team_id].total+n.total:(e[n.team_id]={},e[n.team_id].total=n.total,e[n.team_id].id=this.teamInfo[n.team_id].id,e[n.team_id].name=this.teamInfo[n.team_id].name.replace(" Femenil",""),e[n.team_id].img="https://golstatsimages.blob.core.windows.net/teams-80/"+n.team_id+".png",e[n.team_id].effectiveness=this.teamInfo[n.team_id].effectiveness,e[n.team_id].frecuency=this.teamInfo[n.team_id].frecuency,e[n.team_id].game_avg=this.teamInfo[n.team_id].game_avg,e[n.team_id].game_avg_last_season=this.teamInfo[n.team_id].game_avg_last_season,e[n.team_id].games_played_lastseason=this.teamInfo[n.team_id].games_played_lastseason,e[n.team_id].games_played=this.teamInfo[n.team_id].games_played,e[n.team_id].positiontable=this.teamInfo[n.team_id].positiontable,e[n.team_id].goals=this.teamInfo[n.team_id].goals,e[n.team_id].goalsrecived=this.teamInfo[n.team_id].goalsrecived,e[n.team_id].xg=this.teamInfo[n.team_id].xg),a[n.player_id]?n.player_id!=0&&n.player_id!=62117&&(a[n.player_id].total=a[n.player_id].total+n.total):n.player_id!=0&&n.player_id!=62117&&(a[n.player_id]={},a[n.player_id].total=n.total,n.player_id&&this.playersInfo[n.player_id]?(a[n.player_id].name=this.playersInfo[n.player_id].name,a[n.player_id].name_short=this.getnameshort(this.playersInfo[n.player_id].name),a[n.player_id].img=this.playersInfo[n.player_id].img,a[n.player_id].id=this.playersInfo[n.player_id].id,a[n.player_id].age=this.playersInfo[n.player_id].age,a[n.player_id].team=this.playersInfo[n.player_id].team,a[n.player_id].teamname=this.playersInfo[n.player_id].teamname,a[n.player_id].teamid=this.playersInfo[n.player_id].teamid,a[n.player_id].position=this.playersInfo[n.player_id].position,a[n.player_id].positionId=this.playersInfo[n.player_id].positionId,a[n.player_id].positionfull=this.playersInfo[n.player_id].positionfull,a[n.player_id].country=this.playersInfo[n.player_id].country,a[n.player_id].effectiveness=this.playersInfo[n.player_id].effectiveness,a[n.player_id].minutes=this.playersInfo[n.player_id].minutes_played,a[n.player_id].games=this.playersInfo[n.player_id].games_played,a[n.player_id].date=this.playersInfo[n.player_id].date,a[n.player_id].nationality=this.playersInfo[n.player_id].nationality,a[n.player_id].player_country_flag=this.playersInfo[n.player_id].player_country_flag,a[n.player_id].categoryName=this.categoryName):(a[n.player_id].id=n.player_id,a[n.player_id].name=n.player_id,a[n.player_id].img="SIN IMAGEN",a[n.player_id].age="",a[n.player_id].teamname="",a[n.player_id].team="",a[n.player_id].teamid=0,a[n.player_id].position="",a[n.player_id].positionId=0,a[n.player_id].positionfull="",a[n.player_id].country="",a[n.player_id].effectiveness="",a[n.player_id].minutes="",a[n.player_id].games="",a[n.player_id].date="00-00-0000",a[n.player_id].nationality="",a[n.player_id].player_country_flag="",a[n.player_id].categoryName=""))}),t.push(...Object.values(e)),i.push(...Object.values(a)),t=this.sortAndSlice(Object.values(e),60),i=i.sort(this.compareObjectsMinutes).slice(0,60),i=i.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),t=t.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),this.filterTeam!==0&&!this.isTeam&&(o=i.filter(n=>n.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(t):this.filterTeam!=0?this.formatArrayPaginate(o):this.formatArrayPaginate(i)}else return this.changeStateLoading(!1),[]}},data:()=>({url:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/live/tops",urlPrematch:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory/",data_headers:["team_id","player_id","playing_as","match_result","section","total","origen","destino"],token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",mapPlayers:new Map,setNationalityIds:new Set,arrayAgeRange:[0,0],arePlaysEmpty:!1,teamInfo:{},formatFilterStats:[],formatStats:[],playersInfo:{},isloading:!0,statsData:{},updateSlider:0,intervalIdtops:null,filterEmitAux:{},filtersSelect:{playingAs:[],matchResult:[],sections:[],zone:[],typeZone:[]},filtersValues:{type:1,sections:[1,2,3,4,5,6],matchResult:[1,2,3],playingAs:[1,2],zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],typeZone:1,arrayAgeRange:[1,60],setNationalitiesIds:[],setPositionsIds:[1,2,3,4,5,6,7,8,9]},expand:!1,playerexpand:0,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],categories:[{id:1,name:"Goles"}]}),methods:{changeStateLoading(e){this.isloading=e},compareObjectsMinutes(e,a){return e.total>a.total?-1:e.total<a.total?1:e.minutes<a.minutes?-1:e.minutes>a.minutes?1:0},sonConjuntosDistintos(e,a){const t=Array.from(e),i=Array.from(a);if(t.length!==i.length)return!0;for(let o=0;o<t.length;o++)if(!a.has(t[o]))return!0;return!1},getnameshort(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),o="";t.length==2||t.length==1?t[0].length<4?o=t[0]+" "+t[1]:o=t[0]:t.length==3?o=t[0]+" "+t[1]:t.length==4&&(o=t[1]+" "+t[2]+" "+t[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},changeCarrousel(){this.expand=!1,this.playerexpand=0},compareObjects(e,a){return e.total<a.total?-1:e.total>a.total?1:e.name<a.name?-1:e.name>a.name?1:0},sortAndSlice(e,a){return e.sort((t,i)=>(t.name<i.name?1:-1)&&(t.total<i.total?1:-1)).slice(0,a)},getCategoryName(e){let a="";for(let t=0;t<this.categories.length;t++)e==this.categories[t].id&&(a=this.categories[t].name);return a},translateTopCategories(e){return{1:[12,55,"35_r","54_r"],2:[2,20],3:[485,486,487,488],4:[10,324],5:[27,323],6:[510],7:[537,540,544,547],8:[328],9:[231,238,280,287,294,406],10:[13,25],11:[98,101,104,105,109,112,115,116],12:[4],13:[88],14:[5],15:[34],16:[23],17:[11],18:[17,50],19:[18,49],20:[14,52],21:[15,53],22:[39],23:[31,32]}[e]||[]},getCoordinatePointPerCategory(e){return{1:2,2:3,3:1,4:2,5:1,6:2,7:2,8:1,9:1,10:2,11:2,12:1,13:1,14:1,15:1,16:1,17:1,18:3,19:3,20:3,21:3,22:1,23:1}[e]||0},emitEventMedia(e,a,t){let i=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone;this.translateTopCategories(a),Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const c=1,l=this.isTeam?3:2,m=e.player_id;let f=[],g=this.isTeam?e.id:this.filterTeam;m?this.isTeam?g=m:f=[m]:this.isTeam?g=e.id:f=[e.id];const y={auxwidget:!!(this.canPlayVideos||this.game.awayTeam.team_id==this.teamWidget&&this.typeData!=1),seasonId:this.game.is_live==1?this.season:this.game.regularSeasonId,isFeaturedPlayers:!1,mainSectionType:c,playListType:l,gameIds:null,playerIds:f,goalkeeperIds:[],categoryIds:this.translateTopCategories(a),teamId:g||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:t,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",y)},emitEventMediaFullTable(e,a,t){let i=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone,c=this.translateTopCategories(a);Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2;let f=[],g=this.isTeam?e.id:this.filterTeam;this.isTeam?g=e.id:f=[e.id];const y={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:f,goalkeeperIds:[],categoryIds:c,teamId:g||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:t,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",y)},replaceImgPlayer(e){return e.replace("https://golstatsimages.blob.core.windows.net/players-profile/","https://golstatsimages.blob.core.windows.net/players-profile-no-bg/")},abrevName(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),o="";t.length==2||t.length==1?t[0].length<4?o=t[0]+" "+t[1]:o=t[0]:t.length==3?o=t[0]+" "+t[1]:t.length==4&&(o=t[1]+" "+t[2]+" "+t[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;return r},clickMore(e){this.$emit("more",{category:e,categoryName:this.categoryName})},morestats(){this.$emit("more",this.category)},viewprofile(e,a){this.$emit("clickprofile",{id:e,teamId:a,isTeam:this.isTeam})},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getCategoryStats(e){var a,t;this.mapPlayers=new Map;try{if(!e)return;let i=[],o={},n={},r=this.season;(t=(a=this.seasonSelected)==null?void 0:a.related_seasons)!=null&&t.some(d=>d.id===this.season)&&(r=this.seasonSelected.id),this.arePlaysEmpty=!1;const c=k.create({headers:{Authorization:`${this.token}`}});this.isloading=!0;let p={};if(this.typeData==1?this.isWidget&&this.teamWidget!=0?p=await c.get(this.url+"/"+this.gameId+"/"+this.category+"?t="+this.teamWidget):p=await c.get(this.url+"/"+this.gameId+"/"+this.category):this.game.game_status===1?this.isWidget&&this.teamWidget!=0?p=await c.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1&t="+this.teamWidget):p=await c.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1"):this.isWidget&&this.teamWidget!=0?p=await c.get(this.urlPrematch+r+"/"+this.category+"?t="+this.teamWidget):p=await c.get(this.urlPrematch+r+"/"+this.category+"?t="+this.game.homeTeam.team_id+"&t="+this.game.awayTeam.team_id),p&&p.data&&p.data.data&&p.data.data.length>0){i=p.data.data.map(l=>this.formatStatsData(l)),p.data.teams.forEach(l=>{o[l[0]]={},o[l[0]].id=l[0],o[l[0]].name=l[1],o[l[0]].abrv=l[2],o[l[0]].img=l[3],o[l[0]].effectiveness=l[4],o[l[0]].games_played=l[5],o[l[0]].games_played_lastseason=l[6],o[l[0]].positiontable=l[7],o[l[0]].goals=l[8],o[l[0]].goalsrecived=l[9],o[l[0]].xg=l[10],o[l[0]].frecuency=l[11],o[l[0]].game_avg=l[12],o[l[0]].game_avg_last_season=l[13]});const d=new Set;p.data.players.forEach(l=>{const m=this.getObjectPlayer(l);this.mapPlayers.set(m.numberId,m);const f=m.numberAge,g=m.teamName.length>0?m.teamName[0].acronym:"",y=m.teamName.length>0?o[m.teamName[0].team_id].name:"",_=m.teamName.length>0?m.teamName[0].team_id:"",b=this.positions[m.numberPositionId-1].fullname,S=this.positions[m.numberPositionId-1].name,T=m.countryId.length>0?m.countryId[0].nationality_id:"",E=m.effectiveness,V=m.min,N=m.games,P=m.date;m.arrayNationalities.forEach(L=>{d.add(L.numberId)}),n[l[0]]={id:l[0],name:l[1],img:l[2],age:f,team:g,teamname:y,teamid:_,position:b,positionfull:S,effectiveness:E,country:T,games_played:N,minutes_played:V,date:P,nationality:m.stringNationalityName,player_country_flag:m.player_country_flag,positionId:m.numberPositionId}}),this.setNationalityIds=d,this.arrayAgeRange=[p.data.min_age,p.data.max_age]}else this.arePlaysEmpty=!0;this.teamInfo=o,this.playersInfo=n,this.formatStats=i,this.formatFilterStats=this.filterRecords(this.filtersSelect),this.statsData=p}catch(i){return Promise.reject(i)}},filterRecords(e){return this.formatStats.length>0?this.formatStats.filter(a=>{const t=e.playingAs.includes(a.playing_as),i=e.matchResult.includes(a.match_result),o=e.sections.includes(a.section),n=e.typeZone===1&&e.zone.includes(a.origen)||e.typeZone===2&&e.zone.includes(a.destino);if(e.setPositionsIds&&e.setNationalitiesIds&&e.arrayAgeRange&&e.setYear&&!this.isTeam){const r=this.mapPlayers.get(a.player_id);if(!r)return!1;if(e.booleanAreNationalTeamsVisible){if(e.setAvailableNationalTeamsPlayersIds.size>0&&!e.setAvailableNationalTeamsPlayersIds.has(a.player_id))return!1}else{let c=!1;for(const p of r.arrayNationalitiesIds)if(e.setNationalitiesIds.has(p)){c=!0;break}if(!c)return!1}if(r.numberAge<e.arrayAgeRange[0]||r.numberAge>e.arrayAgeRange[1]||r.date<e.setYear||!e.setPositionsIds.includes(r.numberPositionId))return!1}return(e.playingAs.length===0||t)&&(e.matchResult.length===0||i)&&(e.sections.length===0||o)&&(e.zone.length===0||n)}):[]},updateSliderF(){this.updateSlider+=1},formatStatsData(e){const a={};return e[1]===0&&(e[2]===1||e[2]===2)&&(e[2]=3-e[2]),e[1]===0&&(e[3]===1||e[3]===2)&&(e[3]=3-e[3]),this.data_headers.forEach((t,i)=>{a[t]=e[i]}),a},getObjectPlayer(e){const a=[],t=e[7].map(o=>(a.push(o.nationality_id),{stringName:o.nationality,numberId:o.nationality_id})),i=e[9].split("-");return{numberId:e[0]!==void 0?e[0]:"",stringFullName:e[1]!==void 0?e[1]:"",stringImageUrl:e[2]!==void 0?e[2]:"",numberTeamId:e[3]!==void 0?e[3]:"",player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+e[3]+".jpg",stringNationalityName:Bs[e[3]],numberAge:e[5]!==void 0?e[5]:"",numberPositionId:e[6]!==void 0?e[6]:"",countryId:e[7]!==void 0?e[7]:"",teamName:e[10]!==void 0?e[10]:"",effectiveness:e[11]!==void 0?e[11]:"",min:e[13]!==void 0?e[13]:"",games:e[12]!==void 0?e[12]:"",date:i.length>0?Number(i[0]):0,arrayNationalities:t,category:this.categoryName,arrayNationalitiesIds:a}},formatArrayPaginate(e){return[e.slice(0,this.numRows)]},createIntervalTops(){this.intervalIdtops=setInterval(async()=>{await this.getCategoryStats(this.season)},this.timeLiveComparativeAvanced)},clearTopsInterval(){this.intervalIdtops&&(clearInterval(this.intervalIdtops),this.intervalIdtops=null)}},beforeUnmount(){this.clearTopsInterval()}},As=()=>{s.useCssVars(e=>({"169b82fc":e.borderRadius,"6c5fa21c":e.borderWidth,"6b48a3b9":e.borderColor}))},zs=mt.setup;mt.setup=zs?(e,a)=>(As(),zs(e,a)):As;const Xn={ref:"myDivRef"},Qn={key:0,class:"row-table-carrousel"},eo={key:1,class:"container-no-search-result"},to={key:0,class:"overlay-loading-top"};function so(e,a,t,i,o,n){const r=s.resolveComponent("GSCLeaders"),c=s.resolveComponent("GSCRowTable"),p=s.resolveComponent("GSCExpandedInfo"),d=s.resolveComponent("GSCTableHeader");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(t.type==0?"gsc-top":"gsc-top-full")},[s.createElementVNode("div",Xn,[t.type==0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[n.topData.length>0?(s.openBlock(),s.createElementBlock("div",Qn,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.topData[0],(l,m)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:m},[l.top==1?(s.openBlock(),s.createBlock(r,{key:0,onMediadata:a[0]||(a[0]=f=>n.emitEventMedia(f,t.category,t.categoryName)),type:t.typeTable,"type-data":t.typeData,game:t.game,arrow:t.arrow,"team-widget":t.teamWidget,"can-play-videos":t.canPlayVideos,"is-expanded":e.playerexpand==l.id&&e.expand,ref_for:!0,ref:"GSCLeaders",data:t.typeTable==0?{top:"01",photo:l.img,logo:l.img&&l.img.includes("player-shadow")?"https://golstatsimages.blob.core.windows.net/images-library/logo-team@2x.png":"https://golstatsimages.blob.core.windows.net/teams-80/"+l.teamid+".png",name:l.name,player_short:l.name_short,player_id:l.id,categoryId:t.category,total:l.total}:{top:"01",logo:l.img,total:l.total,name_team:l.name,player_id:l.id},"category-name":t.categoryName,buttonMaxWidth:t.typeTable!=0?i.elementSize.width>360?"210px":"130px":i.elementSize.width>360?"180px":"110px",buttonFontSize:"12px",iconSize:"11px",onExpand:n.clickexpand,onMore:n.morestats},null,8,["type","type-data","game","arrow","team-widget","can-play-videos","is-expanded","data","category-name","buttonMaxWidth","onExpand","onMore"])):(s.openBlock(),s.createBlock(c,{key:1,"type-data":t.typeData,"team-widget":t.teamWidget,game:t.game,type:t.typeTable,"type-view":t.type,arrow:t.arrow,"is-expanded":e.playerexpand==l.id&&e.expand,onMediadata:a[1]||(a[1]=f=>n.emitEventMedia(f,t.category,t.categoryName)),data:t.typeTable==0?{position:l.top,player_name:l.name,player_short:l.name_short,player_photo:l.img,total:l.total,id:l.id,player_age:l.age,team_abrev:l.team,team_logo:l.img&&l.img.includes("player-shadow")?"https://golstatsimages.blob.core.windows.net/images-library/logo-team@2x.png":"https://golstatsimages.blob.core.windows.net/teams-80/"+l.teamid+".png",player_position:l.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+l.country+".jpg",player_games:l.minutes,player_min:l.games,league_name:" Liga MX "}:{position:l.top,team_logo:l.img,team_abrev:l.name,frequency:l.frecuency,promthistournament:l.game_avg,promlasttournament:l.game_avg_last_season,teams_games:"-",category:t.category,total:l.total,id:l.id},height:"71px","can-play-videos":t.canPlayVideos,background:m%2===0?t.backgroundEven:t.backgroundOdd,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","type","type-view","arrow","is-expanded","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==l.id?(s.openBlock(),s.createBlock(p,{key:2,type:t.typeTable,"is-live":t.game.is_live,"view-effectiveness":l.positionId!==1,data:t.typeTable==0?{teams:l.teamname,age:l.age,dataofbirth:l.date,nationality:l.nationality,countryFlag:l.player_country_flag,position:l.position,games:l.games,min:l.minutes,goals:l.total,effectiveness:l.effectiveness,category:t.categoryName,id:l.id}:{position:l.positiontable,goals:l.goals,goals_received:l.goalsrecived,games_played:l.games_played,category:t.categoryName,effectiveness:l.effectiveness,xg:l.xg,total:l.total,attendance:"-",id:l.id},onViewprofile:f=>n.viewprofile(f,l.teamid),background:m%2===0?t.backgroundEven:t.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):s.createCommentVNode("",!0)],64))),128))])):(s.openBlock(),s.createElementBlock("div",eo,[e.isloading?(s.openBlock(),s.createElementBlock("div",to,a[3]||(a[3]=[s.createElementVNode("div",{class:"overlay-loading-top__spinner"},[s.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),s.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1)]))):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[a[4]||(a[4]=s.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),a[5]||(a[5]=s.createElementVNode("div",{class:"container-no-search-result-subtitle"},[s.createTextVNode(" No existen resultados para este tipo de"),s.createElementVNode("br"),s.createTextVNode(" jugada, considerando el torneo y otros"),s.createElementVNode("br"),s.createTextVNode(" filtros que has seleccionado. ")],-1))],64))]))],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(d,{background:"#183143",type:t.typeTable},null,8,["type"]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.topData,(l,m)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:m},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.slice(0,t.numRows),(f,g)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:g},[s.createVNode(c,{"type-data":t.typeData,"team-widget":t.teamWidget,game:t.game,arrow:t.arrow,type:t.typeTable,"type-view":t.type,"can-play-videos":t.canPlayVideos,"is-expanded":e.playerexpand==f.id&&e.expand,onMediadata:a[2]||(a[2]=y=>n.emitEventMediaFullTable(y,t.category,t.categoryName)),data:t.typeTable==0?{position:f.top,player_name:f.name,player_short:f.name_short,player_photo:f.img,total:f.total,id:f.id,player_age:f.age,team_abrev:f.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+f.teamid+".png",player_position:f.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+f.country+".jpg",player_games:f.games,player_min:f.minutes,league_name:" Liga MX "}:{position:f.positiontable,team_logo:f.img,team_abrev:f.name,frequency:f.frecuency,promthistournament:f.game_avg,promlasttournament:f.game_avg_last_season,category:t.category,team_games:f.games_played,total:f.total,id:f.id},height:"71px",background:((m+1)*5+g)%2===0?t.backgroundOdd:t.backgroundEven,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","arrow","type","type-view","can-play-videos","is-expanded","data","background","onExpand"]),e.expand&&e.playerexpand==f.id?(s.openBlock(),s.createBlock(p,{key:0,type:t.typeTable,"is-live":t.game.is_live,additionalClass:"fullTable","view-effectiveness":f.positionId!==1,data:t.typeTable==0?{teams:f.teamname,age:f.age,dataofbirth:f.date,nationality:f.nationality,countryFlag:f.player_country_flag,position:f.positionfull,positionfull:f.positionfull,games:f.games,min:f.minutes,goals:f.total,effectiveness:f.effectiveness,category:n.getCategoryName(t.category),id:f.id}:{position:f.positiontable,goals:f.goals,goals_received:f.goalsrecived,games_played:f.games_played,category:t.categoryName,effectiveness:f.effectiveness,xg:f.xg,total:f.total,category:n.getCategoryName(t.category),attendance:"-",id:f.id},onViewprofile:y=>n.viewprofile(y,f.teamid),background:g%2===0?t.backgroundEven:t.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):s.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const ao=j(mt,[["render",so],["__scopeId","data-v-7eb96746"]]),me={YEAR:2,AGE_RANGE:3,NATIONALITY:4,POSITION:5,ELIGIBILITY:6},io=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},no={key:1},oo={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ro=["fill"],lo={key:0,class:"checkbox__teams"},co={class:"checkbox__teams__logo"},mo=["src"],po={class:"checkbox__teams__logo"},fo=["src"],ho={__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 t=e;s.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=s.ref(!1),o=s.computed(()=>{const d={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius,"margin-top":t.boxMarginTop};return i.value?(d["background-color"]=t.boxBackgroundColor,d.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):d.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,d}),n=s.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),r=s.computed(()=>{const d={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize,"white-space":t.labelWhiteSpace,"text-align":t.boxPosition==="top"||t.boxPosition==="bottom"?"center":t.boxPosition};return(t.boxPosition==="left"||t.boxPosition==="right")&&(d[`margin-${t.boxPosition}`]=t.isBoxOnly?"0":t.teamsIds?"8px":"10px"),d});s.watch(()=>t.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){t.avoidInteraction||!i.value&&t.avoidToCheck||(i.value=!i.value,a("update:modelValue",i.value))}function p(d){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${d}.png`}return(d,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[s.createElementVNode("div",{class:"checkbox__box",style:s.normalizeStyle(o.value)},[i.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t.boxValue?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox__box__value",style:s.normalizeStyle(n.value)},s.toDisplayString(e.boxValue),5)):(s.openBlock(),s.createElementBlock("div",no,[(s.openBlock(),s.createElementBlock("svg",oo,[s.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,ro)]))]))],64)):s.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(s.openBlock(),s.createElementBlock("div",lo,[s.createElementVNode("div",co,[s.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,mo)]),s.createElementVNode("div",po,[s.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,fo)])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"checkbox__label",style:s.normalizeStyle(r.value)},s.toDisplayString(e.label),5)],2))}},pt=io(ho,[["__scopeId","data-v-b6f124d8"]]),I=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},uo={PLAYS:"plays",PRODUCTIVITY:"productivity",FIELD:"field",UNIVERSE:"universe",DETAILS:"details",TOURNAMENTS:"tournaments",PERSONAL_DATA:"personalData",PLAYS_TYPES:"playsTypes",GOLSTATS:"golstats",DISTANCE:"distance",RESULTS:"results",RESULTS_BY_TIME:"resultsByTime",VIDEOS:"videos",GAMES:"games",TAKEN_CORNERS:"takenCorners",HOW_WAS_CORNER:"howWasCorner",ZONE:"zone",WHAT_HAPPENED:"whatHappened"},yo=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},ft={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))}}},Is=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Rs=ft.setup;ft.setup=Rs?(e,a)=>(Is(),Rs(e,a)):Is;const go=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),_o=["src"],bo={key:1,class:"text"},To=["src"],So={class:"stats"},wo=go(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Co={class:"numstats"},Eo={class:"leyend"};function ko(e,a,t,i,o,n){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",o.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([n.customStyle,o.status&&t.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,_o)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",bo,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,To)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.createElementVNode("div",So,[wo,s.createElementVNode("div",Co,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",Eo,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const No=yo(ft,[["render",ko],["__scopeId","data-v-f3ee6b2b"]]),xo={class:"gsc-dropdown__main-container__item-selected"},Vo=["height","width"],Po=["stroke"],Fo={key:1,width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bo=["fill"],Ao={class:"gsc-dropdown__items-container"},zo=["onClick"],Io={key:0,class:"gsc-dropdown__items-footer"},ht={__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"},listMarginTop:{type:String,default:"0"},listContainerPadding:{type:String,default:"0"},listItemPadding:{type:String,default:"10px 12px"},listItemMargin:{type:String,default:"0"},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},listItemBorderRadius:{type:String,default:"0"},listAlignment:{type:String,default:"left"},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},iconType:{type:Number,default:1,validator:function(e){return[1,2].includes(e)}}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const t=e,i=s.ref({}),o=s.ref(null),n=s.ref(t.isMultipleOption?-1:0),r=s.ref(!1);s.watch(()=>t.items,(g,y)=>{if(!t.modelValue&&(!t.onlyFirstTime||!y||!y.length)&&g&&g.length){if(t.defaultItemByProp){const _=t.items.findIndex(b=>b[t.defaultItemByProp.propName]===t.defaultItemByProp.value);_!==-1?(n.value=_,i.value=g[_]):(n.value=0,i.value=g[0])}else i.value=g[t.defaultItemByIndex];a("input",i.value)}},{immediate:!0}),s.watch(()=>t.modelValue,g=>{if(g){const y=t.items.findIndex(_=>typeof g=="object"?JSON.stringify(_)===JSON.stringify(g):_===g);y!==-1&&(n.value=y,i.value=t.items[y],a("update:modelValue",i.value))}},{immediate:!0});const c=s.computed(()=>({height:t.height,width:t.width,backgroundColor:t.backgroundColor,borderRadius:`${t.borderRadius}px`,border:`${t.borderType} ${t.borderWidth}px ${t.borderColor}`,color:t.color,"--hover-background-color":t.hoverBackgroundColor,"--list-container-padding":t.listContainerPadding,"--list-item-padding":t.listItemPadding,"--list-item-margin":t.listItemMargin,"--list-background-color":t.listBackgroundColor,"--list-height":t.listHeight,"--list-item-border-radius":t.listItemBorderRadius,"--list-item-selected-color":t.listItemSelectedColor,"--list-item-selected-background-color":t.listItemSelectedBackgroundColor,"--list-item-color":t.listItemColor,"--list-border-radius":`${t.listBorderRadius}`,"--list-border-color":t.listBorderColor,"--list-width":t.isListSameWidth?t.width:"fit-content","--list-border-width":`${t.listBorderWidth}px`,"--list-margin-top":t.listMarginTop,"--list-left":t.listAlignment==="left"?"0":"auto","--list-right":t.listAlignment==="right"?"0":"auto","--footer-border":`${t.footerBorderWidth}px solid ${t.footerBorderColor}`,"--dropdown-opacity":t.isDisabled?"0.5":"1","--dropdown-cursor":t.isDisabled?"not-allowed":"pointer","--dropdown-font-size":t.fontSize?t.fontSize:"14px"})),p=s.computed(()=>({height:`${t.arrowHeight}px`,width:`${t.arrowWidth}px`}));function d(){t.isDisabled||(r.value=!r.value)}function l(g){o.value&&!o.value.contains(g.target)&&(r.value=!1)}function m(g,y){t.isMultipleOption?n.value=-1:(n.value=y,r.value=!1),i.value=g,a("input",i.value),a("update:modelValue",i.value)}function f(){r.value=!1,a("click-ready")}return s.onMounted(()=>{document.addEventListener("click",l)}),s.onBeforeMount(()=>{document.removeEventListener("click",l)}),(g,y)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"dropDown",ref:o,class:"gsc-dropdown",style:s.normalizeStyle(c.value)},[s.createElementVNode("div",{class:"gsc-dropdown__main-container",style:s.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[s.createElementVNode("div",xo,[s.renderSlot(g.$slots,"default",{selectedItem:i.value})]),s.createElementVNode("div",{class:s.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:s.normalizeStyle(p.value)},[e.iconType===1?(s.openBlock(),s.createElementBlock("svg",{key:0,height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.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,Po)],8,Vo)):(s.openBlock(),s.createElementBlock("svg",Fo,[s.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,Bo)]))],6)],4),s.createVNode(s.Transition,null,{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("div",Ao,[s.createElementVNode("div",null,[s.createElementVNode("div",{class:"gsc-dropdown__items",style:s.normalizeStyle({"margin-top":`${t.borderWidth}px`})},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.items,(_,b)=>(s.openBlock(),s.createElementBlock("div",null,[s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["gsc-dropdown__items__item",{selected:b===n.value}]),key:b,onClick:S=>m(_,b)},[s.renderSlot(g.$slots,"availableItem",{item:_})],10,zo)),[[s.vShow,!_.isHidden]])]))),256))],4),e.isFooterVisible?(s.openBlock(),s.createElementBlock("div",Io,[s.createVNode(s.unref(No),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:f})])):s.createCommentVNode("",!0)])],512),[[s.vShow,r.value]])]),_:3})],4))}},ut={borderType:"solid",listBackgroundColor:"#2E3B46",listBorderColor:"rgba(255, 255, 255, 0.2)",listBorderRadius:"5px",height:"38px",borderWidth:.8,borderColor:"rgba(255, 255, 255, 0.2)",backgroundColor:"#2E3B46",color:"white",listItemColor:"white",listItemSelectedBackgroundColor:"#2E3B46",arrowColor:"#fff",width:"100%",listHeight:"200px",isListSameWidth:!0,isFooterVisible:!0,hoverBackgroundColor:"#2E3B46",iconType:2},Ro=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},yt={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))}}},Os=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Ls=yt.setup;yt.setup=Ls?(e,a)=>(Os(),Ls(e,a)):Os;const Oo=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),Lo=["src"],Go={key:1,class:"text"},Wo=["src"],Do={class:"stats"},Mo=Oo(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),$o={class:"numstats"},vo={class:"leyend"};function Uo(e,a,t,i,o,n){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",o.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([n.customStyle,o.status&&t.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Lo)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",Go,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Wo)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.createElementVNode("div",Do,[Mo,s.createElementVNode("div",$o,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",vo,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const jo=Ro(yt,[["render",Uo],["__scopeId","data-v-f3ee6b2b"]]),Jo=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},Ho={key:1},qo={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ko=["fill"],Zo={key:0,class:"checkbox__teams"},Yo={class:"checkbox__teams__logo"},Xo=["src"],Qo={class:"checkbox__teams__logo"},er=["src"],tr={__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 t=e;s.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=s.ref(!1),o=s.computed(()=>{const d={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius,"margin-top":t.boxMarginTop};return i.value?(d["background-color"]=t.boxBackgroundColor,d.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):d.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,d}),n=s.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),r=s.computed(()=>{const d={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize,"white-space":t.labelWhiteSpace,"text-align":t.boxPosition==="top"||t.boxPosition==="bottom"?"center":t.boxPosition};return(t.boxPosition==="left"||t.boxPosition==="right")&&(d[`margin-${t.boxPosition}`]=t.isBoxOnly?"0":t.teamsIds?"8px":"10px"),d});s.watch(()=>t.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){t.avoidInteraction||!i.value&&t.avoidToCheck||(i.value=!i.value,a("update:modelValue",i.value))}function p(d){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${d}.png`}return(d,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[s.createElementVNode("div",{class:"checkbox__box",style:s.normalizeStyle(o.value)},[i.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t.boxValue?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox__box__value",style:s.normalizeStyle(n.value)},s.toDisplayString(e.boxValue),5)):(s.openBlock(),s.createElementBlock("div",Ho,[(s.openBlock(),s.createElementBlock("svg",qo,[s.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,Ko)]))]))],64)):s.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(s.openBlock(),s.createElementBlock("div",Zo,[s.createElementVNode("div",Yo,[s.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,Xo)]),s.createElementVNode("div",Qo,[s.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,er)])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"checkbox__label",style:s.normalizeStyle(r.value)},s.toDisplayString(e.label),5)],2))}},sr=Jo(tr,[["__scopeId","data-v-b6f124d8"]]),ar=(e,a)=>{const t=e.__vccOpts||e;for(const[i,o]of a)t[i]=o;return t},gt={components:{GSCButton:jo,GSCCheckbox:sr},data(){return{update:0,all:!1,refreshBtn14:0,refreshBtn24:0,refreshBtn34:0,refreshBtn44:0,sectors:Array.from({length:16},(e,a)=>({sector:a+1,active:!1})),lastUpdatedValue:[]}},props:{backgroundColor:{type:String,default:"#2e3b46"},heightContainer:{type:String,default:"340px"},widthContainer:{type:String,default:"455px"},heightField:{type:Number,default:230},widthField:{type:Number,default:350},heightFieldGrid:{type:String,default:"230px"},widthFieldGrid:{type:String,default:"350px"},backgroundSectorActive:{type:String,default:"#cbee6b"},backgroundSectorDisabled:{type:String,default:"#2e3b46"},borderWidth:{type:Number,default:1},opacitySector:{type:Number,default:.5},borderColor:{type:String,default:"#FFFFFF"},colorLineField:{type:String,default:"#bfc2c5"},borderWidthLineField:{type:Number,default:2},value:{type:Array,default:()=>[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},title:{type:String,default:"Pase(s) desde la(s) zona(s):"},titleFontSize:{type:String,default:"14px"}},watch:{value:{deep:!0,immediate:!0,handler(e){const a=e.sort();JSON.stringify(a)!==JSON.stringify(this.lastUpdatedValue)&&(this.lastUpdatedValue=a,this.sectors.forEach((t,i)=>{t.active=e.includes(i+1),this.validateField(i)}),this.$emit("update:modelValue",e))}},sectors:{handler(e){var a=[];for(let t=0;t<e.length;t++)e[t].active&&a.push(t+1);this.$emit("update:modelValue",a)},deep:!0}},computed:{translx(){var e=0;return this.widthField>305?e=this.widthField-305:this.widthField==268&&(e=-36),e},transly(){var e=0;return this.heightField>195?(e=this.heightField-195,e=e/2):this.heightField==180&&(e=-7),e},translxcircle(){var e=0;return this.widthField>305?(e=this.widthField-305,e=e/2):this.widthField==268&&(e=-18),e}},methods:{clickAll(e){if(e){for(let a=0;a<this.sectors.length;a++)this.sectors[a].active=!0,this.validateField(a);this.status14=!0,this.status24=!0,this.status34=!0,this.status44=!0,this.refreshBtn14+=1,this.refreshBtn24+=1,this.refreshBtn34+=1,this.refreshBtn44+=1}else for(let a=0;a<this.sectors.length;a++)this.sectors[a].active=!1,this.validateField(a),this.status14=!1,this.status24=!1,this.status34=!1,this.status44=!1,this.refreshBtn14=0,this.refreshBtn24=0,this.refreshBtn34=0,this.refreshBtn44=0},selectSector(e){var a=0;this.sectors[e].active=!this.sectors[e].active;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0&&(this.sectors[e].active=!0),this.validateField(e)},btn14(e){this.sectors[0].active=e?this.sectors[0].active=!0:this.sectors[0].active=!1,this.sectors[1].active=e?this.sectors[1].active=!0:this.sectors[1].active=!1,this.sectors[2].active=e?this.sectors[2].active=!0:this.sectors[2].active=!1,this.sectors[3].active=e?this.sectors[3].active=!0:this.sectors[3].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[0].active=!0,this.sectors[1].active=!0,this.sectors[2].active=!0,this.sectors[3].active=!0,this.status14=!0,this.refreshBtn14+=1):this.status14=!1,a==16&&(this.all=!0,this.update+=1)},btn24(e){this.sectors[4].active=e?this.sectors[4].active=!0:this.sectors[4].active=!1,this.sectors[5].active=e?this.sectors[5].active=!0:this.sectors[5].active=!1,this.sectors[6].active=e?this.sectors[6].active=!0:this.sectors[6].active=!1,this.sectors[7].active=e?this.sectors[7].active=!0:this.sectors[7].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[4].active=!0,this.sectors[5].active=!0,this.sectors[6].active=!0,this.sectors[7].active=!0,this.status24=!0,this.refreshBtn24+=1):this.status24=!1,a==16&&(this.all=!0,this.update+=1)},btn34(e){this.sectors[8].active=e?this.sectors[8].active=!0:this.sectors[8].active=!1,this.sectors[9].active=e?this.sectors[9].active=!0:this.sectors[9].active=!1,this.sectors[10].active=e?this.sectors[10].active=!0:this.sectors[10].active=!1,this.sectors[11].active=e?this.sectors[11].active=!0:this.sectors[11].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[8].active=!0,this.sectors[9].active=!0,this.sectors[10].active=!0,this.sectors[11].active=!0,this.status34=!0,this.refreshBtn34+=1):this.status34=!1,a==16&&(this.all=!0,this.update+=1)},btn44(e){this.sectors[12].active=e?this.sectors[12].active=!0:this.sectors[12].active=!1,this.sectors[13].active=e?this.sectors[13].active=!0:this.sectors[13].active=!1,this.sectors[14].active=e?this.sectors[14].active=!0:this.sectors[14].active=!1,this.sectors[15].active=e?this.sectors[15].active=!0:this.sectors[15].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[12].active=!0,this.sectors[13].active=!0,this.sectors[14].active=!0,this.sectors[15].active=!0,this.status44=!0,this.refreshBtn44+=1):this.status44=!1,a==16&&(this.all=!0,this.update+=1)},validateField(e){(e===0||e===1||e===2||e===3)&&(this.status14=!!(this.sectors[0].active&&this.sectors[1].active&&this.sectors[2].active&&this.sectors[3].active)),(e===4||e===5||e===6||e===7)&&(this.status24=!!(this.sectors[4].active&&this.sectors[5].active&&this.sectors[6].active&&this.sectors[7].active)),(e===8||e===9||e===10||e===11)&&(this.status34=!!(this.sectors[8].active&&this.sectors[9].active&&this.sectors[10].active&&this.sectors[11].active)),(e===12||e===13||e===14||e===15)&&(this.status44=!!(this.sectors[12].active&&this.sectors[13].active&&this.sectors[14].active&&this.sectors[15].active)),this.all=!!(this.status14&&this.status34&&this.status24&&this.status44),this.update+=1,this.status14&&(this.refreshBtn14+=1),this.status24&&(this.refreshBtn24+=1),this.status34&&(this.refreshBtn34+=1),this.status44&&(this.refreshBtn44+=1)}}},Gs=()=>{s.useCssVars(e=>({"4fe806fe":e.widthContainer,"91de7c52":e.heightContainer,"266afcdc":e.backgroundColor,"2b853536":e.titleFontSize,"986b6446":e.widthFieldGrid,"1af308b6":e.heightFieldGrid}))},Ws=gt.setup;gt.setup=Ws?(e,a)=>(Gs(),Ws(e,a)):Gs;const ir={class:"gsc-field"},nr={class:"gsc-field__title-checked"},or={class:"gsc-field__title-checked__title"},rr={class:"gsc-field__container-field"},lr={class:"gsc-field__container-field__field"},cr={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},dr=["stroke"],mr=["stroke","stroke-width"],pr=["stroke","stroke-width"],fr=["stroke-width","stroke"],hr=["fill","fill-opacity","stroke","stroke-width"],ur=["fill","fill-opacity","stroke","stroke-width"],yr=["fill","fill-opacity","stroke","stroke-width"],gr=["fill","fill-opacity","stroke","stroke-width"],_r=["fill","fill-opacity","stroke","stroke-width"],br=["fill","fill-opacity","stroke","stroke-width"],Tr=["fill","fill-opacity","stroke","stroke-width"],Sr=["fill","fill-opacity","stroke","stroke-width"],wr=["fill","fill-opacity","stroke","stroke-width"],Cr=["fill","fill-opacity","stroke","stroke-width"],Er=["fill","fill-opacity","stroke","stroke-width"],kr=["fill","fill-opacity","stroke","stroke-width"],Nr=["fill","fill-opacity","stroke","stroke-width"],xr=["fill","fill-opacity","stroke","stroke-width"],Vr=["fill","fill-opacity","stroke","stroke-width"],Pr=["fill","fill-opacity","stroke","stroke-width"],Fr={class:"gsc-field__container-field__bar-buttons"};function Br(e,a,t,i,o,n){const r=s.resolveComponent("GSCCheckbox"),c=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",ir,[s.createElementVNode("div",nr,[s.createElementVNode("div",or,s.toDisplayString(t.title),1),s.createElementVNode("div",{class:"gsc-field__title-checked__check-cont",style:s.normalizeStyle(t.widthField>=350?"min-width: 123px":"")},[(s.openBlock(),s.createBlock(r,{label:t.widthField<350?"Todas":"Todas las zonas","font-family":"Poppins-Regular","box-value-font-family":"Poppins-Regular","box-position":"right","label-font-size":t.titleFontSize,"label-white-space":"nowrap","box-margin-top":"0.4em",value:o.all,key:o.update,"model-value":o.all,"onUpdate:modelValue":n.clickAll},null,8,["label","label-font-size","value","model-value","onUpdate:modelValue"]))],4)]),s.createElementVNode("div",rr,[s.createElementVNode("div",lr,[(s.openBlock(),s.createElementBlock("svg",cr,[s.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:t.colorLineField},null,8,dr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translate("+n.translx+"px, "+n.transly+"px);"),d:"M303.597 39.9799H263.371C262.817 39.9799 262.369 40.4301 262.371 40.984L262.842 155.176C262.845 155.726 263.292 156.172 263.842 156.172H302.884",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,mr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translateY("+n.transly+"px);"),class:"porteria1",d:"M1.09097 156.172L41.3162 156.172C41.8701 156.172 42.3185 155.722 42.3162 155.168L41.845 40.9758C41.8427 40.4252 41.3957 39.98 40.845 39.98L1.80338 39.98",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,pr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translate("+n.translxcircle+"px, "+n.transly+"px);"),class:"circle",d:"M182.911 97.4512C182.911 113.726 169.44 126.936 152.801 126.936C136.162 126.936 122.691 113.726 122.691 97.4512C122.691 81.1767 136.162 67.9662 152.801 67.9662C169.44 67.9662 182.911 81.1767 182.911 97.4512Z","stroke-width":t.borderWidthLineField,stroke:t.colorLineField},null,12,fr),s.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:o.sectors[0].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[0]||(a[0]=p=>n.selectSector(0))},null,8,hr),s.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:o.sectors[1].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[1]||(a[1]=p=>n.selectSector(1))},null,8,ur),s.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:o.sectors[2].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[2]||(a[2]=p=>n.selectSector(2))},null,8,yr),s.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:o.sectors[3].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[3]||(a[3]=p=>n.selectSector(3))},null,8,gr),s.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:o.sectors[4].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[4]||(a[4]=p=>n.selectSector(4))},null,8,_r),s.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:o.sectors[5].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[5]||(a[5]=p=>n.selectSector(5))},null,8,br),s.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:o.sectors[6].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[6]||(a[6]=p=>n.selectSector(6))},null,8,Tr),s.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:o.sectors[7].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[7]||(a[7]=p=>n.selectSector(7))},null,8,Sr),s.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:o.sectors[8].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[8]||(a[8]=p=>n.selectSector(8))},null,8,wr),s.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:o.sectors[9].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[9]||(a[9]=p=>n.selectSector(9))},null,8,Cr),s.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:o.sectors[10].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[10]||(a[10]=p=>n.selectSector(10))},null,8,Er),s.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:o.sectors[11].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[11]||(a[11]=p=>n.selectSector(11))},null,8,kr),s.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:o.sectors[12].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[12]||(a[12]=p=>n.selectSector(12))},null,8,Nr),s.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:o.sectors[13].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[13]||(a[13]=p=>n.selectSector(13))},null,8,xr),s.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:o.sectors[14].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[14]||(a[14]=p=>n.selectSector(14))},null,8,Vr),s.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:o.sectors[15].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[15]||(a[15]=p=>n.selectSector(15))},null,8,Pr)]))]),s.createElementVNode("div",Fr,[(s.openBlock(),s.createBlock(c,{"text-value":"1/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn14",onStatus:n.btn14,key:o.refreshBtn14,value:e.status14},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"2/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn24",onStatus:n.btn24,key:o.refreshBtn24,value:e.status24},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"3/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn34",onStatus:n.btn34,key:o.refreshBtn34,value:e.status34},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"4/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn44",onStatus:n.btn44,key:o.refreshBtn44,value:e.status44},null,8,["onStatus","value"]))])])])}const Ar=ar(gt,[["render",Br],["__scopeId","data-v-b85699b8"]]);function Ds(e,a){return function(){return e.apply(a,arguments)}}const{toString:zr}=Object.prototype,{getPrototypeOf:_t}=Object,{iterator:Ve,toStringTag:Ms}=Symbol,Pe=(e=>a=>{const t=zr.call(a);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),W=e=>(e=e.toLowerCase(),a=>Pe(a)===e),Fe=e=>a=>typeof a===e,{isArray:se}=Array,pe=Fe("undefined");function Ir(e){return e!==null&&!pe(e)&&e.constructor!==null&&!pe(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $s=W("ArrayBuffer");function Rr(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&$s(e.buffer),a}const Or=Fe("string"),R=Fe("function"),vs=Fe("number"),Be=e=>e!==null&&typeof e=="object",Lr=e=>e===!0||e===!1,Ae=e=>{if(Pe(e)!=="object")return!1;const a=_t(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Ms in e)&&!(Ve in e)},Gr=W("Date"),Wr=W("File"),Dr=W("Blob"),Mr=W("FileList"),$r=e=>Be(e)&&R(e.pipe),vr=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||R(e.append)&&((a=Pe(e))==="formdata"||a==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))},Ur=W("URLSearchParams"),[jr,Jr,Hr,qr]=["ReadableStream","Request","Response","Headers"].map(W),Kr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fe(e,a,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),se(e))for(i=0,o=e.length;i<o;i++)a.call(null,e[i],i,e);else{const n=t?Object.getOwnPropertyNames(e):Object.keys(e),r=n.length;let c;for(i=0;i<r;i++)c=n[i],a.call(null,e[c],c,e)}}function Us(e,a){a=a.toLowerCase();const t=Object.keys(e);let i=t.length,o;for(;i-- >0;)if(o=t[i],a===o.toLowerCase())return o;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,js=e=>!pe(e)&&e!==Y;function bt(){const{caseless:e}=js(this)&&this||{},a={},t=(i,o)=>{const n=e&&Us(a,o)||o;Ae(a[n])&&Ae(i)?a[n]=bt(a[n],i):Ae(i)?a[n]=bt({},i):se(i)?a[n]=i.slice():a[n]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&fe(arguments[i],t);return a}const Zr=(e,a,t,{allOwnKeys:i}={})=>(fe(a,(o,n)=>{t&&R(o)?e[n]=Ds(o,t):e[n]=o},{allOwnKeys:i}),e),Yr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Xr=(e,a,t,i)=>{e.prototype=Object.create(a.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),t&&Object.assign(e.prototype,t)},Qr=(e,a,t,i)=>{let o,n,r;const c={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),n=o.length;n-- >0;)r=o[n],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=t!==!1&&_t(e)}while(e&&(!t||t(e,a))&&e!==Object.prototype);return a},el=(e,a,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=a.length;const i=e.indexOf(a,t);return i!==-1&&i===t},tl=e=>{if(!e)return null;if(se(e))return e;let a=e.length;if(!vs(a))return null;const t=new Array(a);for(;a-- >0;)t[a]=e[a];return t},sl=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&_t(Uint8Array)),al=(e,a)=>{const t=(e&&e[Ve]).call(e);let i;for(;(i=t.next())&&!i.done;){const o=i.value;a.call(e,o[0],o[1])}},il=(e,a)=>{let t;const i=[];for(;(t=e.exec(a))!==null;)i.push(t);return i},nl=W("HTMLFormElement"),ol=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,t,i){return t.toUpperCase()+i}),Js=(({hasOwnProperty:e})=>(a,t)=>e.call(a,t))(Object.prototype),rl=W("RegExp"),Hs=(e,a)=>{const t=Object.getOwnPropertyDescriptors(e),i={};fe(t,(o,n)=>{let r;(r=a(o,n,e))!==!1&&(i[n]=r||o)}),Object.defineProperties(e,i)},ll=e=>{Hs(e,(a,t)=>{if(R(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=e[t];if(R(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},cl=(e,a)=>{const t={},i=o=>{o.forEach(n=>{t[n]=!0})};return se(e)?i(e):i(String(e).split(a)),t},dl=()=>{},ml=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function pl(e){return!!(e&&R(e.append)&&e[Ms]==="FormData"&&e[Ve])}const fl=e=>{const a=new Array(10),t=(i,o)=>{if(Be(i)){if(a.indexOf(i)>=0)return;if(!("toJSON"in i)){a[o]=i;const n=se(i)?[]:{};return fe(i,(r,c)=>{const p=t(r,o+1);!pe(p)&&(n[c]=p)}),a[o]=void 0,n}}return i};return t(e,0)},hl=W("AsyncFunction"),ul=e=>e&&(Be(e)||R(e))&&R(e.then)&&R(e.catch),qs=((e,a)=>e?setImmediate:a?((t,i)=>(Y.addEventListener("message",({source:o,data:n})=>{o===Y&&n===t&&i.length&&i.shift()()},!1),o=>{i.push(o),Y.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",R(Y.postMessage)),yl=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||qs,gl=e=>e!=null&&R(e[Ve]),u={isArray:se,isArrayBuffer:$s,isBuffer:Ir,isFormData:vr,isArrayBufferView:Rr,isString:Or,isNumber:vs,isBoolean:Lr,isObject:Be,isPlainObject:Ae,isReadableStream:jr,isRequest:Jr,isResponse:Hr,isHeaders:qr,isUndefined:pe,isDate:Gr,isFile:Wr,isBlob:Dr,isRegExp:rl,isFunction:R,isStream:$r,isURLSearchParams:Ur,isTypedArray:sl,isFileList:Mr,forEach:fe,merge:bt,extend:Zr,trim:Kr,stripBOM:Yr,inherits:Xr,toFlatObject:Qr,kindOf:Pe,kindOfTest:W,endsWith:el,toArray:tl,forEachEntry:al,matchAll:il,isHTMLForm:nl,hasOwnProperty:Js,hasOwnProp:Js,reduceDescriptors:Hs,freezeMethods:ll,toObjectSet:cl,toCamelCase:ol,noop:dl,toFiniteNumber:ml,findKey:Us,global:Y,isContextDefined:js,isSpecCompliantForm:pl,toJSONObject:fl,isAsyncFn:hl,isThenable:ul,setImmediate:qs,asap:yl,isIterable:gl};function C(e,a,t,i,o){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),t&&(this.config=t),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}u.inherits(C,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:u.toJSONObject(this.config),code:this.code,status:this.status}}});const Ks=C.prototype,Zs={};["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=>{Zs[e]={value:e}}),Object.defineProperties(C,Zs),Object.defineProperty(Ks,"isAxiosError",{value:!0}),C.from=(e,a,t,i,o,n)=>{const r=Object.create(Ks);return u.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),C.call(r,e.message,a,t,i,o),r.cause=e,r.name=e.name,n&&Object.assign(r,n),r};const _l=null;function Tt(e){return u.isPlainObject(e)||u.isArray(e)}function Ys(e){return u.endsWith(e,"[]")?e.slice(0,-2):e}function Xs(e,a,t){return e?e.concat(a).map(function(i,o){return i=Ys(i),!t&&o?"["+i+"]":i}).join(t?".":""):a}function bl(e){return u.isArray(e)&&!e.some(Tt)}const Tl=u.toFlatObject(u,{},null,function(e){return/^is[A-Z]/.test(e)});function ze(e,a,t){if(!u.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,t=u.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!u.isUndefined(y[g])});const i=t.metaTokens,o=t.visitor||d,n=t.dots,r=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&u.isSpecCompliantForm(a);if(!u.isFunction(o))throw new TypeError("visitor must be a function");function p(g){if(g===null)return"";if(u.isDate(g))return g.toISOString();if(!c&&u.isBlob(g))throw new C("Blob is not supported. Use a Buffer instead.");return u.isArrayBuffer(g)||u.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,_){let b=g;if(g&&!_&&typeof g=="object"){if(u.endsWith(y,"{}"))y=i?y:y.slice(0,-2),g=JSON.stringify(g);else if(u.isArray(g)&&bl(g)||(u.isFileList(g)||u.endsWith(y,"[]"))&&(b=u.toArray(g)))return y=Ys(y),b.forEach(function(S,T){!(u.isUndefined(S)||S===null)&&a.append(r===!0?Xs([y],T,n):r===null?y:y+"[]",p(S))}),!1}return Tt(g)?!0:(a.append(Xs(_,y,n),p(g)),!1)}const l=[],m=Object.assign(Tl,{defaultVisitor:d,convertValue:p,isVisitable:Tt});function f(g,y){if(!u.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),u.forEach(g,function(_,b){(!(u.isUndefined(_)||_===null)&&o.call(a,_,u.isString(b)?b.trim():b,y,m))===!0&&f(_,y?y.concat(b):[b])}),l.pop()}}if(!u.isObject(e))throw new TypeError("data must be an object");return f(e),a}function Qs(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(t){return a[t]})}function St(e,a){this._pairs=[],e&&ze(e,this,a)}const ea=St.prototype;ea.append=function(e,a){this._pairs.push([e,a])},ea.toString=function(e){const a=e?function(t){return e.call(this,t,Qs)}:Qs;return this._pairs.map(function(t){return a(t[0])+"="+a(t[1])},"").join("&")};function Sl(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ta(e,a,t){if(!a)return e;const i=t&&t.encode||Sl;u.isFunction(t)&&(t={serialize:t});const o=t&&t.serialize;let n;if(o?n=o(a,t):n=u.isURLSearchParams(a)?a.toString():new St(a,t).toString(i),n){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class wl{constructor(){this.handlers=[]}use(a,t,i){return this.handlers.push({fulfilled:a,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){u.forEach(this.handlers,function(t){t!==null&&a(t)})}}const sa=wl,aa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cl=typeof URLSearchParams<"u"?URLSearchParams:St,El=typeof FormData<"u"?FormData:null,kl=typeof Blob<"u"?Blob:null,Nl={isBrowser:!0,classes:{URLSearchParams:Cl,FormData:El,Blob:kl},protocols:["http","https","file","blob","url","data"]},wt=typeof window<"u"&&typeof document<"u",Ct=typeof navigator=="object"&&navigator||void 0,xl=wt&&(!Ct||["ReactNative","NativeScript","NS"].indexOf(Ct.product)<0),Vl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pl=wt&&window.location.href||"http://localhost",Fl=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wt,hasStandardBrowserEnv:xl,hasStandardBrowserWebWorkerEnv:Vl,navigator:Ct,origin:Pl},Symbol.toStringTag,{value:"Module"})),B={...Fl,...Nl};function Bl(e,a){return ze(e,new B.classes.URLSearchParams,Object.assign({visitor:function(t,i,o,n){return B.isNode&&u.isBuffer(t)?(this.append(i,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))}function Al(e){return u.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function zl(e){const a={},t=Object.keys(e);let i;const o=t.length;let n;for(i=0;i<o;i++)n=t[i],a[n]=e[n];return a}function ia(e){function a(t,i,o,n){let r=t[n++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=n>=t.length;return r=!r&&u.isArray(o)?o.length:r,p?(u.hasOwnProp(o,r)?o[r]=[o[r],i]:o[r]=i,!c):((!o[r]||!u.isObject(o[r]))&&(o[r]=[]),a(t,i,o[r],n)&&u.isArray(o[r])&&(o[r]=zl(o[r])),!c)}if(u.isFormData(e)&&u.isFunction(e.entries)){const t={};return u.forEachEntry(e,(i,o)=>{a(Al(i),o,t,0)}),t}return null}function Il(e,a,t){if(u.isString(e))try{return(a||JSON.parse)(e),u.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}const Et={transitional:aa,adapter:["xhr","http","fetch"],transformRequest:[function(e,a){const t=a.getContentType()||"",i=t.indexOf("application/json")>-1,o=u.isObject(e);if(o&&u.isHTMLForm(e)&&(e=new FormData(e)),u.isFormData(e))return i?JSON.stringify(ia(e)):e;if(u.isArrayBuffer(e)||u.isBuffer(e)||u.isStream(e)||u.isFile(e)||u.isBlob(e)||u.isReadableStream(e))return e;if(u.isArrayBufferView(e))return e.buffer;if(u.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let n;if(o){if(t.indexOf("application/x-www-form-urlencoded")>-1)return Bl(e,this.formSerializer).toString();if((n=u.isFileList(e))||t.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return ze(n?{"files[]":e}:e,r&&new r,this.formSerializer)}}return o||i?(a.setContentType("application/json",!1),Il(e)):e}],transformResponse:[function(e){const a=this.transitional||Et.transitional,t=a&&a.forcedJSONParsing,i=this.responseType==="json";if(u.isResponse(e)||u.isReadableStream(e))return e;if(e&&u.isString(e)&&(t&&!this.responseType||i)){const o=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(n){if(o)throw n.name==="SyntaxError"?C.from(n,C.ERR_BAD_RESPONSE,this,null,this.response):n}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B.classes.FormData,Blob:B.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};u.forEach(["delete","get","head","post","put","patch"],e=>{Et.headers[e]={}});const kt=Et,Rl=u.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"]),Ol=e=>{const a={};let t,i,o;return e&&e.split(`
|
|
7
|
+
`).forEach(function(n){o=n.indexOf(":"),t=n.substring(0,o).trim().toLowerCase(),i=n.substring(o+1).trim(),!(!t||a[t]&&Rl[t])&&(t==="set-cookie"?a[t]?a[t].push(i):a[t]=[i]:a[t]=a[t]?a[t]+", "+i:i)}),a},na=Symbol("internals");function he(e){return e&&String(e).trim().toLowerCase()}function Ie(e){return e===!1||e==null?e:u.isArray(e)?e.map(Ie):String(e)}function Ll(e){const a=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=t.exec(e);)a[i[1]]=i[2];return a}const Gl=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Nt(e,a,t,i,o){if(u.isFunction(i))return i.call(this,a,t);if(o&&(a=t),!!u.isString(a)){if(u.isString(i))return a.indexOf(i)!==-1;if(u.isRegExp(i))return i.test(a)}}function Wl(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,t,i)=>t.toUpperCase()+i)}function Dl(e,a){const t=u.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+t,{value:function(o,n,r){return this[i].call(this,a,o,n,r)},configurable:!0})})}class Re{constructor(a){a&&this.set(a)}set(a,t,i){const o=this;function n(c,p,d){const l=he(p);if(!l)throw new Error("header name must be a non-empty string");const m=u.findKey(o,l);(!m||o[m]===void 0||d===!0||d===void 0&&o[m]!==!1)&&(o[m||p]=Ie(c))}const r=(c,p)=>u.forEach(c,(d,l)=>n(d,l,p));if(u.isPlainObject(a)||a instanceof this.constructor)r(a,t);else if(u.isString(a)&&(a=a.trim())&&!Gl(a))r(Ol(a),t);else if(u.isObject(a)&&u.isIterable(a)){let c={},p,d;for(const l of a){if(!u.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[d=l[0]]=(p=c[d])?u.isArray(p)?[...p,l[1]]:[p,l[1]]:l[1]}r(c,t)}else a!=null&&n(t,a,i);return this}get(a,t){if(a=he(a),a){const i=u.findKey(this,a);if(i){const o=this[i];if(!t)return o;if(t===!0)return Ll(o);if(u.isFunction(t))return t.call(this,o,i);if(u.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,t){if(a=he(a),a){const i=u.findKey(this,a);return!!(i&&this[i]!==void 0&&(!t||Nt(this,this[i],i,t)))}return!1}delete(a,t){const i=this;let o=!1;function n(r){if(r=he(r),r){const c=u.findKey(i,r);c&&(!t||Nt(i,i[c],c,t))&&(delete i[c],o=!0)}}return u.isArray(a)?a.forEach(n):n(a),o}clear(a){const t=Object.keys(this);let i=t.length,o=!1;for(;i--;){const n=t[i];(!a||Nt(this,this[n],n,a,!0))&&(delete this[n],o=!0)}return o}normalize(a){const t=this,i={};return u.forEach(this,(o,n)=>{const r=u.findKey(i,n);if(r){t[r]=Ie(o),delete t[n];return}const c=a?Wl(n):String(n).trim();c!==n&&delete t[n],t[c]=Ie(o),i[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const t=Object.create(null);return u.forEach(this,(i,o)=>{i!=null&&i!==!1&&(t[o]=a&&u.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,t])=>a+": "+t).join(`
|
|
8
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...t){const i=new this(a);return t.forEach(o=>i.set(o)),i}static accessor(a){const t=(this[na]=this[na]={accessors:{}}).accessors,i=this.prototype;function o(n){const r=he(n);t[r]||(Dl(i,n),t[r]=!0)}return u.isArray(a)?a.forEach(o):o(a),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),u.reduceDescriptors(Re.prototype,({value:e},a)=>{let t=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[t]=i}}}),u.freezeMethods(Re);const D=Re;function xt(e,a){const t=this||kt,i=a||t,o=D.from(i.headers);let n=i.data;return u.forEach(e,function(r){n=r.call(t,n,o.normalize(),a?a.status:void 0)}),o.normalize(),n}function oa(e){return!!(e&&e.__CANCEL__)}function ae(e,a,t){C.call(this,e??"canceled",C.ERR_CANCELED,a,t),this.name="CanceledError"}u.inherits(ae,C,{__CANCEL__:!0});function ra(e,a,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?e(t):a(new C("Request failed with status code "+t.status,[C.ERR_BAD_REQUEST,C.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Ml(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function $l(e,a){e=e||10;const t=new Array(e),i=new Array(e);let o=0,n=0,r;return a=a!==void 0?a:1e3,function(c){const p=Date.now(),d=i[n];r||(r=p),t[o]=c,i[o]=p;let l=n,m=0;for(;l!==o;)m+=t[l++],l=l%e;if(o=(o+1)%e,o===n&&(n=(n+1)%e),p-r<a)return;const f=d&&p-d;return f?Math.round(m*1e3/f):void 0}}function vl(e,a){let t=0,i=1e3/a,o,n;const r=(c,p=Date.now())=>{t=p,o=null,n&&(clearTimeout(n),n=null),e.apply(null,c)};return[(...c)=>{const p=Date.now(),d=p-t;d>=i?r(c,p):(o=c,n||(n=setTimeout(()=>{n=null,r(o)},i-d)))},()=>o&&r(o)]}const Oe=(e,a,t=3)=>{let i=0;const o=$l(50,250);return vl(n=>{const r=n.loaded,c=n.lengthComputable?n.total:void 0,p=r-i,d=o(p),l=r<=c;i=r;const m={loaded:r,total:c,progress:c?r/c:void 0,bytes:p,rate:d||void 0,estimated:d&&c&&l?(c-r)/d:void 0,event:n,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},t)},la=(e,a)=>{const t=e!=null;return[i=>a[0]({lengthComputable:t,total:e,loaded:i}),a[1]]},ca=e=>(...a)=>u.asap(()=>e(...a)),Ul=B.hasStandardBrowserEnv?((e,a)=>t=>(t=new URL(t,B.origin),e.protocol===t.protocol&&e.host===t.host&&(a||e.port===t.port)))(new URL(B.origin),B.navigator&&/(msie|trident)/i.test(B.navigator.userAgent)):()=>!0,jl=B.hasStandardBrowserEnv?{write(e,a,t,i,o,n){const r=[e+"="+encodeURIComponent(a)];u.isNumber(t)&&r.push("expires="+new Date(t).toGMTString()),u.isString(i)&&r.push("path="+i),u.isString(o)&&r.push("domain="+o),n===!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 Jl(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Hl(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function da(e,a,t){let i=!Jl(a);return e&&(i||t==!1)?Hl(e,a):a}const ma=e=>e instanceof D?{...e}:e;function X(e,a){a=a||{};const t={};function i(d,l,m,f){return u.isPlainObject(d)&&u.isPlainObject(l)?u.merge.call({caseless:f},d,l):u.isPlainObject(l)?u.merge({},l):u.isArray(l)?l.slice():l}function o(d,l,m,f){if(u.isUndefined(l)){if(!u.isUndefined(d))return i(void 0,d,m,f)}else return i(d,l,m,f)}function n(d,l){if(!u.isUndefined(l))return i(void 0,l)}function r(d,l){if(u.isUndefined(l)){if(!u.isUndefined(d))return i(void 0,d)}else return i(void 0,l)}function c(d,l,m){if(m in a)return i(d,l);if(m in e)return i(void 0,d)}const p={url:n,method:n,data:n,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,m)=>o(ma(d),ma(l),m,!0)};return u.forEach(Object.keys(Object.assign({},e,a)),function(d){const l=p[d]||o,m=l(e[d],a[d],d);u.isUndefined(m)&&l!==c||(t[d]=m)}),t}const pa=e=>{const a=X({},e);let{data:t,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:n,headers:r,auth:c}=a;a.headers=r=D.from(r),a.url=ta(da(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let p;if(u.isFormData(t)){if(B.hasStandardBrowserEnv||B.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((p=r.getContentType())!==!1){const[d,...l]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];r.setContentType([d||"multipart/form-data",...l].join("; "))}}if(B.hasStandardBrowserEnv&&(i&&u.isFunction(i)&&(i=i(a)),i||i!==!1&&Ul(a.url))){const d=o&&n&&jl.read(n);d&&r.set(o,d)}return a},ql=typeof XMLHttpRequest<"u",Kl=ql&&function(e){return new Promise(function(a,t){const i=pa(e);let o=i.data;const n=D.from(i.headers).normalize();let{responseType:r,onUploadProgress:c,onDownloadProgress:p}=i,d,l,m,f,g;function y(){f&&f(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function b(){if(!_)return;const T=D.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),E={data:!r||r==="text"||r==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:T,config:e,request:_};ra(function(V){a(V),y()},function(V){t(V),y()},E),_=null}"onloadend"in _?_.onloadend=b:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(b)},_.onabort=function(){_&&(t(new C("Request aborted",C.ECONNABORTED,e,_)),_=null)},_.onerror=function(){t(new C("Network Error",C.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||aa;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),t(new C(T,E.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,e,_)),_=null},o===void 0&&n.setContentType(null),"setRequestHeader"in _&&u.forEach(n.toJSON(),function(T,E){_.setRequestHeader(E,T)}),u.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),r&&r!=="json"&&(_.responseType=i.responseType),p&&([m,g]=Oe(p,!0),_.addEventListener("progress",m)),c&&_.upload&&([l,f]=Oe(c),_.upload.addEventListener("progress",l),_.upload.addEventListener("loadend",f)),(i.cancelToken||i.signal)&&(d=T=>{_&&(t(!T||T.type?new ae(null,e,_):T),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const S=Ml(i.url);if(S&&B.protocols.indexOf(S)===-1){t(new C("Unsupported protocol "+S+":",C.ERR_BAD_REQUEST,e));return}_.send(o||null)})},Zl=(e,a)=>{const{length:t}=e=e?e.filter(Boolean):[];if(a||t){let i=new AbortController,o;const n=function(d){if(!o){o=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof C?l:new ae(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,n(new C(`timeout ${a} of ms exceeded`,C.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(n):d.removeEventListener("abort",n)}),e=null)};e.forEach(d=>d.addEventListener("abort",n));const{signal:p}=i;return p.unsubscribe=()=>u.asap(c),p}},Yl=Zl,Xl=function*(e,a){let t=e.byteLength;if(t<a){yield e;return}let i=0,o;for(;i<t;)o=i+a,yield e.slice(i,o),i=o},Ql=async function*(e,a){for await(const t of ec(e))yield*Xl(t,a)},ec=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:t,value:i}=await a.read();if(t)break;yield i}}finally{await a.cancel()}},fa=(e,a,t,i)=>{const o=Ql(e,a);let n=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await o.next();if(d){c(),p.close();return}let m=l.byteLength;if(t){let f=n+=m;t(f)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),o.return()}},{highWaterMark:2})},Le=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ha=Le&&typeof ReadableStream=="function",tc=Le&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ua=(e,...a)=>{try{return!!e(...a)}catch{return!1}},sc=ha&&ua(()=>{let e=!1;const a=new Request(B.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),ya=64*1024,Vt=ha&&ua(()=>u.isReadableStream(new Response("").body)),Ge={stream:Vt&&(e=>e.body)};Le&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!Ge[a]&&(Ge[a]=u.isFunction(e[a])?t=>t[a]():(t,i)=>{throw new C(`Response type '${a}' is not supported`,C.ERR_NOT_SUPPORT,i)})})})(new Response);const ac=async e=>{if(e==null)return 0;if(u.isBlob(e))return e.size;if(u.isSpecCompliantForm(e))return(await new Request(B.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(u.isArrayBufferView(e)||u.isArrayBuffer(e))return e.byteLength;if(u.isURLSearchParams(e)&&(e=e+""),u.isString(e))return(await tc(e)).byteLength},ic=async(e,a)=>u.toFiniteNumber(e.getContentLength())??ac(a),nc=Le&&(async e=>{let{url:a,method:t,data:i,signal:o,cancelToken:n,timeout:r,onDownloadProgress:c,onUploadProgress:p,responseType:d,headers:l,withCredentials:m="same-origin",fetchOptions:f}=pa(e);d=d?(d+"").toLowerCase():"text";let g=Yl([o,n&&n.toAbortSignal()],r),y;const _=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let b;try{if(p&&sc&&t!=="get"&&t!=="head"&&(b=await ic(l,i))!==0){let N=new Request(a,{method:"POST",body:i,duplex:"half"}),P;if(u.isFormData(i)&&(P=N.headers.get("content-type"))&&l.setContentType(P),N.body){const[L,U]=la(b,Oe(ca(p)));i=fa(N.body,ya,L,U)}}u.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;y=new Request(a,{...f,signal:g,method:t.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?m:void 0});let T=await fetch(y);const E=Vt&&(d==="stream"||d==="response");if(Vt&&(c||E&&_)){const N={};["status","statusText","headers"].forEach(ue=>{N[ue]=T[ue]});const P=u.toFiniteNumber(T.headers.get("content-length")),[L,U]=c&&la(P,Oe(ca(c),!0))||[];T=new Response(fa(T.body,ya,L,()=>{U&&U(),_&&_()}),N)}d=d||"text";let V=await Ge[u.findKey(Ge,d)||"text"](T,e);return!E&&_&&_(),await new Promise((N,P)=>{ra(N,P,{data:V,headers:D.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(S){throw _&&_(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new C("Network Error",C.ERR_NETWORK,e,y),{cause:S.cause||S}):C.from(S,S&&S.code,e,y)}}),Pt={http:_l,xhr:Kl,fetch:nc};u.forEach(Pt,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const ga=e=>`- ${e}`,oc=e=>u.isFunction(e)||e===null||e===!1,_a={getAdapter:e=>{e=u.isArray(e)?e:[e];const{length:a}=e;let t,i;const o={};for(let n=0;n<a;n++){t=e[n];let r;if(i=t,!oc(t)&&(i=Pt[(r=String(t)).toLowerCase()],i===void 0))throw new C(`Unknown adapter '${r}'`);if(i)break;o[r||"#"+n]=i}if(!i){const n=Object.entries(o).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=a?n.length>1?`since :
|
|
9
|
+
`+n.map(ga).join(`
|
|
10
|
+
`):" "+ga(n[0]):"as no adapter specified";throw new C("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:Pt};function Ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ae(null,e)}function ba(e){return Ft(e),e.headers=D.from(e.headers),e.data=xt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_a.getAdapter(e.adapter||kt.adapter)(e).then(function(a){return Ft(e),a.data=xt.call(e,e.transformResponse,a),a.headers=D.from(a.headers),a},function(a){return oa(a)||(Ft(e),a&&a.response&&(a.response.data=xt.call(e,e.transformResponse,a.response),a.response.headers=D.from(a.response.headers))),Promise.reject(a)})}const Ta="1.9.0",We={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{We[e]=function(t){return typeof t===e||"a"+(a<1?"n ":" ")+e}});const Sa={};We.transitional=function(e,a,t){function i(o,n){return"[Axios v"+Ta+"] Transitional option '"+o+"'"+n+(t?". "+t:"")}return(o,n,r)=>{if(e===!1)throw new C(i(n," has been removed"+(a?" in "+a:"")),C.ERR_DEPRECATED);return a&&!Sa[n]&&(Sa[n]=!0,console.warn(i(n," has been deprecated since v"+a+" and will be removed in the near future"))),e?e(o,n,r):!0}},We.spelling=function(e){return(a,t)=>(console.warn(`${t} is likely a misspelling of ${e}`),!0)};function rc(e,a,t){if(typeof e!="object")throw new C("options must be an object",C.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const n=i[o],r=a[n];if(r){const c=e[n],p=c===void 0||r(c,n,e);if(p!==!0)throw new C("option "+n+" must be "+p,C.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new C("Unknown option "+n,C.ERR_BAD_OPTION)}}const De={assertOptions:rc,validators:We},$=De.validators;class Me{constructor(a){this.defaults=a||{},this.interceptors={request:new sa,response:new sa}}async request(a,t){try{return await this._request(a,t)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const n=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?n&&!String(i.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(i.stack+=`
|
|
11
|
+
`+n):i.stack=n}catch{}}throw i}}_request(a,t){typeof a=="string"?(t=t||{},t.url=a):t=a||{},t=X(this.defaults,t);const{transitional:i,paramsSerializer:o,headers:n}=t;i!==void 0&&De.assertOptions(i,{silentJSONParsing:$.transitional($.boolean),forcedJSONParsing:$.transitional($.boolean),clarifyTimeoutError:$.transitional($.boolean)},!1),o!=null&&(u.isFunction(o)?t.paramsSerializer={serialize:o}:De.assertOptions(o,{encode:$.function,serialize:$.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),De.assertOptions(t,{baseUrl:$.spelling("baseURL"),withXsrfToken:$.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=n&&u.merge(n.common,n[t.method]);n&&u.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),t.headers=D.concat(r,n);const c=[];let p=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(t)===!1||(p=p&&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,f;if(!p){const y=[ba.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),f=y.length,l=Promise.resolve(t);m<f;)l=l.then(y[m++],y[m++]);return l}f=c.length;let g=t;for(m=0;m<f;){const y=c[m++],_=c[m++];try{g=y(g)}catch(b){_.call(this,b);break}}try{l=ba.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,f=d.length;m<f;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=X(this.defaults,a);const t=da(a.baseURL,a.url,a.allowAbsoluteUrls);return ta(t,a.params,a.paramsSerializer)}}u.forEach(["delete","get","head","options"],function(e){Me.prototype[e]=function(a,t){return this.request(X(t||{},{method:e,url:a,data:(t||{}).data}))}}),u.forEach(["post","put","patch"],function(e){function a(t){return function(i,o,n){return this.request(X(n||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Me.prototype[e]=a(),Me.prototype[e+"Form"]=a(!0)});const $e=Me;class Bt{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(o){t=o});const i=this;this.promise.then(o=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](o);i._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(c=>{i.subscribe(c),n=c}).then(o);return r.cancel=function(){i.unsubscribe(n)},r},a(function(o,n,r){i.reason||(i.reason=new ae(o,n,r),t(i.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 t=this._listeners.indexOf(a);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const a=new AbortController,t=i=>{a.abort(i)};return this.subscribe(t),a.signal.unsubscribe=()=>this.unsubscribe(t),a.signal}static source(){let a;return{token:new Bt(function(t){a=t}),cancel:a}}}const lc=Bt;function cc(e){return function(a){return e.apply(null,a)}}function dc(e){return u.isObject(e)&&e.isAxiosError===!0}const At={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(At).forEach(([e,a])=>{At[a]=e});const mc=At;function wa(e){const a=new $e(e),t=Ds($e.prototype.request,a);return u.extend(t,$e.prototype,a,{allOwnKeys:!0}),u.extend(t,a,null,{allOwnKeys:!0}),t.create=function(i){return wa(X(e,i))},t}const x=wa(kt);x.Axios=$e,x.CanceledError=ae,x.CancelToken=lc,x.isCancel=oa,x.VERSION=Ta,x.toFormData=ze,x.AxiosError=C,x.Cancel=x.CanceledError,x.all=function(e){return Promise.all(e)},x.spread=cc,x.isAxiosError=dc,x.mergeConfig=X,x.AxiosHeaders=D,x.formToJSON=e=>ia(u.isHTMLForm(e)?new FormData(e):e),x.getAdapter=_a.getAdapter,x.HttpStatusCode=mc,x.default=x,Array.from({length:30},(e,a)=>1981+a).sort((e,a)=>a-e);const pc={__name:"SwitchCustom",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,i=s.ref(null);s.watch(()=>t.modelValue,()=>{o()},{immediate:!0});function o(){i.value&&(i.value.checked=t.modelValue)}function n(r){a("update:modelValue",r.target.checked)}return s.onMounted(()=>{o()}),(r,c)=>(s.openBlock(),s.createElementBlock("input",{ref_key:"switchCustom",ref:i,id:"toggle",class:"toggle",type:"checkbox",role:"switch",name:"toggle",onInput:n},null,544))}},zt=I(pc,[["__scopeId","data-v-e3a6ae4e"]]),fc={__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:""},activeFontColor:{type:String,default:""},fontColor:{type:String,default:"#000000"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular, sans-serif"},isActive:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:a}){const t=e,i=s.computed(()=>({"--height":t.height,"--width":t.width,"--padding":t.padding,"--border-radius":t.borderRadius,"--border":`solid ${t.borderWidth} ${t.borderColor}`,"--background-color":t.backgroundColor,"--font-color":t.fontColor,"--font-size":t.fontSize,"--font-family":t.fontFamily,"--active-background-color":t.activeBackgroundColor||t.backgroundColor,"--active-border-color":t.activeBorderColor||t.borderColor,"--active-font-color":t.activeFontColor||t.fontColor}));function o(){a("click")}return(n,r)=>(s.openBlock(),s.createElementBlock("button",{class:s.normalizeClass(["button",{active:e.isActive}]),style:s.normalizeStyle(i.value),onClick:o},s.toDisplayString(e.text),7))}},ve=I(fc,[["__scopeId","data-v-9688933e"]]),hc={class:"dropdown"},uc={class:"selected-item"},yc={__name:"DropdownTextOnly",props:{items:{type:Array,default:()=>[]},itemTextKey:{type:String,default:""},isListSameWidth:{type:Boolean,default:!0}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",hc,[s.createVNode(s.unref(ht),s.mergeProps(s.unref(ut),{"is-list-same-width":e.isListSameWidth,items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:n})=>[s.createElementVNode("div",uc,s.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),availableItem:s.withCtx(({item:n})=>[s.createElementVNode("div",null,s.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),_:1},16,["is-list-same-width","items"])]))}},O=I(yc,[["__scopeId","data-v-064d5f86"]]),gc={class:"dropdown"},_c={class:"game-item"},bc={key:0,class:"item-game"},Tc={class:"match-day"},Sc={class:"team-logo"},wc=["src"],Cc={class:"text"},Ec={class:"text score"},kc={class:"text"},Nc={class:"team-logo"},xc=["src"],Vc={class:"item-game"},Pc={class:"team-logo"},Fc=["src"],Bc={class:"text"},Ac={class:"text score"},zc={class:"text"},Ic={class:"team-logo"},Rc=["src"],Oc={__name:"DropdownGame",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",gc,[s.createVNode(s.unref(ht),s.mergeProps(s.unref(ut),{items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:n})=>[s.createElementVNode("div",_c,[n.homeTeam?(s.openBlock(),s.createElementBlock("div",bc,[s.createElementVNode("div",Tc,s.toDisplayString(n.roundAbbreviation),1),s.createElementVNode("div",Sc,[s.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,wc)]),s.createElementVNode("div",Cc,s.toDisplayString(n.homeTeam.acronym),1),s.createElementVNode("div",Ec,s.toDisplayString(n.score[0])+" - "+s.toDisplayString(n.score[1]),1),s.createElementVNode("div",kc,s.toDisplayString(n.awayTeam.acronym),1),s.createElementVNode("div",Nc,[s.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,xc)])])):s.createCommentVNode("",!0)])]),availableItem:s.withCtx(({item:n})=>[s.createElementVNode("div",Vc,[s.createElementVNode("div",null,s.toDisplayString(n.roundAbbreviation),1),s.createElementVNode("div",Pc,[s.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,Fc)]),s.createElementVNode("div",Bc,s.toDisplayString(n.homeTeam.acronym),1),s.createElementVNode("div",Ac,s.toDisplayString(n.score[0])+" - "+s.toDisplayString(n.score[1]),1),s.createElementVNode("div",zc,s.toDisplayString(n.awayTeam.acronym),1),s.createElementVNode("div",Ic,[s.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,Rc)])])]),_:1},16,["items"])]))}},Ue=I(Oc,[["__scopeId","data-v-7883a91e"]]),je=e=>(s.pushScopeId("data-v-b63e9c84"),e=e(),s.popScopeId(),e),Lc={class:"container"},Gc={class:"container__row"},Wc={class:"container__row__wrapper"},Dc=je(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Mc={class:"container__row__wrapper__input"},$c={class:"container__row two-items"},vc={class:"container__row__wrapper"},Uc=je(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),jc={key:0,class:"container__row__wrapper__input"},Jc={class:"container__row__wrapper"},Hc=je(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),qc={key:0,class:"container__row__wrapper__input"},Kc={class:"container__row"},Zc={class:"container__row__wrapper"},Yc=je(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Xc={key:0,class:"container__row__wrapper__input"},Qc={class:"container__action"},ed={__name:"VideosGoals",props:{tournaments:{type:Array,required:!0}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const t={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},i=s.ref(null),o=s.ref(null),n=s.ref(null),r=s.ref(null);function c(m){i.value=m,a("update:tournament",m)}function p(m){o.value=m,a("update:season",m)}function d(m){n.value=m}function l(m){r.value=m}return(m,f)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",Lc,[s.createElementVNode("div",Gc,[s.createElementVNode("div",Wc,[Dc,s.createElementVNode("div",Mc,[s.createVNode(O,{items:e.tournaments,itemTextKey:"name",onInput:c},null,8,["items"])])])]),s.createElementVNode("div",$c,[s.createElementVNode("div",vc,[Uc,i.value&&i.value.seasons?(s.openBlock(),s.createElementBlock("div",jc,[s.createVNode(O,{items:i.value.seasons,itemTextKey:"name",onInput:p},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Jc,[Hc,o.value&&o.value.arrayMatchDays?(s.openBlock(),s.createElementBlock("div",qc,[s.createVNode(O,{items:o.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:d},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Kc,[s.createElementVNode("div",Zc,[Yc,n.value&&n.value.arrayGames?(s.openBlock(),s.createElementBlock("div",Xc,[s.createVNode(Ue,{items:n.value.arrayGames,onInput:l},null,8,["items"])])):s.createCommentVNode("",!0)])])]),s.createElementVNode("div",Qc,[s.createVNode(ve,s.normalizeProps(s.guardReactiveProps(t)),null,16)])],64))}},td=I(ed,[["__scopeId","data-v-b63e9c84"]]),sd={class:"dropdown"},ad={class:"item-team"},id={class:"team-logo"},nd=["src"],od={class:"team-acronym"},rd={class:"item-team"},ld={class:"team-logo"},cd=["src"],dd={class:"team-acronym"},md={__name:"DropdownTeam",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",sd,[s.createVNode(s.unref(ht),s.mergeProps(s.unref(ut),{items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:n})=>[s.createElementVNode("div",ad,[s.createElementVNode("div",id,[s.createElementVNode("img",{src:n.logo,alt:""},null,8,nd)]),s.createElementVNode("div",od,s.toDisplayString(n.acronym),1)])]),availableItem:s.withCtx(({item:n})=>[s.createElementVNode("div",rd,[s.createElementVNode("div",ld,[s.createElementVNode("img",{src:n.logo,alt:""},null,8,cd)]),s.createElementVNode("div",dd,s.toDisplayString(n.acronym),1)])]),_:1},16,["items"])]))}},Ca=I(md,[["__scopeId","data-v-afd2bee8"]]),pd={class:"advanced-filters"},fd={class:"advanced-filters__buttons"},hd=["onClick"],ud={class:"advanced-filters__filters"},yd={__name:"AdvancedFilters",props:{selectedCategory:{type:Object,default:()=>({})}},setup(e){const a=e,t=s.defineAsyncComponent(()=>Promise.resolve().then(()=>lp)),i=s.defineAsyncComponent(()=>Promise.resolve().then(()=>Np)),o=s.defineAsyncComponent(()=>Promise.resolve().then(()=>Vp)),n=[{name:"Sub categorías",component:t},{name:"Cancha",component:o},{name:"Condiciones",component:i}],r=s.ref(n[0]),c=s.computed(()=>a.selectedCategory?a.selectedCategory.subcategoryGroups||[]:[]);function p(d){r.value=d}return(d,l)=>(s.openBlock(),s.createElementBlock("div",pd,[s.createElementVNode("div",fd,[(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(n,m=>s.createElementVNode("div",{key:m.name,role:"button",class:s.normalizeClass(["advanced-filters__buttons__button",{active:r.value.name===m.name}]),onClick:f=>p(m)},s.toDisplayString(m.name),11,hd)),64))]),s.createElementVNode("div",ud,[(s.openBlock(),s.createBlock(s.KeepAlive,null,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.value.component),{"subcategory-groups":c.value},null,8,["subcategory-groups"]))],1024))])]))}},It=I(yd,[["__scopeId","data-v-c62c5b9c"]]),Q=e=>(s.pushScopeId("data-v-575b26b5"),e=e(),s.popScopeId(),e),gd={class:"container"},_d={class:"container__row"},bd={class:"container__row__wrapper"},Td=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Sd={class:"container__row__wrapper__input"},wd={class:"container__row two-items"},Cd={class:"container__row__wrapper"},Ed=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),kd={key:0,class:"container__row__wrapper__input"},Nd={class:"container__row__wrapper"},xd=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. En que equipo juega?",-1)),Vd={key:0,class:"container__row__wrapper__input"},Pd={class:"container__row"},Fd={class:"container__row__wrapper"},Bd=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Nombre del jugador",-1)),Ad={key:0,class:"container__row__wrapper__input"},zd={class:"container__row"},Id={class:"container__row__wrapper"},Rd=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el partido",-1)),Od={key:0,class:"container__row__wrapper__input"},Ld={class:"container__row type-and-advanced"},Gd={class:"container__row__wrapper"},Wd=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),Dd={class:"container__row__wrapper__input"},Md={class:"container__row__wrapper center"},$d=Q(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),vd={class:"container__row__wrapper__input"},Ud={class:"container__row"},jd={class:"container__action"},Jd={__name:"VideosPlayer",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({player:[],goalkeeper:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=s.ref(null),n=s.ref(null);s.ref(null);const r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(null),l=s.ref(!0),m=s.computed(()=>p.value?p.value.position_id===1?t.advancedFilterCategories.goalkeeper:t.advancedFilterCategories.player:[]);function f(T){o.value=T,a("update:tournament",T)}function g(T){n.value=T,a("update:season",T)}function y(T){c.value=T,a("update:team",T)}function _(T){p.value=T}function b(T){r.value=T}function S(T){d.value=T}return(T,E)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",gd,[s.createElementVNode("div",_d,[s.createElementVNode("div",bd,[Td,s.createElementVNode("div",Sd,[s.createVNode(O,{items:e.tournaments,itemTextKey:"name",onInput:f},null,8,["items"])])])]),s.createElementVNode("div",wd,[s.createElementVNode("div",Cd,[Ed,o.value&&o.value.seasons?(s.openBlock(),s.createElementBlock("div",kd,[s.createVNode(O,{items:o.value.seasons,itemTextKey:"name",onInput:g},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Nd,[xd,n.value&&n.value.arrayTeams?(s.openBlock(),s.createElementBlock("div",Vd,[s.createVNode(Ca,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:y},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Pd,[s.createElementVNode("div",Fd,[Bd,c.value&&c.value.arrayPlayers?(s.openBlock(),s.createElementBlock("div",Ad,[s.createVNode(O,{items:c.value.arrayPlayers,itemTextKey:"player_name",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",zd,[s.createElementVNode("div",Id,[Rd,n.value&&n.value.mapGamesByTeam&&c.value?(s.openBlock(),s.createElementBlock("div",Od,[s.createVNode(Ue,{items:n.value.mapGamesByTeam.get(c.value.team_id),onInput:b},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Ld,[s.createElementVNode("div",Gd,[Wd,s.createElementVNode("div",Dd,[s.createVNode(O,{items:m.value,itemTextKey:"name","is-list-same-width":!1,onInput:S},null,8,["items"])])]),s.createElementVNode("div",Md,[$d,s.createElementVNode("div",vd,[s.createVNode(zt,{modelValue:l.value,"onUpdate:modelValue":E[0]||(E[0]=V=>l.value=V)},null,8,["modelValue"])])])]),s.createElementVNode("div",Ud,[s.createVNode(It,{"selected-category":d.value},null,8,["selected-category"])])]),s.createElementVNode("div",jd,[s.createVNode(ve,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},Hd=I(Jd,[["__scopeId","data-v-575b26b5"]]),ie=e=>(s.pushScopeId("data-v-6d73d5e6"),e=e(),s.popScopeId(),e),qd={class:"container"},Kd={class:"container__row"},Zd={class:"container__row__wrapper"},Yd=ie(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Xd={class:"container__row__wrapper__input"},Qd={class:"container__row two-items"},em={class:"container__row__wrapper"},tm=ie(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),sm={key:0,class:"container__row__wrapper__input"},am={class:"container__row__wrapper"},im=ie(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige el equipo",-1)),nm={key:0,class:"container__row__wrapper__input"},om={class:"container__row"},rm={class:"container__row__wrapper"},lm=ie(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),cm={key:0,class:"container__row__wrapper__input"},dm={class:"container__row type-and-advanced"},mm={class:"container__row__wrapper"},pm=ie(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el tipo de video",-1)),fm={class:"container__row__wrapper__input"},hm={class:"container__row__wrapper center"},um=ie(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),ym={class:"container__row__wrapper__input"},gm={class:"container__row"},_m={class:"container__action"},bm={__name:"VideosTeam",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({team:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=s.ref(null),n=s.ref(null);s.ref(null);const r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(!0),l=s.computed(()=>t.advancedFilterCategories.team);function m(b){o.value=b,a("update:tournament",b)}function f(b){n.value=b,a("update:season",b)}function g(b){c.value=b,a("update:team",b)}function y(b){r.value=b}function _(b){p.value=b}return(b,S)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",qd,[s.createElementVNode("div",Kd,[s.createElementVNode("div",Zd,[Yd,s.createElementVNode("div",Xd,[s.createVNode(O,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),s.createElementVNode("div",Qd,[s.createElementVNode("div",em,[tm,o.value&&o.value.seasons?(s.openBlock(),s.createElementBlock("div",sm,[s.createVNode(O,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",am,[im,n.value&&n.value.arrayTeams?(s.openBlock(),s.createElementBlock("div",nm,[s.createVNode(Ca,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:g},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",om,[s.createElementVNode("div",rm,[lm,n.value&&n.value.mapGamesByTeam&&c.value?(s.openBlock(),s.createElementBlock("div",cm,[s.createVNode(Ue,{items:n.value.mapGamesByTeam.get(c.value.team_id),onInput:y},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",dm,[s.createElementVNode("div",mm,[pm,s.createElementVNode("div",fm,[s.createVNode(O,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:_},null,8,["items"])])]),s.createElementVNode("div",hm,[um,s.createElementVNode("div",ym,[s.createVNode(zt,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),s.createElementVNode("div",gm,[s.createVNode(It,{"selected-category":p.value},null,8,["selected-category"])])]),s.createElementVNode("div",_m,[s.createVNode(ve,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},Tm=I(bm,[["__scopeId","data-v-6d73d5e6"]]),ne=e=>(s.pushScopeId("data-v-6e904db8"),e=e(),s.popScopeId(),e),Sm={class:"container"},wm={class:"container__row"},Cm={class:"container__row__wrapper"},Em=ne(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),km={class:"container__row__wrapper__input"},Nm={class:"container__row two-items"},xm={class:"container__row__wrapper"},Vm=ne(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Pm={key:0,class:"container__row__wrapper__input"},Fm={class:"container__row__wrapper"},Bm=ne(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Am={key:0,class:"container__row__wrapper__input"},zm={class:"container__row"},Im={class:"container__row__wrapper"},Rm=ne(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Om={key:0,class:"container__row__wrapper__input"},Lm={class:"container__row type-and-advanced"},Gm={class:"container__row__wrapper"},Wm=ne(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),Dm={class:"container__row__wrapper__input"},Mm={class:"container__row__wrapper center"},$m=ne(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),vm={class:"container__row__wrapper__input",style:{width:"fit-content"}},Um={class:"container__row"},jm={class:"container__action"},Jm={__name:"VideosGame",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({games:[]})}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=s.ref(null),n=s.ref(null),r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(!0),l=s.computed(()=>t.advancedFilterCategories.games);function m(b){o.value=b,a("update:tournament",b)}function f(b){n.value=b,a("update:season",b)}function g(b){r.value=b}function y(b){c.value=b}function _(b){p.value=b}return(b,S)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",Sm,[s.createElementVNode("div",wm,[s.createElementVNode("div",Cm,[Em,s.createElementVNode("div",km,[s.createVNode(O,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),s.createElementVNode("div",Nm,[s.createElementVNode("div",xm,[Vm,o.value&&o.value.seasons?(s.openBlock(),s.createElementBlock("div",Pm,[s.createVNode(O,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Fm,[Bm,n.value&&n.value.arrayMatchDays?(s.openBlock(),s.createElementBlock("div",Am,[s.createVNode(O,{items:n.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:g},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",zm,[s.createElementVNode("div",Im,[Rm,r.value&&r.value.arrayGames?(s.openBlock(),s.createElementBlock("div",Om,[s.createVNode(Ue,{items:r.value.arrayGames,onInput:y},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Lm,[s.createElementVNode("div",Gm,[Wm,s.createElementVNode("div",Dm,[s.createVNode(O,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:_},null,8,["items"])])]),s.createElementVNode("div",Mm,[$m,s.createElementVNode("div",vm,[s.createVNode(zt,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),s.createElementVNode("div",Um,[s.createVNode(It,{"selected-category":p.value},null,8,["selected-category"])])]),s.createElementVNode("div",jm,[s.createVNode(ve,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},Hm=I(Jm,[["__scopeId","data-v-6e904db8"]]);s.defineComponent({name:"TemplateVideos",components:{VideosGoals:td,VideosPlayer:Hd,VideosTeam:Tm,VideosGame:Hm}}),Array.from({length:24},(e,a)=>a+1),v(2,Rt()),v(2,Rt()),v(1,J(1)),v(1,J(1)),v(1,J(2)),v(1,J(2)),v(1,J(3)),v(1,J(3)),v(1,J(4)),v(1,J(4));function Rt(){return[[337,1],[338,2],[339,3],[340,4],[341,5],[342,6],[343,7],[344,8],[345,9],[346,10],[347,11],[348,12],[349,13],[350,14],[351,15],[352,16],[353,17],[354,18],[355,19],[356,20],[357,21]]}function Ea(){return Array.from({length:16},(e,a)=>a+1)}function J(e){switch(e){case 1:return[1,2,3,4];case 2:return[5,6,7,8];case 3:return[9,10,11,12];case 4:return[13,14,15,16]}}function v(e=1,a=null){return{origin_zones:e===1?Ea():Rt(),destiny_zones:a||Ea(),minimum_distance_x:0,maximum_distance_x:105,minimum_distance_y:0,maximum_distance_y:68,minimum_total_distance:0,maximum_total_distance:125,zone_type:e}}function qm(){return{backgroundColor:"#2e3b46",borderColor:"rgba(255, 255, 255, 0.20)",infoBorderColor:"rgba(255, 255, 255, 0.20)",height:"40px",padding:"5px 12px",textFontFamily:"'Poppins-Regular'"}}const Km={comfiltersContainer:"_comfiltersContainer_xl2as_1",comfiltersContainer1232:"_comfiltersContainer1232_xl2as_1",closeFiltersPc:"_closeFiltersPc_xl2as_1",comtextleyemdmultipleleagues:"_comtextleyemdmultipleleagues_xl2as_1",comtextleyemdmultipleleagues380:"_comtextleyemdmultipleleagues380_xl2as_1",comfiltersContainer760:"_comfiltersContainer760_xl2as_1",comfiltersContainer460:"_comfiltersContainer460_xl2as_1",comcontainerSection:"_comcontainerSection_xl2as_1",comcontainerSection1232:"_comcontainerSection1232_xl2as_1",comcontainerSection960:"_comcontainerSection960_xl2as_1",comcontainerSection320:"_comcontainerSection320_xl2as_1",comcontainerSection350:"_comcontainerSection350_xl2as_1",comtemplateLosMejores1:"_comtemplateLosMejores1_xl2as_1",comtemplateLosMejores11232:"_comtemplateLosMejores11232_xl2as_1",comtemplateLosMejores1960:"_comtemplateLosMejores1960_xl2as_1",comtemplateLosMejores1420:"_comtemplateLosMejores1420_xl2as_1",comtemplateLosMejores1320:"_comtemplateLosMejores1320_xl2as_1",comtemplateLosMejores1540:"_comtemplateLosMejores1540_xl2as_1",comtemplateLosMejores1350:"_comtemplateLosMejores1350_xl2as_1",comtopFiltersParent:"_comtopFiltersParent_xl2as_1",comtopFiltersParent1232:"_comtopFiltersParent1232_xl2as_1",comtopFiltersParent960:"_comtopFiltersParent960_xl2as_1",comtopFiltersParent460:"_comtopFiltersParent460_xl2as_1",comtopFiltersParent420:"_comtopFiltersParent420_xl2as_1",comcontainerTheBest:"_comcontainerTheBest_xl2as_1",comcontainerTheBest1232:"_comcontainerTheBest1232_xl2as_1",comcontainerTheBest960:"_comcontainerTheBest960_xl2as_1",comcontainerTheBest320:"_comcontainerTheBest320_xl2as_1",comtitleSection:"_comtitleSection_xl2as_1",comtitleSection540:"_comtitleSection540_xl2as_1",comcontainerTables:"_comcontainerTables_xl2as_1",comcontainerTables960:"_comcontainerTables960_xl2as_1",comcontainerTables760:"_comcontainerTables760_xl2as_1",comcontainerTables320:"_comcontainerTables320_xl2as_1",comtoniKroosWrapper:"_comtoniKroosWrapper_xl2as_1",comtoniKroosWrapper1080:"_comtoniKroosWrapper1080_xl2as_1",comtoniKroosWrapper975:"_comtoniKroosWrapper975_xl2as_1",comtoniKroosWrapper760:"_comtoniKroosWrapper760_xl2as_1",comtoniKroosWrapper420:"_comtoniKroosWrapper420_xl2as_1",comtoniKroosWrapper320:"_comtoniKroosWrapper320_xl2as_1",frameChild:"_frameChild_xl2as_1",filtros:"_filtros_xl2as_1",groupParent:"_groupParent_xl2as_1",shapeIcon:"_shapeIcon_xl2as_1",btnFilters:"_btnFilters_xl2as_1",btnFiltersPC:"_btnFiltersPC_xl2as_1",comquitarFiltros:"_comquitarFiltros_xl2as_1",comquitarFiltros730:"_comquitarFiltros730_xl2as_1",comquitarFiltros480:"_comquitarFiltros480_xl2as_1",comquitarFiltros380:"_comquitarFiltros380_xl2as_1",btnCloseFilters:"_btnCloseFilters_xl2as_1",commejoresJugadores:"_commejoresJugadores_xl2as_1",commejoresJugadores730:"_commejoresJugadores730_xl2as_1",commejoresJugadores480:"_commejoresJugadores480_xl2as_1",mejoresJugadoresSM:"_mejoresJugadoresSM_xl2as_1",toniKroos:"_toniKroos_xl2as_1",teamBar:"_teamBar_xl2as_1",commenuSection:"_commenuSection_xl2as_1",commenuSection960:"_commenuSection960_xl2as_1",comcontainerMenu:"_comcontainerMenu_xl2as_1",comcontainerMenu760:"_comcontainerMenu760_xl2as_1",containerFilters:"_containerFilters_xl2as_1",teamBarParent:"_teamBarParent_xl2as_1",comtopFilters:"_comtopFilters_xl2as_1",comtopFilters1232:"_comtopFilters1232_xl2as_1",comtopFilters420:"_comtopFilters420_xl2as_1",comtopFilters460:"_comtopFilters460_xl2as_1",comlosMejores:"_comlosMejores_xl2as_1",comlosMejores380:"_comlosMejores380_xl2as_1",comlosMejores530:"_comlosMejores530_xl2as_1",comlosMejores730:"_comlosMejores730_xl2as_1",commenuSectionHeader:"_commenuSectionHeader_xl2as_1",commenuSectionHeader1232:"_commenuSectionHeader1232_xl2as_1",commenuSectionHeader960:"_commenuSectionHeader960_xl2as_1",commenuSectionHeader730:"_commenuSectionHeader730_xl2as_1",comdropdown:"_comdropdown_xl2as_1",comdropdown730:"_comdropdown730_xl2as_1",comdropdown1:"_comdropdown1_xl2as_1",comdropdown1730:"_comdropdown1730_xl2as_1",comdropdownParent:"_comdropdownParent_xl2as_1",comdropdownParent730:"_comdropdownParent730_xl2as_1",commenuSectionParentHeader:"_commenuSectionParentHeader_xl2as_1",commenuSectionParentHeader1232:"_commenuSectionParentHeader1232_xl2as_1",commenuSectionParentHeader960:"_commenuSectionParentHeader960_xl2as_1",commenuSectionParentHeader730:"_commenuSectionParentHeader730_xl2as_1",commenuSectionParentHeader430:"_commenuSectionParentHeader430_xl2as_1",comdescubreVideos:"_comdescubreVideos_xl2as_1",comdescubreVideos1232:"_comdescubreVideos1232_xl2as_1",comdescubreVideos960:"_comdescubreVideos960_xl2as_1",allCategories:"_allCategories_xl2as_1",containerScountingBtncom:"_containerScountingBtncom_xl2as_3",btnDeleteAplicacom:"_btnDeleteAplicacom_xl2as_13",SearchBtnBarcom:"_SearchBtnBarcom_xl2as_33",btnLeyendTxtcom:"_btnLeyendTxtcom_xl2as_52",BtnSearchScountingcom:"_BtnSearchScountingcom_xl2as_61",containerPredefinedcom:"_containerPredefinedcom_xl2as_85",containerPredefinedScountingcom:"_containerPredefinedScountingcom_xl2as_92",titleContainerPredefinedcom:"_titleContainerPredefinedcom_xl2as_100",subtitleContainerPredefinedcom:"_subtitleContainerPredefinedcom_xl2as_111"},Zm=s.ref(qm()),Ym={components:{GSCTopCategory:ao},computed:{...Ki.computed,filterChangePredefined(){return this.filtersPredefinedF},filterChange(){const e={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.fVnationalities,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},a=JSON.stringify(e);return JSON.stringify(this.filters)!=a,a},filterGolstats(){return this.FVfilterGolstats},filterButtonProps(){return{...Zm.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamId:{type:Number,default:0},gameId:{type:Number,default:0},isWidget:{type:Boolean,default:!1},seasonSelected:{type:Object,default:()=>({})},categoryView:{type:Array,default:()=>[]},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({})},teamselect:{type:Number,default:0},seasonActive:{type:Number,default:0},defaultSection:{type:String,default:"Jugadores"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},tournamentsApiUrl:{type:String,default:""},numRows:{type:Number,default:5},dummyData:{type:Array,default:null}},watch:{async seasonActive(){if(this.seasonActive!=0){this.teams=[];const e=await this.fetchTeams();for(let a=0;a<e.teams.length;a++)this.teams.push({id:e.teams[a].team_id,team:e.teams[a].colloquial_name,logo:e.teams[a].logo})}}},setup(){const e=s.ref("myDivRefTopsFull"),{elementSize:a}=de(e);return{myDivRefTopsFull:e,elementSize:a}},data(){return{showfiltersPc:!1,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],arrayFiltersPlays:[],filtersPredefinedF:{},categoryPredefinedActive:!1,categoryPredefined:0,typeTable:0,keyUpdateFilter:0,loadingActive:!1,isTeam:!1,arrayPredefinedFilters:[],arrayCategoryFilter:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],arrayCategoryFilterFull:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],FVsetAvailableNationalTeamsPlayersIds:new Set,showOnlyCategories:!1,showFullCategory:0,categoryName:"",showFullTable:!1,expansionPanelModePropsTypePlays:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",width:"400px",maxWidth:"400px"},expansionPanelProps:{width:"400px",borderRadius:"8px"},fieldComponentProps:{widthContainer:"400px"}},expansionPanelModeProps:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)"},expansionPanelProps:{width:"400px",borderRadius:"8px",fontFamily:"'Poppins-Regular'"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"13px"}},expansionPanelModePropsMobil:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"300px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},expansionPanelModePropsMobil270:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"270px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},filters:{zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},categoriesPlaysTypes:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!0,id:1},{name:"Tiros a gol",isSelected:!0,id:6},{name:"Tiros a gol con destino a portería",isSelected:!0,id:7},{name:"Asistencias",isSelected:!0,id:4},{name:"Centros",isSelected:!0,id:10},{name:"Centros acertados",isSelected:!0,id:11},{name:"Participaciones en gol",isSelected:!0,id:5},{name:"1vs1 exitosos ofensivos",isSelected:!0,id:12},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!0,id:13},{name:"Balones ganados en área rival",isSelected:!0,id:17},{name:"Cabeceos en área rival",isSelected:!0,id:8},{name:"Tiros de esquina",isSelected:!0,id:23}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!0,id:14},{name:"Cabeceo en área propia",isSelected:!0,id:9},{name:"Balones ganados en área propia",isSelected:!0,id:16},{name:"Rechaces",isSelected:!0,id:15},{name:"Atajadas",isSelected:!0,id:22}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!0,id:2},{name:"Balones recuperados en disputa",isSelected:!0,id:3}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!0,id:18},{name:"Faltas recibidas",isSelected:!0,id:19},{name:"Tarjetas amarillas",isSelected:!0,id:20},{name:"Tarjetas rojas",isSelected:!0,id:21}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},categoriesDefault:[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Pases acertados",isSelected:!1},{id:23,name:"Tiros de Esquina",isSelected:!1},{id:3,name:"Balones recuperados en disputa",isSelected:!1},{id:4,name:"Asistencias",isSelected:!1},{id:5,name:"Participaciones en gol",isSelected:!1},{id:6,name:"Tiros a gol",isSelected:!1},{id:7,name:"Tiros a gol que llegaron a la portería",isSelected:!1},{id:8,name:"Cabeceos en área rival",isSelected:!1},{id:9,name:"Cabeceos en área propia",isSelected:!1},{id:10,name:"Centros",isSelected:!1},{id:11,name:"Centros acertados",isSelected:!1},{id:12,name:"1vs1 exitosos ofensivos",isSelected:!1},{id:13,name:"1vs1 exitosos ofensivos que terminaron en gol",isSelected:!1},{id:14,name:"1vs1 defensivos exitoso",isSelected:!1},{id:15,name:"Rechaces",isSelected:!1},{id:16,name:"Balones ganados en área propia",isSelected:!1},{id:17,name:"Balones ganados en área rival",isSelected:!1},{id:18,name:"Faltas cometidas",isSelected:!1},{id:19,name:"Faltas recibidas",isSelected:!1},{id:20,name:"Tarjetas amarillas",isSelected:!1},{id:21,name:"Tarjetas rojas",isSelected:!1},{id:22,name:"Atajadas",isSelected:!1}],isCup:!1,arrayPredefinedOrigin:[],indexPredefinedFiltersSelected:0,predefinedFiltersMatchLapse:[],predefinedFiltersPlayingAs:[],predefinedFiltersSections:[],updateTables:0,updateTablesfull:0,optionSelected:"Jugadores",optionSelectedSubmenu:"Todas las jugadas",tournamentsUrl:"https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments",teamsUrl:"https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",urlFilter:"https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",retries:3,teams:[],updateFilterGolstats:0,updateFilterPlaytypesGolstats:0,arrayTournaments:[],arraySeasons:{},seasonBytournament:[],filtersTypes:uo,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",fVnationalities:new Set,fVzone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],fVplayingAs:[1,2],fVsections:[1,2,3,4,5,6],fVmatchResult:[1,2,3],fVarrayAgeRange:[10,40],FVeligible:[],FVYear:1900,fVtypeZone:2,fVsetPositionsIds:[1,2,3,4,5,6,7,8,9],currentIndex:-1,delay:800,tournamentSelected:0,tournamentSelectedObj:{},FVfilterGolstats:[],updateFilterField:0,openMenuMobil:!1,selectedTournament:{seasons:[]},selectedSeasonObj:{}}},methods:{getnameshort(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),o="";t.length==2||t.length==1?t[0].length<4?o=t[0]+" "+t[1]:o=t[0]:t.length==3?o=t[0]+" "+t[1]:t.length==4&&(o=t[1]+" "+t[2]+" "+t[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},setUpTournamentsToFilter(){this.tournamentsToFilter.forEach(e=>{const a=e.id===this.selectedTournament.id;e.isSelected=a,e.isDefaultTournament=a})},async onClickDeleteFilter(){this.optionSelectedSubmenu=="Predeterminados"?this.resetPredefinedTeamAll():(this.arrayFiltersPlays=[],setTimeout(()=>{},200))},clickOpenFilters(){this.showfiltersPc=!0},clickCloseFilters(){this.showfiltersPc=!1},async selectedSeason(e){this.seasonActive!==e.id&&(this.seasonActive=e.id,this.resetPredefinedTeamAll(),this.$emit("change-season-id",e.id))},changeTournament(e){e.id!==this.selectedTournament.id&&(this.selectedTournament=e,this.tournamentSelectedObj={propName:"id",value:e.id},this.teamselect=0,this.resetPredefinedTeamAll(),this.setUpTournamentsToFilter())},changeTournamentMovil(e){this.tournamentSelectedObj={propName:"id",value:e.id},this.seasonBytournament=e.seasons,this.teamselect=0},selectedSeasonMovil(e){this.seasonActive=e.id},setRelevantCategoriesPlayer(e){return e===1?[39,40,52,53,54,55,323,324,608,774,802]:[10,12,14,15,27,35,61,217,257,466,519,607,702,730,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,211,232,235,239,242,282,284,289,291,296,485,486,487,488]},setOpenMedia(e){this.$emit("openmedia",e)},setMediaData(e){let o=[e.id],n=e.team_id;const r={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:o,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:n||0,matchResult:[1,2,3],categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:"Jugadas Relevantes"}};this.$emit("openmedia",r)},clickprofile(e){e.isTeam?this.$emit("openProfileTeam",{teamId:e.id,seasonId:this.seasonActive}):this.$emit("openProfilePlayer",{playerId:e.id,teamId:e.teamId,seasonId:this.seasonActive})},viewprofile(e,a,t){this.$emit("openProfilePlayer",{playerId:e,teamId:t,seasonId:a||this.seasonActive})},openMenuFilters(){this.openMenuMobil=!this.openMenuMobil,this.showfiltersPc=!0},clickexpand(){},async getScoutingData(){this.arrayFiltersPlays=[],this.loadingActive=!0;const e=k.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.post("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var t=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersTournaments");t!==-1?this.arrayFiltersPlays[t].name=this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX":this.arrayFiltersPlays.push({name:this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX",type:"onFiltersTournaments"})}this.rowScoutingData=[];for(let o=0;o<a.length;o++){a[o];let r=a[o].dob.split("T")[0].split("-");var i={position:o+1,player_name:this.abrevName(a[o].name),player_photo:"https://golstatsimages.blob.core.windows.net/players-profile/"+a[o].player_id+".png",total:a[o].total.toFixed(0),id:a[o].player_id,player_age:this.calcularEdad(a[o].dob),team_abrev:a[o].teams[0].acronym,team_name:a[o].teams[0].team_name,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+a[o].teams[0].team_id+".png",player_position:a[o].position_id,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+a[o].nationality_id+".jpg",date:r[2]+"."+r[1]+"."+r[0].substring(2,4),team_id:a[o].team_id,nationality_name:Bs[a[o].nationality_id],player_games:a[o].games_played,player_min:a[o].minutes_played,league_name:a[o].tournament_name,seasons:a[o].seasons,season_id:a[o].seasons[0]};this.rowScoutingData.push(i)}if(this.seasonsFilterSelected!=0){const o=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let n=0;n<o.teams.length;n++)this.teamsscouting.push({id:o.teams[n].team_id,team:o.teams[n].colloquial_name,logo:o.teams[n].logo})}this.loadingActive=!1},abrevName(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),o="";t.length==2||t.length==1?t[0].length<4?o=t[0]+" "+t[1]:o=t[0]:t.length==3?o=t[0]+" "+t[1]:t.length==4&&(o=t[1]+" "+t[2]+" "+t[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;return r},calcularEdad(e){var a=new Date(e),t=new Date,i=t-a,o=Math.floor(i/(1e3*60*60*24*365.25));return o},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var a=[];for(let t=0;t<e.length;t++)e[t].isSelected&&a.push(e[t].id);if(a.length==0&&(a=[1]),a.length==1)for(let t=0;t<e.length;t++)e[t].isSelected&&(this.nameLeagueSelected=e[t].name,this.seasonsFilterSelected=e[t].seasons[0].id);else this.seasonsFilterSelected=0,a.length>0&&(this.nameLeagueSelected=a.length+" Ligas");this.filterScounting.tournaments=a,this.filterScounting.seasonId=e[0].seasons[0].id},onFiltersPersonalData(e){if(this.modifidFiltersFlag=!0,e.hasOwnProperty("ageByRange")){const i=e.ageByRange.min==0?10:e.ageByRange.min,o=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[i,o],this.filterScounting.age_or_year=1}else this.filterScounting.range_age=[];e.hasOwnProperty("year")?(this.filterScounting.year=e.year,this.filterScounting.age_or_year=0):this.filterScounting.year=0;var a=[];if(e.hasOwnProperty("nationalities")){for(let i=0;i<e.nationalities.length;i++)e.nationalities[i].isSelected&&a.push(e.nationalities[i].id);a.length==0&&(a=[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239])}this.filterScounting.elegibles=[],e.hasOwnProperty("eligibility")&&(this.filterScounting.elegibles=[e.eligibility[0].id]);var t=[];for(let i=0;i<e.positions.length;i++)e.positions[i].isSelected&&t.push(e.positions[i].id);t.length==0&&(t=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=t,this.filterScounting.nationalities=a},onFiltersUniverse(e){this.modifidFiltersFlag=!0,this.filterScounting.minutes_played=Number(e.minutesPlayed),this.filterScounting.last_months=Number(e.lastMonths),this.filterScounting.minutes_played_avg=Number(e.percentMinutesPlayed),this.filterScounting.type_stats=e.statistics.averagePerGame?3:e.statistics.averagePerMinute?2:1},onFiltersProductivity(e){this.modifidFiltersFlag=!0;var a=[];for(let t=0;t<e.productivityFilters.length;t++)a[e.productivityFilters[t].priority-1]={name:e.productivityFilters[t].name,ids:e.productivityFilters[t].id};a.length==0&&(a=[]),this.filterScounting.categories=a,this.filterScounting.fouls=e.offensesConditions.areFoulsCommittedSelected,this.filterScounting.yellow_cards=e.offensesConditions.areYellowCardsSelected,this.filterScounting.red_cards=e.offensesConditions.areRedCardsSelected},onFiltersGolStats(e){if(e.length>0){var a=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");a!==-1?this.arrayFiltersPlays[a].name=e[0].name:this.arrayFiltersPlays.push({name:e[0].name,type:"onFiltersPredefined"}),this.filtersPredefinedF=e[0].filters}else{var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&t!==-1){this.filtersPredefinedF=this.filters;for(let o=0;o<this.FVfilterGolstats.length;o++)this.FVfilterGolstats[o].isSelected=!1;var t=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefined");t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}},shouldRender(e){return e<=this.currentIndex},renderNext(){this.currentIndex++,this.currentIndex<this.categoriesDefault.length&&setTimeout(()=>{this.$nextTick(()=>{this.renderNext()})},this.delay)},async onFiltersPlaysTypes(e){if(e.length>0){this.categoryPredefinedActive=!0,this.loadingActive=!0,this.categoryPredefined=e[0].id;var a=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&a!==-1){this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(a,1);var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(t!==-1){for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}this.updateTables+=1,setTimeout(()=>{this.loadingActive=!1},1e3),await this.getPredefinedfilters(e[0]),this.FVfilterGolstats.length>0&&(this.onFiltersGolStats([this.FVfilterGolstats[0]]),this.FVfilterGolstats[0].isSelected=!0)}else{var a=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefinedCategory");if(this.categoriesDefault.length>0&&a!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters,this.arrayFiltersPlays.splice(a,1);for(let n=0;n<this.categoriesDefault.length;n++)this.categoriesDefault[n].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var t=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&t!==-1){for(let n=0;n<this.FVfilterGolstats.length;n++)this.FVfilterGolstats[n].isSelected=!1;t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}}},deleteCategoryFilter(){this.categoryName="",this.showFullCategory=0,this.showFullTable=!1,delete this.filters.aux},onShowFullTable(e){this.categoryName=e.categoryName,this.showFullCategory=e.category,this.showFullTable=!0,this.loadingActive=!0,setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,aux:this.getRandomNumber(1,1e4),booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.loadingActive=!1},1e3)},getRandomNumber(e,a){return Math.floor(Math.random()*(a-e+1))+e},applyFiltersBtn(e){},onFiltersPlays(e){if(this.arrayCategoryFilter=[],this.arrayCategoryFilterFull=[],e.playsCategories.length==0){for(let t=0;t<this.categoriesPlaysTypes.offensive.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.defensive.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.possession.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.offenses.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t])}else for(let t=0;t<e.playsCategories.length;t++)e.playsCategories[t].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[t].id),this.arrayCategoryFilterFull.push(e.playsCategories[t]));var a=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPlays");this.arrayCategoryFilter.length>0&&this.arrayCategoryFilter.length!=23?this.arrayCategoryFilter.length==1?a!=-1?this.arrayFiltersPlays[a].name=this.arrayCategoryFilterFull[0].name:this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull[0].name,type:"onFiltersPlays"}):a!=-1?this.arrayFiltersPlays[a].name=this.arrayCategoryFilterFull.length+" Tipos de jugadas":this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull.length+" Tipos de jugadas",type:"onFiltersPlays"}):a!==-1&&this.arrayFiltersPlays.splice(a,1)},async deleteLabelFilter(e){var a=this.arrayFiltersPlays.findIndex(i=>i.type===e);if(a!==-1){if(e=="onFiltersTournaments"&&(this.arrayFiltersPlays=[],setTimeout(()=>{},200)),e=="onFiltersPlays"){for(let i=0;i<this.categoriesPlaysTypes.offensive.categories.length;i++)this.categoriesPlaysTypes.offensive.categories[i].isSelected=!0;for(let i=0;i<this.categoriesPlaysTypes.defensive.categories.length;i++)this.categoriesPlaysTypes.defensive.categories[i].isSelected=!0,this.arrayCategoryFilter.push(),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[i]);for(let i=0;i<this.categoriesPlaysTypes.possession.categories.length;i++)this.categoriesPlaysTypes.possession.categories[i].isSelected=!0;for(let i=0;i<this.categoriesPlaysTypes.offenses.categories.length;i++)this.categoriesPlaysTypes.offenses.categories[i].isSelected=!0}if(e=="onFiltersField"&&(this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersPredefined"){this.filtersPredefinedF=this.filters;for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;this.updateFilterGolstats+=1,this.resetPredefinedTeamAll()}if(e=="onFiltersPredefinedCategory"){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters;var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");t!==-1&&this.arrayFiltersPlays.splice(t,1);for(let i=0;i<this.categoriesDefault.length;i++)this.categoriesDefault[i].isSelected=!1;this.updateFilterPlaytypesGolstats+=1}e=="onFiltersDetailsTime"&&(this.detailsObject.gameSections[0].isSelected=!0,this.detailsObject.gameSections[1].isSelected=!0,this.detailsObject.gameSections[2].isSelected=!0,this.detailsObject.gameSections[3].isSelected=!0,this.detailsObject.gameSections[4].isSelected=!0,this.detailsObject.gameSections[5].isSelected=!0,this.fVsections=[1,2,3,4,5,6],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersDetailsPlayingAs"&&(this.detailsObject.playingAs[0].isSelected=!0,this.detailsObject.playingAs[1].isSelected=!0,this.fVplayingAs=[1,2],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersNationality"&&(this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(me.NATIONALITY)),e=="onFiltersPosition"&&(this.fVsetPositionsIds=[1,2,3,4,5,6,7,8,9],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(me.POSITION)),e=="onFiltersAge"&&(this.fVarrayAgeRange=[10,40],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(me.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(me.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(me.YEAR),this.FVYear=1900,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds})}this.arrayFiltersPlays.splice(a,1)},clickAll(){},clickAllAll(){},clickTeam(){},clickTeamScouting(){},resetFilterTeamAndPlayers(){this.filters={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set}},async changeTabsGeneral(e){this.resetPredefinedTeamAll(),this.showfiltersPc=!0,this.optionSelected=e,this.optionSelectedSubmenu="Todas las jugadas",this.filtersPredefinedF={},this.categoryPredefinedActive=!1,this.categoryPredefined=0,e=="Equipos"&&(this.typeTable=1,this.isTeam=!0,this.updateTables+=1,this.arrayFiltersPlays=[],this.teamselect=0,this.resetFilterTeamAndPlayers()),e=="Jugadores"&&(this.typeTable=0,this.isTeam=!1,this.teamselect=0,this.updateTables+=1,this.resetFilterTeamAndPlayers())},resetPredefinedTeamAll(){var e=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&e!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(e,1);for(let t=0;t<this.categoriesDefault.length;t++)this.categoriesDefault[t].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var a=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPredefined");if(a!==-1){for(let t=0;t<this.FVfilterGolstats.length;t++)this.FVfilterGolstats[t].isSelected=!1;a!==-1&&this.arrayFiltersPlays.splice(a,1),this.updateFilterGolstats+=1}}},changeTabsSubmenu(e){e!="Predeterminados"?this.resetPredefinedTeamAll():this.arrayFiltersPlays=[],this.optionSelectedSubmenu=e},async fetchTournaments(){const e=k.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(this.tournamentsUrl);return a},async fetchTeams(){const e=k.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(this.teamsUrl+this.seasonActive);return a},async fetchTeamsScouting(e){const a=k.create({headers:{Authorization:`${this.token}`}}),{data:t}=await a.get(this.teamsUrl+e);return t},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var a="";e.id==1?a=this.urlFilter:a=this.urlFilter;const t=k.create({headers:{Authorization:`${this.token}`}}),{data:i}=await t.get(a+e.id);if(Object.keys(i[0].match_lapse_combinations).forEach(m=>{this.predefinedFiltersMatchLapse[m.toString()]=i[0].match_lapse_combinations[m]}),Object.keys(i[0].playing_as_combinations).forEach(m=>{this.predefinedFiltersPlayingAs[m.toString()]=i[0].playing_as_combinations[m]}),Object.keys(i[0].field_sections_combinations).forEach(m=>{this.predefinedFiltersSections[m.toString()]=i[0].field_sections_combinations[m]}),i[0]){for(let m=0;m<i[0].filter_records.length;m++){var o=i[0].description;if(i[0].filter_records[m].field_sections!==void 0){const g=i[0].filter_records[m].field_sections.toString();(this.predefinedFiltersSections[g]||this.predefinedFiltersSections[g]=="")&&(this.predefinedFiltersSections[g]==""?o=o.replace(" [en {field_sections}]",this.predefinedFiltersSections[g]):o=o.replace("{field_sections}",this.predefinedFiltersSections[g]))}if(i[0].filter_records[m].match_lapse!==void 0){const g=i[0].filter_records[m].match_lapse.toString();(this.predefinedFiltersMatchLapse[g]||this.predefinedFiltersMatchLapse[g]=="")&&(this.predefinedFiltersMatchLapse[g]==""?o=o.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[g]):o=o.replace("{match_lapse}",this.predefinedFiltersMatchLapse[g]))}if(i[0].filter_records[m].playing_as!==void 0){const g=i[0].filter_records[m].playing_as.toString();(this.predefinedFiltersPlayingAs[g]||this.predefinedFiltersPlayingAs[g]=="")&&(this.predefinedFiltersPlayingAs[g]==""?o=o.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[g]):o=o.replace("{playing_as}",this.predefinedFiltersPlayingAs[g]))}i[0].filter_records[m].section_type!==void 0&&(this.optionSelected=="Jugadores"?o=o.replace("{section_type}","Jugadores"):o=o.replace("{section_type}","Equipos")),o=o.replace(/\[/g,""),o=o.replace(/\]/g,""),o=o.replace("{category_name}",i[0].category_name);const f=o.split(": ");var n=f[1];n.length>129&&this.windowWidth>1358&&(n=n.substring(0,129),n=n+"<span id='showIDtootip' class='dots' style='width: 100px; height: 20px; background: red; z-index: 6;'>...</span>"),(!this.isCup||i[0].filter_records[m].playing_as.length===2)&&this.arrayPredefinedFilters.push({id:m,category_name:e.name,id_category:i[0].id,title:f[0]+":",text:f[1],textOrigin:i[0].description,titledots:n,filtersPredefined:{matchResult:i[0].filter_records[m].match_result,playingAs:i[0].filter_records[m].playing_as,sections:i[0].filter_records[m].match_lapse,type:this.optionSelected=="Equipos"?2:1,typeZone:i[0].type_zone,zone:i[0].filter_records[m].field_sections,end_age:0,start_age:0,nationalities:[],elegible:[],positions:[]}})}var r=[];for(let m=0;m<this.arrayPredefinedFilters.length;m++){var c=0,p=new Set,d={},l=this.arrayPredefinedFilters[m].text.replace(/\*.*?\*/,"");if(l=l.replace(/\*/g,""),l=l.replace(/ +/g," "),this.arrayPredefinedFilters[m].filtersPredefined.elegible.length>0&&(c+=1),(this.arrayPredefinedFilters[m].filtersPredefined.end_age.length!=0||this.arrayPredefinedFilters[m].filtersPredefined.start_age.length!=0)&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.end_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0?d.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,this.arrayPredefinedFilters[m].filtersPredefined.end_age]:this.arrayPredefinedFilters[m].filtersPredefined.end_age==0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age==0?d.arrayAgeRange=[1,60]:this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.end_age==0?d.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,60]:d.arrayAgeRange=[1,this.arrayPredefinedFilters[m].filtersPredefined.end_age],this.arrayPredefinedFilters[m].filtersPredefined.matchResult.length!=3&&(c+=1),d.matchResult=this.arrayPredefinedFilters[m].filtersPredefined.matchResult,this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length>0&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length!=0){for(let f=0;f<this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length;f++)p.add(this.arrayPredefinedFilters[m].filtersPredefined.nationalities[f]);d.setNationalitiesIds=p}else p.add(138),p.add(222),p.add(163),p.add(51),p.add(226),p.add(10),p.add(223),p.add(96),p.add(171),p.add(198),p.add(105),p.add(80),p.add(29),p.add(74),p.add(216),p.add(196),p.add(64),p.add(155),p.add(156),p.add(89),p.add(106),p.add(81),p.add(233),p.add(204),d.setNationalitiesIds=p;this.arrayPredefinedFilters[m].filtersPredefined.playingAs.length!=2&&(c+=1),d.playingAs=this.arrayPredefinedFilters[m].filtersPredefined.playingAs,this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0?d.setPositionsIds=this.arrayPredefinedFilters[m].filtersPredefined.positions:d.setPositionsIds=[1,2,3,4,5,6,7,8,9],this.arrayPredefinedFilters[m].filtersPredefined.sections.length!=6&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.sections.length>0?d.sections=this.arrayPredefinedFilters[m].filtersPredefined.sections:d.sections=[1,2,3,4,5,6],this.arrayPredefinedFilters[m].filtersPredefined.zone.length!=16&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.zone.length>0?d.zone=this.arrayPredefinedFilters[m].filtersPredefined.zone:d.zone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],d.typeZone=this.arrayPredefinedFilters[m].filtersPredefined.typeZone,r.push({id:m+1,name:l,isSelected:!1,value:c,filters:d})}this.FVfilterGolstats=r,this.updateFilterGolstats+=1,this.arrayPredefinedOrigin=JSON.parse(JSON.stringify(this.arrayPredefinedFilters))}},getTextFilterPredefinedCustom(){this.setDinamicFilters(this.filterEmitAux);var e=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].textOrigin;const a=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.zone.sort((l,m)=>l-m).toString();this.predefinedFiltersSections[a]||this.predefinedFiltersSections[a]==""?this.predefinedFiltersSections[a]==""?e=e.replace(" [en {field_sections}]",this.predefinedFiltersSections[a]):e=e.replace("{field_sections}",this.predefinedFiltersSections[a]):e=e.replace("{field_sections}",this.predefinedFiltersSections.other);var t=!1;this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==this.setNationalityIds.size?(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==1?(e=e.replace("[{nationality}]",this.$t(`gentilicios[${[...this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities][0]}]`)),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size>0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size!=this.setPositionsIds.size?(t=!0,e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?(t||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size==this.setPositionsIds.size)&&(e=e.replace("[de las posiciones seleccionadas]","")):e=e.replace("[de las posiciones seleccionadas]",""),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]",""));const i=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.sections.sort().toString();if(this.predefinedFiltersMatchLapse[i]||this.predefinedFiltersMatchLapse[i]=="")this.predefinedFiltersMatchLapse[i]==""?e=e.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[i]):e=e.replace("{match_lapse}",this.predefinedFiltersMatchLapse[i]);else{e=e.replace("{match_lapse}"," "+this.predefinedFiltersMatchLapse.other);var o="";i.includes(1)&&(o=o+"0-15, "),i.includes(2)&&(o=o+"16-30, "),i.includes(3)&&(o=o+"31-45, "),i.includes(4)&&(o=o+"46-60, "),i.includes(5)&&(o=o+"61-75, "),i.includes(6)&&(o=o+"76-90, "),o=o.slice(0,-2),o=o.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",o)}const n=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[n]||this.predefinedFiltersPlayingAs[n]=="")&&(this.predefinedFiltersPlayingAs[n]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[n]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[n])),this.typeSelected==1?this.getUser.tournament==1001?this.category.id==22?e=e.replace("{section_type}","Porteras"):e=e.replace("{section_type}","Jugadoras"):this.category.id==22?e=e.replace("{section_type}","Porteros"):e=e.replace("{section_type}","Jugadores"):e=e.replace("{section_type}","Equipos"),e=e.replace(/\[/g,""),e=e.replace(/\]/g,""),e=e.replace("{category_name}",this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].category_name);const r=e.split(": ");let c=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1),p=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1);this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].text=c,this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].title=r[0]+":";const d=p.match(/\*/g);if(d&&d.length)if(d.length%2===0)for(let l=1;l<=d.length;l++)l%2===0||(p=p.replace("*",'<span style="color: #ffff03" >'));else p=p.replaceAll("*","");this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].titledots=p},intervalidtops(e){this.$emit("intervalidtops",e)}},mounted(){sessionStorage.getItem("sidpdfil")!==null&&sessionStorage.setItem("sidpdfil",0),this.renderNext(),this.teamId!==0&&this.clickTeam(this.teamId),this.defaultSection!=="Jugadores"&&this.changeTabsGeneral(this.defaultSection)},async created(){try{const e=k.create({headers:{"Content-Type":"application/json"}});e.interceptors.request.use(t=>(delete t.headers.Authorization,t));const a=await e.get("https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json",{headers:{"Content-Type":"application/json"}});this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204)}catch(e){throw new Error(e)}}},Xm={ref:"myDivRefTopsFull",style:{width:"100%","max-width":"100%","box-sizing":"border-box"}};function Qm(e,a,t,i,o,n){const r=s.resolveComponent("GSCTopCategory");return s.openBlock(),s.createElementBlock("div",Xm,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.categoryView,(c,p)=>(s.openBlock(),s.createElementBlock("div",{key:p,class:s.normalizeClass(e.toniKroosWrapperClass)},[(s.openBlock(),s.createBlock(r,{"is-widget":t.isWidget,"team-widget":t.teamWidget,"time-live-comparative-avanced":t.timeLiveComparativeAvanced,"is-team":o.isTeam,carrousel:t.carrousel,arrow:t.arrow,"border-width":0,"can-play-videos":t.canPlayVideos,"border-radius":"12px","game-id":t.gameId,game:t.game,typeData:t.typeData,category:c.id,"type-table":o.typeTable,categoryName:c.name,"season-selected":t.seasonSelected,season:t.seasonActive,"filter-team":t.teamselect,"num-rows":t.numRows,key:o.updateTables,"dummy-data":c.id===0?t.dummyData:null},null,8,["is-widget","team-widget","time-live-comparative-avanced","is-team","carrousel","arrow","can-play-videos","game-id","game","typeData","category","type-table","categoryName","season-selected","season","filter-team","num-rows","dummy-data"]))],2))),128))],512)}const ep=j(Ym,[["render",Qm],["__cssModules",{$style:Km}]]),tp=[{top:"01",name:"Nombre Jugador",name_short:"Nombre Jugador",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow@2x.png",id:9991,age:25,team:"DUM",teamid:1,position:"DEL",positionId:9,positionfull:"Delantero",country:138,effectiveness:100,minutes:90,games:1,date:"01-01-1999",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:0},{top:"02",name:"Nombre Jugador",name_short:"Nombre Jugador",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9992,age:27,team:"DUM",teamname:"Dummy FC",teamid:1,position:"MED",positionId:7,positionfull:"Medio",country:138,effectiveness:95,minutes:85,games:1,date:"02-02-1998",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:0},{top:"03",name:"Nombre Jugador",name_short:"Nombre Jugador",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9993,age:22,team:"DUM",teamname:"Dummy FC",teamid:1,position:"DEF",positionId:2,positionfull:"Defensa",country:138,effectiveness:90,minutes:80,games:1,date:"03-03-2000",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:0},{top:"04",name:"Nombre Jugador",name_short:"Nombre Jugador",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9994,age:24,team:"DUM",teamname:"Dummy FC",teamid:1,position:"POR",positionId:1,positionfull:"Portero",country:138,effectiveness:88,minutes:70,games:1,date:"04-04-1997",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:0},{top:"05",name:"Nombre Jugador",name_short:"Nombre Jugador",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9995,age:28,team:"DUM",teamname:"Dummy FC",teamid:1,position:"LAT",positionId:3,positionfull:"Lateral",country:138,effectiveness:85,minutes:60,games:1,date:"05-05-1995",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:0}],sp={class:"gsc-top-player"},ap=j({__name:"gsc-top-player",props:{categoryView:{type:Array,default:()=>[]},canPlayVideos:{type:Boolean,default:!0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},type:{type:Number,default:1},gamed:{type:Number,default:90209},season:{type:Number,default:1909},teamView:{type:Number,default:0},numRows:{type:Number,default:5}},setup(e){const a=e,t=a.categoryView.length===1&&a.categoryView[0].id===0?tp:null;return(i,o)=>(s.openBlock(),s.createElementBlock("div",sp,[s.createVNode(ep,{"can-play-videos":e.canPlayVideos,carrousel:e.carrousel,arrow:e.arrow,"type-data":e.type,"game-id":e.gamed,"season-active":e.season,teamselect:e.teamView,"category-view":e.categoryView,"num-rows":e.numRows,"dummy-data":s.unref(t)},null,8,["can-play-videos","carrousel","arrow","type-data","game-id","season-active","teamselect","category-view","num-rows","dummy-data"])]))}},[["__scopeId","data-v-6a13fd1b"]]),ip={class:"subcategory-group"},np={__name:"SubcategoryGroup",props:{subcategoryGroup:{type:Array,default:()=>[]}},setup(e){return(a,t)=>(s.openBlock(),s.createElementBlock("div",ip,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subcategoryGroup,i=>(s.openBlock(),s.createBlock(s.unref(pt),{key:i.id,modelValue:i.isSelected,"onUpdate:modelValue":o=>i.isSelected=o,label:i.name},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]))}},op=I(np,[["__scopeId","data-v-ae6f3d72"]]),rp={class:"filter-subcategories"},lp=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterSubcategories",props:{subcategoryGroups:{type:Array,default:()=>[]}},setup(e){return(a,t)=>(s.openBlock(),s.createElementBlock("div",rp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subcategoryGroups,i=>(s.openBlock(),s.createElementBlock("div",{key:i.id,class:"filter-subcategories__group"},[s.createVNode(op,{subcategoryGroup:i},null,8,["subcategoryGroup"])]))),128))]))}},[["__scopeId","data-v-5edaefc2"]])},Symbol.toStringTag,{value:"Module"})),Je=e=>(s.pushScopeId("data-v-80d9c265"),e=e(),s.popScopeId(),e),cp={class:"details__header"},dp=Je(()=>s.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),mp={class:"details__header__checkbox"},pp={class:"details__body"},fp={class:"details__body__playing-as"},hp=["onClick"],up={class:"details__header"},yp=Je(()=>s.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),gp={class:"details__header__checkbox"},_p={class:"details__body"},bp=Je(()=>s.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),Tp={class:"details__body__game-section"},Sp=["onClick"],wp={class:"details__body"},Cp=Je(()=>s.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),Ep={class:"details__body__game-section"},kp=["onClick"],Np=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterConditions",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},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;s.useCssVars(l=>({"49cba245":e.buttonsBackgroundColor,"52f02da6":e.buttonsTextColor,"7d3f686a":e.buttonsBorderWidth,"7c286a07":e.buttonsBorderColor,"24a6f4aa":e.buttonsBackgroundColorActive,cd8d7768:e.buttonsTextColorActive,"35fa5c10":e.buttonsBorderWidthActive,"0cde1826":e.buttonsBorderColorActive}));const t=s.computed(()=>a.playingAs.every(l=>l.isSelected)),i=s.computed(()=>a.gameSections.every(l=>l.isSelected)),o=s.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),n=s.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,f)=>{m.isSelected=f===0})}function c(l){a.playingAs.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function p(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,f)=>{m.isSelected=f===0})}return(l,m)=>(s.openBlock(),s.createElementBlock("div",{class:"details",style:s.normalizeStyle(n.value)},[s.createElementVNode("div",cp,[dp,s.createElementVNode("div",mp,[s.createVNode(s.unref(pt),{label:"Todos","model-value":t.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),s.createElementVNode("div",pp,[s.createElementVNode("div",fp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.playingAs,(f,g)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${g}`,class:s.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>c(f)},s.toDisplayString(f.name),11,hp))),128))])]),s.createElementVNode("div",up,[yp,s.createElementVNode("div",gp,[s.createVNode(s.unref(pt),{label:"Todos","model-value":i.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),s.createElementVNode("div",_p,[bp,s.createElementVNode("div",Tp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value.firstHalf,(f,g)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${g}`,class:s.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},s.toDisplayString(f.text),11,Sp))),128))])]),s.createElementVNode("div",wp,[Cp,s.createElementVNode("div",Ep,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value.secondHalf,(f,g)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${g}`,class:s.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},s.toDisplayString(f.text),11,kp))),128))])])],4))}},[["__scopeId","data-v-80d9c265"]])},Symbol.toStringTag,{value:"Module"})),xp={class:"filter-field"},Vp=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterField",setup(e){const a=s.ref(Array.from({length:16},(i,o)=>o+1));function t(){}return(i,o)=>(s.openBlock(),s.createElementBlock("div",xp,[s.createVNode(s.unref(Ar),{width:"100%","background-color":"#2E3B46",value:a.value,"onUpdate:modelValue":t},null,8,["value"])]))}},[["__scopeId","data-v-8103c3e1"]])},Symbol.toStringTag,{value:"Module"}));H.GscTopPlayer=ap,Object.defineProperty(H,Symbol.toStringTag,{value:"Module"})});
|