1(function(e){function n(n){for(var a,t,r=n[0],o=n[1],s=n[2],m=0,u=[];m<r.length;m++)t=r[m],Object.prototype.hasOwnProperty.call(d,t)&&d[t]&&u.push(d[t][0]),d[t]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);c&&c(n);while(u.length)u.shift()();return l.push.apply(l,s||[]),i()}function i(){for(var e,n=0;n<l.length;n++){for(var i=l[n],a=!0,t=1;t<i.length;t++){var r=i[t];0!==d[r]&&(a=!1)}a&&(l.splice(n--,1),e=o(o.s=i[0]))}return e}var a={},t={app:0},d={app:0},l=[];function r(e){return o.p+"js/"+({}[e]||e)+"."+{"chunk-15a9a8d0":"245371d1","chunk-1c81f9ce":"d0fb78d4","chunk-2d0c55c7":"868a79a0","chunk-2d0da3c3":"98a9d263","chunk-2d742f66":"a4b1ca3a","chunk-3e871c10":"30818458","chunk-426f669e":"20de8f08","chunk-4281452e":"126eafe1","chunk-140d91de":"d01b4b83","chunk-24879b62":"368f3906","chunk-1a01640d":"a8c7e303","chunk-a2718870":"88c37ace","chunk-2d208dfc":"eb2075eb","chunk-3773dd0a":"89257a5a","chunk-399b31df":"e4c96756","chunk-45b0e98e":"c8ead20c","chunk-7731d828":"aa8aa612","chunk-7d942eb9":"f0e6222a","chunk-8005fce8":"96a06917","chunk-48dfe681":"085caf52","chunk-50cf76b4":"7f34b313","chunk-66ab0318":"16825c80","chunk-6973150a":"7dc19a9b","chunk-14ee6927":"dc3bc5bd","chunk-2d0bb29c":"d55091af","chunk-6d1d8999":"999550d6","chunk-798bff43":"63cfb079","chunk-9e85b3e4":"29004b08","chunk-d5bb38b4":"ea7f6102","chunk-409a2271":"f5822a6d","chunk-7eba0cf5":"c6c5a0aa","chunk-b14b0bbe":"89f3abf7","chunk-2d0aacc0":"f57c36b2","chunk-2d0ab514":"b5b61e73","chunk-2d0b1e5f":"84e6d4f4","chunk-2d0b21c6":"bdeddeee","chunk-2d0b326e":"773415d8","chunk-2d0b34b9":"ad5edf1a","chunk-2d0ba549":"e350c97e","chunk-2d0bceb4":"7bc1a4a8","chunk-2d0bddf4":"f0c24d00","chunk-2d0bdf49":"c46448c2","chunk-2d0c0ebf":"711ce51d","chunk-2d0c1979":"760699f8","chunk-2d0c1b75":"3970d5f3","chunk-2d0cf715":"ad4a5325","chunk-2d0d691f":"8000c067","chunk-2d0d836a":"a9b2deef","chunk-2d0da410":"5c455c16","chunk-2d0e1743":"bbb59034","chunk-2d0e19ee":"3725b34f","chunk-2d0e1c30":"5f70be04","chunk-2d0e8e41":"6cce68a8","chunk-2d0e9358":"e765e9bf","chunk-2d0f0fd0":"78539031","chunk-2d0f11af":"174a67dd","chunk-2d2091bd":"944c45ab","chunk-2d209206":"07f1646b","chunk-2d20e860":"4b2d86dc","chunk-2d20f169":"526c3f86","chunk-2d20f186":"88e955fc","chunk-2d21009e":"4bb32095","chunk-2d212bf1":"9d6e5e6f","chunk-2d21329e":"9a760872","chunk-2d216f68":"967afc82","chunk-2d21a426":"6dd2842d","chunk-2d21d4e1":"eab6b297","chunk-2d21e3f7":"7aaf4543","chunk-2d224d24":"8cdd75d2","chunk-2d22d9a8":"99505034","chunk-2d22d9ba":"d7e83914","chunk-2d22db83":"72c0c647","chunk-2d237752":"ea638496","chunk-7fdcfda9":"c21d7495","chunk-2d216214":"84f07ad6","chunk-c5b77ed6":"00b23501"}[e]+".js"}function o(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.e=function(e){var n=[],i={"chunk-15a9a8d0":1,"chunk-1c81f9ce":1,"chunk-2d742f66":1,"chunk-3e871c10":1,"chunk-426f669e":1,"chunk-4281452e":1,"chunk-24879b62":1,"chunk-1a01640d":1,"chunk-a2718870":1,"chunk-3773dd0a":1,"chunk-399b31df":1,"chunk-45b0e98e":1,"chunk-7731d828":1,"chunk-7d942eb9":1,"chunk-8005fce8":1,"chunk-48dfe681":1,"chunk-50cf76b4":1,"chunk-66ab0318":1,"chunk-6973150a":1,"chunk-14ee6927":1,"chunk-6d1d8999":1,"chunk-798bff43":1,"chunk-9e85b3e4":1,"chunk-d5bb38b4":1,"chunk-409a2271":1,"chunk-7eba0cf5":1,"chunk-b14b0bbe":1};t[e]?n.push(t[e]):0!==t[e]&&i[e]&&n.push(t[e]=new Promise((function(n,i){for(var a="css/"+({}[e]||e)+"."+{"chunk-15a9a8d0":"6c015646","chunk-1c81f9ce":"0eb63f74","chunk-2d0c55c7":"31d6cfe0","chunk-2d0da3c3":"31d6cfe0","chunk-2d742f66":"be273907","chunk-3e871c10":"1a9b1bd6","chunk-426f669e":"fbbde70d","chunk-4281452e":"6ca741a2","chunk-140d91de":"31d6cfe0","chunk-24879b62":"ef3086c0","chunk-1a01640d":"a9f4450f","chunk-a2718870":"573ecb5e","chunk-2d208dfc":"31d6cfe0","chunk-3773dd0a":"ddfca53a","chunk-399b31df":"ce59f5a8","chunk-45b0e98e":"8554f68d","chunk-7731d828":"74f0a0de","chunk-7d942eb9":"3e2fdf2b","chunk-8005fce8":"4e40ae68","chunk-48dfe681":"34b64cd9","chunk-50cf76b4":"21a711dd","chunk-66ab0318":"7368539e","chunk-6973150a":"c10b3479","chunk-14ee6927":"4ece8352","chunk-2d0bb29c":"31d6cfe0","chunk-6d1d8999":"d8094448","chunk-798bff43":"e7a96688","chunk-9e85b3e4":"e5c8f516","chunk-d5bb38b4":"172a4cdf","chunk-409a2271":"0f1bef73","chunk-7eba0cf5":"6c015646","chunk-b14b0bbe":"7b584c70","chunk-2d0aacc0":"31d6cfe0","chunk-2d0ab514":"31d6cfe0","chunk-2d0b1e5f":"31d6cfe0","chunk-2d0b21c6":"31d6cfe0","chunk-2d0b326e":"31d6cfe0","chunk-2d0b34b9":"31d6cfe0","chunk-2d0ba549":"31d6cfe0","chunk-2d0bceb4":"31d6cfe0","chunk-2d0bddf4":"31d6cfe0","chunk-2d0bdf49":"31d6cfe0","chunk-2d0c0ebf":"31d6cfe0","chunk-2d0c1979":"31d6cfe0","chunk-2d0c1b75":"31d6cfe0","chunk-2d0cf715":"31d6cfe0","chunk-2d0d691f":"31d6cfe0","chunk-2d0d836a":"31d6cfe0","chunk-2d0da410":"31d6cfe0","chunk-2d0e1743":"31d6cfe0","chunk-2d0e19ee":"31d6cfe0","chunk-2d0e1c30":"31d6cfe0","chunk-2d0e8e41":"31d6cfe0","chunk-2d0e9358":"31d6cfe0","chunk-2d0f0fd0":"31d6cfe0","chunk-2d0f11af":"31d6cfe0","chunk-2d2091bd":"31d6cfe0","chunk-2d209206":"31d6cfe0","chunk-2d20e860":"31d6cfe0","chunk-2d20f169":"31d6cfe0","chunk-2d20f186":"31d6cfe0","chunk-2d21009e":"31d6cfe0","chunk-2d212bf1":"31d6cfe0","chunk-2d21329e":"31d6cfe0","chunk-2d216f68":"31d6cfe0","chunk-2d21a426":"31d6cfe0","chunk-2d21d4e1":"31d6cfe0","chunk-2d21e3f7":"31d6cfe0","chunk-2d224d24":"31d6cfe0","chunk-2d22d9a8":"31d6cfe0","chunk-2d22d9ba":"31d6cfe0","chunk-2d22db83":"31d6cfe0","chunk-2d237752":"31d6cfe0","chunk-7fdcfda9":"31d6cfe0","chunk-2d216214":"31d6cfe0","chunk-c5b77ed6":"31d6cfe0"}[e]+".css",d=o.p+a,l=document.getElementsByTagName("link"),r=0;r<l.length;r++){var s=l[r],m=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(m===a||m===d))return n()}var u=document.getElementsByTagName("style");for(r=0;r<u.length;r++){s=u[r],m=s.getAttribute("data-href");if(m===a||m===d)return n()}var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.onload=n,c.onerror=function(n){var a=n&&n.target&&n.target.src||d,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");l.code="CSS_CHUNK_LOAD_FAILED",l.request=a,delete t[e],c.parentNode.removeChild(c),i(l)},c.href=d;var k=document.getElementsByTagName("head")[0];k.appendChild(c)})).then((function(){t[e]=0})));var a=d[e];if(0!==a)if(a)n.push(a[2]);else{var l=new Promise((function(n,i){a=d[e]=[n,i]}));n.push(a[2]=l);
1var s,m=document.createElement("script");m.charset="utf-8",m.timeout=120,o.nc&&m.setAttribute("nonce",o.nc),m.src=r(e);var u=new Error;s=function(n){m.onerror=m.onload=null,clearTimeout(c);var i=d[e];if(0!==i){if(i){var a=n&&("load"===n.type?"missing":n.type),t=n&&n.target&&n.target.src;u.message="Loading chunk "+e+" failed.\n("+a+": "+t+")",u.name="ChunkLoadError",u.type=a,u.request=t,i[1](u)}d[e]=void 0}};var c=setTimeout((function(){s({type:"timeout",target:m})}),12e4);m.onerror=m.onload=s,document.head.appendChild(m)}return Promise.all(n)},o.m=e,o.c=a,o.d=function(e,n,i){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(i,a,function(n){return e[n]}.bind(null,a));return i},o.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],m=s.push.bind(s);s.push=n,s=s.slice();for(var u=0;u<s.length;u++)n(s[u]);var c=m;l.push([0,"chunk-vendors"]),i()})({0:function(e,n,i){e.exports=i("cd49")},"0242":function(e,n,i){"use strict";i.d(n,"f",(function(){return _})),i.d(n,"a",(function(){return g})),i.d(n,"c",(function(){return p})),i.d(n,"g",(function(){return j})),i.d(n,"e",(function(){return V})),i.d(n,"d",(function(){return E})),i.d(n,"b",(function(){return T}));i("d9e2"),i("caad"),i("e9c4");var a=i("260b"),t=(i("ea7b"),i("8934"),i("82dc")),d=i("0613"),l=i("c898"),r=i("49c4");const o=["footy-dev.netlify.app"],s=["footy.netlify.app","footy.nl","www.footy.nl","playfooty.com","www.playfooty.com","footy-rdev.netlify.app"],m="--footy.netlify.app",u="--footy-dev.netlify.app",c=()=>
1{if("undefined"===typeof window)return!1;const{hostname:e}=window.location;return o.includes(e)||e.endsWith(u)},k=()=>{if("undefined"===typeof window)return null;const{hostname:e}=window.location;return o.includes(e)?e:e.endsWith(u)?"footy-dev.netlify.app":s.includes(e)?e:e.endsWith(m)?"footy.netlify.app":null},v=()=>{const e=k();return Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_PROJECT_ID?{apiKey:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_API_KEY,authDomain:e||Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_AUTH_DOMAIN,databaseURL:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_DATABASE_URL,projectId:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"sk_live_51OPnRUHAjp8lYa2zINPTGDZRSKcS
1ZRLT8RSFFUK5QKy7qqq4f0wo0PxrLlnJq2KNYGpa3UWKyoC9jepZWN6NUxNh002ujUQUqv",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_PROJECT_ID,storageBucket:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_STORAGE_BUCKET,messagingSenderId:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_MESSAGING_SENDER_ID,appId:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_APP_ID,measurementId:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_MEASUREMENT_ID}:c()?{apiKey:"AIzaSyBC2Qmla3WTzKQe-LWAx3CI5Ku_YSLlVB4",authDomain:e||"footy-dev.netlify.app",databaseURL:"https://footy-staging.firebaseio.com",projectId:"footy-staging",storageBucket:"footy-staging.firebasestorage.app",messagingSenderId:"290349697004",appId:"1:290349697004:web:667966e89e229ccd0362c9",measurementId:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"sk_live_51OPnRUHAjp8lYa2zINPTGDZRSKcS
1ZRLT8RSFFUK5QKy7qqq4f0wo0PxrLlnJq2KNYGpa3UWKyoC9jepZWN6NUxNh002ujUQUqv",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_MEASUREMENT_ID}:{apiKey:"AIzaSyAC8jStLY7SjLQ7LVEP_dpqsBx-ZL7GNzc",authDomain:e||"footy.netlify.app",databaseURL:"https://footy-users.firebaseio.com",projectId:"footy-users",storageBucket:"footy-users.appspot.com",messagingSenderId:"477202226247",appId:"1:477202226247:web:8aa35886136b539744a562",measurementId:Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_FIREBASE_MEASUREMENT_ID}},f=v();a["a"].initializeApp(f),a["a"].getCurrentUser=()=>new Promise((e,n)=>{const i=a["a"].auth().onAuthStateChanged(n=>{i(),e(n)},n)});const _=async(e,n)=>{let i={code:0,errCode:"",providerId:""};a["a"].auth().languageCode=n;try{const n=await a["a"].auth().fetchSignInMethodsForEmail(e),t=n.includes("password");if(!t&&n.length>0)return V({eventName:"password_reset_social_login_required",email:e,provider:n[0],firebaseErrorCode:"auth/social-login-required",message:"Password reset requested for a social-login-only account"}),i={code:2,errCode:"auth/social-login-required",providerId:n[0]},i;await a["a"].auth().sendPasswordResetEmail(e),i={code:1,errCode:"",providerId:""}}catch(t){V({eventName:"password_reset_failed",email:e,firebaseErrorCode:(null===t||void 0===t?void 0:t.code)||null,message:(null===t||void 0===t?void 0:t.message)||"Password reset request failed"}),i={code:2,errCode:t.code,providerId:""}}return i},g=async e=>{let n={code:0,email:""};return await a["a"].auth().verifyPasswordResetCode(e).then(async e=>{n={code:1,email:e}}).catch(e=>{n={code:2,email:""}}),n},p=async(e,n,i)=>{let t=0;return await a["a"].auth().verifyPasswordResetCode(n).then(async i=>{const d=e;await a["a"].auth().confirmPasswordReset(n,d).then(e=>{t=1}).catch(e=>{t=2})}).catch(e=>{t=2}),t},N=a["a"].app().functions("europe-west1"),h=()=>c()?"setHasuraClaimsV2":"setHasuraClaims",y=()=>"https://europe-west1-footy-staging.cloudfunctions.net/setHasuraClaimsHttp",b=()=>"undefined"===typeof window?null:`${window.location.pathname}${window.location.search}`.slice(0,240),S=e=>{if("string"!==typeof e)return null;const n=e.trim();return n?n.slice(0,300):null},F=e=>{const n=Object(l["a"])(e);return n&&n.includes("@")&&n.split("@")[1]||null},w=e=>{const n=Object(l["a"])(e);return n?n.slice(0,200):null},O=()=>{if("undefined"!==typeof window){const{hostname:e}=window.location;if("footy.netlify.app"===e||e.endsWith("--footy.netlify.app"))return"prod";if(c())return"dev"}return"production"},j=()=>"undefined"!==typeof navigator&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent||""),V=async e=>{const n=S(e.message),i=w(e.email),a=F(e.email),d=["login_signin_failed","password_reset_failed","password_reset_social_login_required"],l=d.includes(e.eventName)?"warning":"error";t["c"](d=>{d.setTag("auth_stage",O()),d.setTag("auth_severity",l),d.setTag("auth_event",e.eventName),d.setTag("auth_provider",e.provider||"unknown"),e.correlationId&&d.setTag("auth_correlation_id",e.correlationId),e.firebaseErrorCode&&d.setExtra("firebaseErrorCode",e.firebaseErrorCode),e.authErrorCode&&d.setExtra("authErrorCode",e.authErrorCode),n&&d.setExtra("message",n);const r=b();r&&d.setExtra("route",r),"undefined"!==typeof window&&d.setExtra("hostname",window.location.hostname),Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"sk_live_51OPnRUHAjp8lYa2zINPTGDZRSKcS
1ZRLT8RSFFUK5QKy7qqq4f0wo0PxrLlnJq2KNYGpa3UWKyoC9jepZWN6NUxNh002ujUQUqv",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SENTRY_RELEASE&&d.setExtra("release",Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SENTRY_RELEASE),i&&d.setExtra("attemptedEmail",i),a&&d.setExtra("emailDomain",a),t["b"]("[auth] "+e.eventName)}),Object(r["b"])({category:"auth_event",severity:l,message:n||e.eventName,correlationId:e.correlationId||null,source:e.provider||null,extras:{eventName:e.eventName,provider:e.provider||null,firebaseErrorCode:e.firebaseErrorCode||null,authErrorCode:e.authErrorCode||null,attemptedEmail:i,emailDomain:a}},{sendToSentry:!1})},E=async e=>{const{uid:n,stage:i=O(),correlationId:t=null}=e;try{const e=a["a"].auth().currentUser;if(c()){if(!e)throw new Error("No authenticated Firebase user available for staging claims refresh");const a=await e.getIdToken(),d=await fetch(y(),{method:"POST",headers:{"content-type":"application/json",authorization:"Bearer "+a},body:JSON.stringify({uid:n,stage:i,correlationId:t})}),l=await d.json();if(!d.ok)throw new Error((null===l||void 0===l?void 0:l.message)||"Failed to refresh claims");return l.success&&e.uid===n&&await e.getIdToken(!0),l.success||Object(r["b"])({category:"claims_refresh_failed",severity:"account_not_provisioned"===l.status?"warning":"error",message:l.message||"Failed to refresh claims",correlationId:t,extras:{stage:i,status:l.status,profileComplete:l.profileComplete,missingRequiredFields:(l.missingRequiredFields||[]).join(","),errorCode:l.errorCode||null}},{sendToSentry:!1}),l}const d=N.httpsCallable(h()),l=await d({uid:n,stage:i,correlationId:t}),o=l.data;return o.success&&(null===e||void 0===e?void 0:e.uid)===n&&await e.getIdToken(!0),o.success||Object(r["b"])({category:"claims_refresh_failed",severity:"account_not_provisioned"===o.status?"warning":"error",message:o.message||"Failed to refresh claims",correlationId:t,extras:{stage:i,status:o.status,profileComplete:o.profileComplete,missingRequiredFields:(o.missingRequiredFields||[]).join(","),errorCode:o.errorCode||null}},{sendToSentry:!1}),o}catch(o){var d,l;return Object(r["b"])({category:"claims_refresh_failed",message:(null===o||void 0===o?void 0:o.message)||"Failed to refresh claims",correlationId:t,error:o,extras:{stage:i,errorCode:(null===o||void 0===o||null===(d=o.details)||void 0===d?void 0:d.errorCode)||"claims_not_ready"}},{sendToSentry:!1}),{success:!1,status:"error",claimsReady:!1,profileComplete:!1,missingRequiredFields:[],errorCode:(null===o||void 0===o||null===(l=o.details)||void 0===l?void 0:l.errorCode)||"claims_not_ready",message:(null===o||void 0===o?void 0:o.message)||"Failed to refresh claims"}}},T=async e=>{try{const n=N.httpsCallable("finalizeSignup"),i=await n(e),t=i.data,d=a["a"].auth().currentUser;return"error"!==t.status&&d&&await d.getIdToken(!0),"error"===t.status&&Object(r["b"])({category:"signup_finalize_failed",message:"finalizeSignup returned an error state",correlationId:("string"===typeof e.correlationId?e.correlationId:null)||t.correlationId,extras:{errorCode:t.errorCode||null,nextAction:t.nextAction}},{sendToSentry:!1}),t}catch(l){var n,i,t,d;return Object(r["b"])({category:"signup_finalize_failed",message:(null===l||void 0===l?void 0:l.message)||"finalizeSignup callable failed",correlationId:("string"===typeof e.correlationId?e.correlationId:null)||(null===l||void 0===l||null===(n=l.details)||void 0===n?void 0:n.correlationId)||null,error:l,extras:{errorCode:(null===l||void 0===l||null===(i=l.details)||void 0===i?void 0:i.errorCode)||"provisioning_failed"}},{sendToSentry:!1}),{status:"error",playerId:null,profileComplete:!1,nextAction:"retry",errorCode:(null===l||void 0===l||null===(t=l.details)||void 0===t?void 0:t.errorCode)||"provisioning_failed",correlationId:(null===l||void 0===l||null===(d=l.details)||void 0===d?void 0:d.correlationId)||null}}};a["a"].auth().onAuthStateChanged(e=>{e||(localStorage.removeItem("player"),d["a"].commit("resetPlayerState"))})},"02fb":function(e,n,i){"use strict";var a=i("bc3a"),t=i.n(a);const d="https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/";n["a"]=t.a.create({baseURL:d})},"05a0":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updatePlayerLanguage"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"_set"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}]}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"affected_rows"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:171}};i.loc.source={body:"mutation updatePlayerLanguage($userId: uuid!, $language: String!) {\n\tupdate_players(_set: { language: $language }, where: { id: { _eq: $userId } }) {\n\t\taffected_rows\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["updatePlayerLanguage"]=l(i,"updatePlayerLanguage")},"0613":function(e,n,i){"use strict";var a=i("2b0e"),t=i("2f62"),d=(i("d9e2"),i("260b")),l=(i("ea7b"),i("c898"));const r={},o={},s={async createFirebaseUser(e,{email:n,password:i}){try{const e=await d["a"].auth().createUserWithEmailAndPassword(Object(l["a"])(n),i);return e.user}catch(a){if("auth/email-already-in-use"===a.code)return{error:!0,msg:"EMAIL_EXISTS"};throw new Error(a.code)}},async signOut({commit:e}){try{localStorage.clear(),await d["a"].auth().signOut()}catch(n){return console.error("[auth.signOut] Error:",n),"error"}},async updatePassword(e,n){try{return await d["a"].auth().currentUser.updatePassword(n),{error:!1,msg:"Password updated successfully"}}catch(i){return{error:!0,message:i}}}},m={resetAuthState(e){e.user=null,localStorage.clear()}};var u={state:r,getters:o,actions:s,mutations:m},c=(i("14d9"),i("e9f5"),i("910d"),i("f665"),i("7d54"),i("ab43"),i("e9c4"),i("a684")),k=i("02fb"),v=i("922d"),f=i.n(v),_=i("ba86"),g=i.n(_),p=i("7182"),N=i.n(p),h=i("85c8"),y=i.n(h),b=i("252c"),S=i.n(b),F=i("05a0"),w=i.n(F),O=i("b9c0"),j=i.n(O),V=i("139a"),E=i.n(V),T=i("2be1"),P=i.n(T),L=i("f25f"),D=i.n(L),B=i("32c7"),q=i.n(B),I=i("6489"),x=i.n(I),A=i("55b6"),C=i("5184"),G=i("49c4");const R=e=>{if("number"===typeof e)return Number.isInteger(e)&&e>0?e:null;if("string"!==typeof e)return null;const n=e.trim().toLowerCase();if(!n||"null"===n||"undefined"===n||"nan"===n)return null;const i=Number(n);return Number.isInteger(i)&&i>0?i:null},U=()=>({player:null,playerTeams:[],playerTeamIds:[],playerBookings:[],sharedBookings:[],sharedToBookings:[],playerbillingAddress:[],customerBookings:[],customerBookingscancelled:[],showPlayerStatisticPage:{},marketing:!1}),$=U(),M={getPlayer:e=>e.player,getPlayerTeams:e=>e.playerTeams,getPlayerTeamIds:e=>e.playerTeamIds,getplayerBookings:e=>e.playerBookings,getsharedBookings:e=>e.sharedBookings,getplayerBillingAddress:e=>e.playerbillingAddress,getsharedToBookings:e=>e.sharedToBookings,getcustomerBookings:e=>e.customerBookings,getcustomerBookingscancelled:e=>e.customerBookingscancelled,getshowPlayerStatisticPage:e=>e.showPlayerStatisticPage},z=e=>{e?localStorage.setItem("player",JSON.stringify(e)):localStorage.removeItem("player")},K=(e,n,i={})=>{Object(G["b"])({category:"player_bootstrap_step_failed",message:`[players.getPlayerInfo] ${e} failed`,severity:"warning",error:n,extras:{step:e,...i}},{sendToSentry:!1})},H=()=>({data:{share_booking:[]}});let Q=[];const Z={async getLMBookings({commit:e,dispatch:n},i){try{const a=await c["a"].query({query:C["a"]` 2 query booking { 3 player_booking_schedules { 4 id 5 created_at 6 time_from 7 time_to 8 price 9 pitch_type 10 pitchId 11 pitch_id 12 player_booking_id 13 split 14 location_id 15 pitch { 16 type 17 name 18 location { 19 address 20 logo_url 21 name 22 currency 23 city { 24 id 25 name 26 country_id 27 } 28 } 29 } 30 location { 31 pitches { 32 id 33 pitch_name 34 } 35 } 36 player_booking { 37 player { 38 first_name 39 last_name 40 created_at 41 updated_at 42 cityByCity { 43 country { 44 name 45 } 46 name 47 } 48 } 49 player_id 50 payment_type 51 payment_id 52 } 53 display_date 54 date 55 } 56 } 57 `,fetchPolicy:"no-cache"}),t=await c["a"].query({query:C["a"]` 58 query playerbookingCancled {
59 player_booking_cancelled { 60 booker 61 city_id 62 country 63 created_at 64 date 65 display_date 66 location_id 67 payment 68 players 69 price 70 time_from 71 pitch_id 72 time_to 73 venu 74 pitch_type 75 location { 76 pitches { 77 id 78 pitch_name 79 } 80 } 81 pitch { 82 type 83 name 84 location { 85 address 86 logo_url 87 name 88 currency 89 city { 90 id 91 name 92 country_id 93 } 94 } 95 } 96 } 97 } 98 `,fetchPolicy:"no-cache"});Q=a.data.player_booking_schedules;const d=[];if(i){const l=[],r=[];a.data.player_booking_schedules.forEach(async e=>{l.some(n=>n.price==e.price&&n.date===e.date&&n.time_to===e.time_to&&n.time_from===e.time_from&&n.split===e.split&&n.pitch_type===e.pitch_type&&n.location_id===e.location_id)?(await n("deletePlayerBookings",{id:e.id}),r.push(e)):l.push(e)}),l.forEach(e=>{var n;(null===(n=e.player_booking)||void 0===n?void 0:n.player_id)===i.id&&d.push(e)}),t.data.player_booking_cancelled.forEach(e=>{e.players===i.first_name+" "+i.last_name&&d.push({...e,type:"player_booking_cancelled"})}),e("setPlayerBookings",d)}}catch(a){return console.error("[players.getLMBookings] Error:",a),Object(G["b"])({category:"player_bootstrap_bookings_failed",message:"[players.getLMBookings] failed",error:a,extras:{playerId:(null===i||void 0===i?void 0:i.id)||null,hasPayload:!!i}}),!1}},async getcustomerBookingsCancelled({commit:e},n){if(n){const i=n.id,a=await c["a"].query({query:C["a"]` 99 query getcustomerBookingsCancelled($customer_booking_id: String!) { 100 customer_bookings_cancled( 101 where: { customer_booking_id: { _eq: $customer_booking_id } } 102 ) { 103 created_at 104 time_from 105 time_to 106 price 107 pitch_id 108 split 109 location_id 110 date 111 payment 112 pitch { 113 type 114 name 115 location { 116 address 117 logo_url 118 name 119 currency 120 city { 121 id 122 name 123 country_id 124 } 125 pitches { 126 id 127 pitch_name 128 } 129 } 130 } 131 } 132 } 133 `,fetchPolicy:"no-cache",variables:{customer_booking_id:i}});e("setCustomerBookingscancelled",a)}},async getcustomerBookings({commit:e},n){if(n){const i=n.id,a=await c["a"].query({query:C["a"]` 134 query getcustomerBookings($customer_id: uuid!) { 135 customer_bookings(where: { customer_id: { _eq: $customer_id } }) { 136 created_at 137 id 138 created_at 139 time_from 140 time_to 141 price 142 field 143 location_id 144 customer_id 145 date 146 created_by 147 payment_method 148 pitch { 149 type 150 name 151 location { 152 address 153 logo_url 154 name 155 currency 156 city { 157 id 158 name 159 country_id 160 } 161 } 162 } 163 location { 164 pitches { 165 id 166 pitch_name 167 } 168 } 169 customer { 170 id 171 first_name 172 last_name 173 email 174 } 175 } 176 } 177 `,fetchPolicy:"no-cache",variables:{customer_id:i}});e("setCustomerBookings",a)}},async getSharedBookings({commit:e}
177,n){if(n){const i=n.id;try{const n=await c["a"].query({query:C["a"]` 178 query getSharedBookings($player_id: String!) { 179 share_booking(where: { player_id: { _eq: $player_id } }) { 180 booking_id 181 created_at 182 id 183 player_id 184 player_booking_schedules { 185 id 186 created_at 187 time_from 188 time_to 189 price 190 pitch_type 191 pitchId 192 pitch_id 193 player_booking_id 194 split 195 location_id 196 pitch { 197 type 198 name 199 location { 200 address 201 logo_url 202 name 203 currency 204 city { 205 id 206 name 207 country_id 208 } 209 } 210 } 211 location { 212 pitches { 213 id 214 pitch_name 215 } 216 } 217 player_booking { 218 player { 219 first_name 220 last_name 221 created_at 222 updated_at 223 cityByCity { 224 country { 225 name 226 } 227 name 228 } 229 } 230 player_id 231 payment_type 232 } 233 display_date 234 date 235 } 236 shared_by 237 updated_at 238 } 239 } 240 `,fetchPolicy:"no-cache",variables:{player_id:i}});return e("setPlayerSharedBookings",n),n}catch(a){return console.error("[players.getSharedBookings] Error:",a),e("setPlayerSharedBookings",H()),Object(G["b"])({category:"shared_bookings_load_failed",message:"[players.getSharedBookings] failed",severity:"warning",error:a,extras:{playerId:i||null}},{sendToSentry:!1}),H()}}const i=H();return e("setPlayerSharedBookings",i),i},async getSharedToBookings({commit:e},n){const i=n,a=await c["a"].query({query:C["a"]` 241 query getSharedtoBookings($booking_id: Int!) { 242 share_booking(where: { booking_id: { _eq: $booking_id } }) { 243 booking_id 244 created_at 245 id 246 player_id 247 player_name 248 player_booking_schedules { 249 id 250 created_at 251 time_from 252 time_to 253 price 254 pitch_type 255 pitchId 256 pitch_id 257 player_booking_id 258 split 259 location_id 260 pitch { 261 type 262 name 263 location { 264 address 265 logo_url 266 name 267 currency 268 city { 269 id 270 name 271 country_id 272 } 273 } 274 } 275 location { 276 pitches { 277 id 278 pitch_name 279 } 280 } 281 player_booking { 282 player { 283 first_name 284 last_name 285 created_at 286 updated_at 287 cityByCity { 288 country { 289 name 290 } 291 name 292 } 293 } 294 player_id 295 payment_type 296 } 297 display_date 298 date 299 } 300 shared_by 301 updated_at 302 } 303 } 304 `,fetchPolicy:"no-cache",variables:{booking_id:i}});a&&e("setPlayerSharedToBookings",a.data.share_booking)},async getCustomerSharedBookings({commit:e},n){const i=n,a=await c["a"].query({query:C["a"]` 305 query getCustomerSharedBookings($customer_booking_id: String) { 306 share_booking(where: { customer_booking_id: { _eq: $customer_booking_id } }) { 307 booking_id 308 created_at 309 id 310 player_id 311 player_name 312 player_booking_schedules { 313 id 314 created_at 315 time_from 316 time_to 317 price 318 pitch_type 319 pitchId 320 pitch_id 321 player_booking_id 322 split 323 location_id 324 pitch { 325 type 326 name 327 location { 328 address 329 logo_url 330 name 331 currency 332 city { 333 id 334 name 335 country_id 336 } 337 } 338 } 339 location { 340 pitches { 341 id 342 pitch_name 343 } 344 } 345 player_booking { 346 player { 347 first_name 348 last_name 349 created_at 350 updated_at 351 cityByCity { 352 country { 353 name 354 } 355 name 356 } 357 } 358 player_id 359 payment_type 360 } 361 display_date 362 date 363 } 364 shared_by 365 updated_at 366 } 367 } 368 `,fetchPolicy:"no-cache",variables:{customer_booking_id:i}});a&&e("setPlayerSharedToBookings",a.data.share_booking)},async createZendeskPlayer(e,n){try{const e=await k["a"].post("pwa/create-zendesk-player",n);return e.data}catch(i){return console.error("[players.createZendeskPlayer] Error:",i),null}},async updateTeamInZendesk(e,n){const i=R(null===n||void 0===n?void 0:n.zendesk_id);if(!n||!i)return!1;try{await k["a"].put("lm/zendesk_contact",{...n,zendesk_id:i}
368)}catch(a){return console.error("[players.updateTeamInZendesk] Error:",a),!1}},async getAllPlayers(e){const{data:n}=await c["a"].query({query:P.a});return n},async getPlayerByEmail(e,n){try{const{data:e}=await c["a"].query({query:f.a,fetchPolicy:"no-cache",variables:{email:n}});return e.players&&e.players.length?e.players[0]:null}catch(i){return console.error("[players.getPlayerByEmail] Error:",i),"error"}},async fetchPlayerAuthProfile(e,{firebaseId:n,signupMethod:i}){try{const{data:e}=await c["a"].query({query:S.a,fetchPolicy:"no-cache",variables:{firebaseId:n}}),a=e.players[0];return a?{status:"ready",player:{...a,signupMethod:i},errorCode:null,errorMessage:null}:{status:"not_found",player:null,errorCode:"account_not_provisioned",errorMessage:null}}catch(a){return console.error("[players.fetchPlayerAuthProfile] Error:",a),{status:"error",player:null,errorCode:"claims_not_ready",errorMessage:a instanceof Error?a.message:"Failed to load player profile"}}},async updatePlayer(e,n){try{const{data:e}=await c["a"].mutate({mutation:g.a,variables:{id:n.id,object:n}});if(!e)throw new Error("Unable to update player");return e}catch(i){throw console.error("[players.updatePlayer] Error:",i),Object(G["b"])({category:"player_update_failed",message:"[players.updatePlayer] failed",error:i,extras:{playerId:(null===n||void 0===n?void 0:n.id)||null,updatedFields:Object.keys(n||{}).filter(e=>"id"!==e).join(",")}}),i}},async createNewPlayerStatistic(e,n){const i={player_id:n.player_id,player_name:n.player_name,match_id:n.match_id,team_id:n.team_id,team_name:n.team_name,league_id:n.league_id,final_id:n.final_id,goals:n.goals,appearence:n.appearence};try{const e=await c["a"].mutate({mutation:D.a,variables:{objects:i}});return e}catch(a){return console.error("[players.createNewPlayerStatistic] Error:",a),a}},async getPlayerStatistic(e,n){try{const e=await c["a"].query({query:q.a,variables:{match_id:n.match_id,team_id:n.team_id,league_id:n.league_id}});return e}catch(i){return console.error("[players.getPlayerStatistic] Error:",i),i}},async getPlayerByFinalStatistic(e,n){try{const e=await c["a"].query({query:x.a,variables:{match_id:n.match_id,team_id:n.team_id,final_id:n.final_id}});return e}catch(i){return console.error("[players.getPlayerByFinalStatistic] Error:",i),i}},async registerPlayerWithTeam(e,{player:n,team:i}){const a=$.playerTeamIds.find(e=>e===i);if(void 0===a)try{var t,d;const e=await c["a"].mutate({mutation:N.a,variables:{player:n,team:i}}),a=e.data;return!(null===(t=a.insert_join_players_teams)||void 0===t||!t.returning.length)&&(null===(d=a.insert_join_players_teams)||void 0===d?void 0:d.returning[0])}catch(l){return console.error("[players.registerPlayerWithTeam] Error:",l),!1}else alert("You are already Joined to selected team")},async getPlayerInfo({dispatch:e,commit:n,state:i},{firebaseId:a,signupMethod:t}){try{const d=await e("fetchPlayerAuthProfile",{firebaseId:a,signupMethod:t});if("ready"!==d.status||!d.player)return z(null),n("resetPlayerState"),!1;const l=d.player;z(l),n("setPlayer",l);const r=Array.isArray(l.join_players_teams)?l.join_players_teams:[];n("setPlayerTeams",r.length?r:[]),await e("getPlayerBillingById",l.id),await e("getLMBookings",l);const o=Array.isArray(i.playerTeamIds)?i.playerTeamIds:[];return o.length&&e("getClubhouseMatches",o).catch(e=>{K("clubhouse_matches",e,{firebaseId:a,playerId:l.id,teamCount:o.length})}),l.language&&n("setUserLanguage",l.language),l}catch(d){return console.error("[players.getPlayerInfo] Error:",d),Object(G["b"])({category:"player_bootstrap_failed",message:"[players.getPlayerInfo] failed",error:d,extras:{firebaseId:a,signupMethod:t}}),!1}},async getPlayerBillingById({commit:e},n){if(n)try{const i=await c["a"].query({query:C["a"]` 369 query getPlayers($player_id: String!) { 370 player_billing_address(where: { player_id: { _eq: $player_id } }) { 371 city 372 country 373 id 374 invoice_name 375 player_id 376 postcode 377 statename_number 378 } 379 } 380 `,fetchPolicy:"no-cache",variables:{player_id:n}});return e("setplayerbillingAddress",i.data.player_billing_address),i.data.player_billing_address}catch(i){return K("billing_address",i,{playerId:String(n)}),e("setplayerbillingAddress",[]),[]}},async updatePlayerLanguage({state:e,commit:n},i){const a=e.player.id;return c["a"].mutate({mutation:w.a,variables:{userId:a,language:i}}).then(()=>n("setUserLanguage",i))},async updateRinger({state:e},n){const i=e.player.id;return c["a"].mutate({mutation:j.a,variables:{userId:i,status:n}})},async updateMarketingOptIn({state:e},n){const i=e.player.id;return c["a"].mutate({mutation:E.a,variables:{userId:i,status:n}})}
380,async getPlayerByFirebaseId(e,n){return c["a"].query({query:C["a"]` 381 query getPlayerByFirebaseId($firebaseId: String!) { 382 players(where: { firebase_id: { _eq: $firebaseId } }) { 383 id 384 firebase_id 385 join_players_teams { 386 teamObj: teamByTeam { 387 id 388 } 389 } 390 } 391 } 392 `,fetchPolicy:"no-cache",variables:{firebaseId:n}})},async removePlayerFromTeam({dispatch:e},n){const{player_id:i,team_id:a}=n;return c["a"].mutate({mutation:y.a,variables:{player_id:i,team_id:a}})}},Y={setshowPlayerStatisticPage:(e,n)=>e.showPlayerStatisticPage=n,setPlayer:(e,n)=>e.player=n,setplayerbillingAddress:(e,n)=>e.playerbillingAddress=n,setPlayerTeams:(e,n)=>{const i=n.map(({team:e})=>e);e.playerTeams=i,e.playerTeamIds=i.map(e=>e.id)},setPlayerBookings:(e,n)=>e.playerBookings=n,setPlayerSharedBookings:(e,n)=>{e.sharedBookings=n},setCustomerBookings:(e,n)=>{e.customerBookings=n},setCustomerBookingscancelled:(e,n)=>{e.customerBookingscancelled=n},setPlayerSharedToBookings:(e,n)=>{e.sharedToBookings=n},setUserLanguage:(e,n)=>{e.player&&(e.player.language=n),A["a"].locale=n},updateRingerStatus:(e,n)=>e.player.ringer=n,UpdateMarketingOptInStatus:(e,n)=>e.player.marketing=n,resetPlayerState:e=>Object.assign(e,U())};var J={state:$,getters:M,actions:Z,mutations:Y},W=(i("13d5"),i("9485"),i("1e70"),i("79a4"),i("c1a1"),i("8b00"),i("a4e7"),i("1e5a"),i("72c3"),i("c535")),X=i.n(W),ee=i("8ad8"),ne=i.n(ee),ie=i("4061"),ae=i.n(ie),te=i("7c16"),de=i.n(te),le=i("fa7d"),re=i.n(le),oe=i("28aa"),se=i.n(oe),me=i("52ef"),ue=i.n(me),ce=i("a71b"),ke=i.n(ce),ve=i("ffce"),fe=i.n(ve),_e=i("64b6"),ge=i.n(_e);const pe={},Ne={},he={async getTeamById(e,n){try{const e=await c["a"].query({query:X.a,variables:{id:n}});return e.data.teams[0]}catch(i){return console.error("[teams.getTeamById] Error:",i),"error"}},async getSearchTeam(e,n){try{n=`%${n}%`;const{data:e}=await c["a"].query({query:ne.a,variables:{searchTerm:n}});return e.teams.length?e.teams:[]}catch(i){return console.error("[teams.getSearchTeam] Error:",i),[]}},async searchCountryTeam(e,n){try{let e=n.searchTerm;const i=n.countryId;e=`%${e}%`;const{data:a}=await c["a"].query({query:ae.a,variables:{searchTerm:e,countryId:i}});return a.teams.length?a.teams:[]}catch(i){return console.error("[teams.searchCountryTeam] Error:",i),[]}},async getOtherTeams(e,n){try{const{isFinal:e,leagueId:i}=n,a=Array.isArray(null===n||void 0===n?void 0:n.playerTeams)?n.playerTeams:[];if(!i)return!1;const t=e?re.a:de.a,{data:d}=await c["a"].query({query:t,variables:{leagueId:i,playerTeams:a}}),l=d.teams.map(({team:e})=>e);return!(!l||!l.length)&&l}catch(i){return console.error("[teams.getOtherTeams] Error:",(null===i||void 0===i?void 0:i.message)||i),!1}},async getTeamData(e,n){try{const{data:e}=await c["a"].query({query:se.a,variables:{teamId:n}});return e.teams[0].matches=[...e.teams[0].matchesByHomeTeam,...e.teams[0].matchesByAwayTeam],e.teams[0]}catch(i){return console.error("[teams.getTeamData] Error:",i),!1}},async getTeamPlayers(e,n){try{const{data:e}=await c["a"].query({query:ue.a,variables:{teamId:n}});return e.players}catch(i){return console.error("[teams.getTeamPlayers] Error:",i),[]}},async getDeletedTeams(e,n){const{data:i}=await c["a"].query({query:fe.a,variables:{leagueId:n}});return i.join_league_teams},async getLeagueTeams({dispatch:e},n){try{const{data:i}=await c["a"].query({query:ke.a,variables:{leagueId:n}});let a=[],t=[],d=!1;i.matches&&i.matches.length&&t.push(i.matches),i.finals&&i.finals.length&&i.finals[0].finals_knockouts&&t.push(i.finals[0].finals_knockouts.map(e=>e.matches)),i.finals&&i.finals.length&&i.finals[0].finals_groups&&i.finals[0].finals_groups.length&&(t.push(i.finals[0].finals_groups.map(e=>e.matches)),d=!0),t=d?t:t.flat(4);const l=await e("getDeletedTeams",n);return l&&l.length&&!d?(a=t.reduce((e,n)=>(l.map(({team:i})=>{i.id!==n.homeTeam.id&&i.id!==n.awayTeam.id&&e.push(n)}
392),e),[]),a=[...new Set(a)]):a=t,{matches:a,points:i.points,isMatchGroup:d}}catch(i){return console.error("[teams.getLeagueTeams] Error:",i),[]}},async getUpcomingLeague(e,{teamId:n,query:i,orderBy:a}){try{const{data:e}=await c["a"].query({query:ge.a,variables:{teamId:n,query:i,orderBy:a}}),t=e.matches&&e.matches.length>0?e.matches[0]:null;return t&&t.league?t.league:null}catch(t){return console.error("[teams.getUpcomingLeague] Error:",t),null}}},ye={};var be={state:pe,getters:Ne,actions:he,mutations:ye},Se=i("0a8a"),Fe=i.n(Se),we=i("ba12"),Oe=i.n(we);const je={},Ve={},Ee={async getCities(){try{const{data:e}=await c["a"].query({query:Fe.a});return e.cities?e.cities:[]}catch(e){return console.error("[cities.getCities] Error:",e),[]}},async getCountryCode(e,n){try{const{data:e}=await c["a"].query({query:Oe.a,variables:{id:n}});return e.teams&&e.teams[0]?e.teams[0]:null}catch(i){return console.error("[cities.getCountryCode] Error:",i),null}}},Te={};var Pe={state:je,getters:Ve,actions:Ee,mutations:Te},Le=i("8656"),De=i.n(Le);const Be={async getAllCountries(){try{const{data:e}=await c["a"].query({query:De.a});return e.countries||[]}catch(e){return console.error("Error fetching countries",e),[]}}};var qe={actions:Be};const Ie={loading:!1,previousRoute:{},routeTeam:null,refreshApp:0},xe={getLoadingStatus:e=>e.loading,previousRoute:e=>e.previousRoute,getRefreshApp:e=>e.refreshApp},Ae={getCurrentFirebaseUser(){return d["a"].getCurrentUser()},async appInit({dispatch:e},{firebaseId:n,signupMethod:i}){try{var a;let t=null;if(n&&i||(t=await e("getCurrentFirebaseUser")),!t&&!n)return!1;const d={firebaseId:n||t.uid,signupMethod:i||(null===(a=t.providerData)||void 0===a||null===(a=a[0])||void 0===a?void 0:a.providerId)},l=await e("getPlayerInfo",d);if(l)return l}catch(t){throw new Error("Failed to load the app")}},async changeLanguage({dispatch:e},n){try{await e("updatePlayerLanguage",n)}catch(i){return console.error("[global.changeLanguage] Error:",i),i}},async refreshApp({rootState:e,dispatch:n,commit:i}){i("refreshApp")}},Ce={toggleLoading:(e,n=!1)=>e.loading=n,updatePreviousRoute:(e,n)=>e.previousRoute=n,setRouteTeamId:(e,n)=>e.routeTeam=n,refreshApp:e=>e.refreshApp+=1};var Ge={state:Ie,getters:xe,actions:Ae,mutations:Ce},Re=(i("caad"),i("f68f")),Ue=i.n(Re),$e=i("c281"),Me=i("4a89"),ze=i("5645"),Ke=i.n(ze),He=i("8689"),Qe=i.n(He);const Ze=({league:e,knockout:n,group:i},a,t)=>{let d={};return null!==e&&void 0!==e&&e.id&&(d={id:null===e||void 0===e?void 0:e.id,name:null===e||void 0===e?void 0:e.display_name,type:(null===e||void 0===e?void 0:e.__typename)||"leagues",league_type:e.league_type}),null!==n&&void 0!==n&&n.final&&null!==n&&void 0!==n&&n.final.id&&(d={id:n.final.id,name:n.final.display_name,type:n.final.__typename||"finals"},a&&t&&a(t,!0)),null!==i&&void 0!==i&&i.final&&null!==i&&void 0!==i&&i.final.id&&(d={id:i.final.id,name:i.final.display_name,type:(null===n||void 0===n?void 0:n.final.__typename)||"finals"},a&&t&&a(t,!0)),d||(d={id:null===e||void 0===e?void 0:e.id,name:null===e||void 0===e?void 0:e.display_name,type:(null===e||void 0===e?void 0:e.__typename)||"leagues"}),d},Ye=()=>({clubhouseMatches:{}}),Je=Ye(),We={getClubhouseMatches:e=>e.clubhouseMatches},Xe={async getClubhouseMatches({commit:e,rootState:n,dispatch:i},a){const t=Object(Me["a"])(),{data:d}=await c["a"].query({query:Ue.a,variables:{ids:a,currentDate:t}});if(d.upcomingMatches.length){const e=Object($e["g"])(d.upcomingMatches),n=[],i=[];e.map(e=>{e.placeholder_home_team&&"seed"!==e.placeholder_home_team.type||e.placeholder_away_team&&"seed"!==e.placeholder_away_team.type||i.push(e)});for(const t in i){const e=i[t];if(n.includes(e.date)||n.push(e.date),2==n.length)break}const a=[];i.map(e=>{n.includes(e.date)&&a.push(e)}),d.upcomingMatches=a}const l=n.Global.routeTeam;if(!n.Fixtures.selectedFixtureTeam)if(d.upcomingMatches.length||l){if(l&&l.id&&l.route&&"fixtures"===l.route){const n=await i("getTeamById",l.id);n&&(e("setFixtureTeam",n),e("setFixtureLeague",null))}else if(d.upcomingMatches.length&&(!l||"fixtures"!==l.route)){var r;const n=d.upcomingMatches.findIndex(e=>!e.is_friendly),i=-1!==n?n:0,a=d.upcomingMatches[i],t=Object($e["f"])(null===(r=a.home_team)||void 0===r?void 0:r.id)?a.home_team:a.away_team,l=a.league,o=a.finals_knockout,s=a.finals_group,m={id:null===t||void 0===t?void 0:t.id,name:null===t||void 0===t?void 0:t.name},u=Ze({league:l,knockout:o,group:s},e,"setIsFinalsSelected");e("setFixtureTeam",m),e("setFixtureLeague",u)}}else{var o,s;const i=n.Player.playerTeams;if(!i&&!i.length)return;const a={id:null===(o=i[0])||void 0===o?void 0:o.id,name:null===(s=i[0])||void 0===s?void 0:s.name};e("setFixtureTeam",a)}if(!n.Results.selectedResultTeam)if(d.pastMatches.length||l){if(l&&l.id&&l.route&&"results"===l.route){const n=await i("getTeamById",l.id);n&&(e("setResultTeam",n),e("setResultLeague",null))}else if(d.pastMatches.length&&(!l||"results"!==l.route)){var m;const n=d.pastMatches.findIndex(e=>!e.is_friendly),i=-1!==n?n:0,a=d.pastMatches[i],t=Object($e["f"])(null===(m=a.home_team)||void 0===m?void 0:m.id)?a.home_team:a.away_team,l=a.league,r=a.finals_knockout,o=a.finals_group,s={id:null===t||void 0===t?void 0:t.id,name:null===t||void 0===t?void 0:t.name},u=Ze({league:l,knockout:r,group:o},e,"setIsResultFinalsSelected");e("setResultTeam",s),e("setResultLeague",u)}}else{var u,k;const i=n.Player.playerTeams;if(!i&&!i.length)return;const a={id:null===(u=i[0])||void 0===u?void 0:u.id,name:null===(k=i[0])||void 0===k?void 0:k.name};e("setResultTeam",a)}if(!n.Standings.selectedStandingTeam)if(l&&l.id&&l.route&&"standings"===l.route){const n=await i("getTeamById",l.id);e("setStandingTeam",n),e("setStandingLeague",null)}else{const i=n.Fixtures;e("setStandingTeam",i.selectedFixtureTeam),e("setStandingLeague",i.selectedFixtureLeague)}e("setClubhouseMatches",d)},async getMatchesByLeagueId(e,n){try{const{data:e}=await c["a"].query({query:Ke.a,variables:{id:n}});return e.leagues&&e.leagues.length?e.leagues[0]:null}catch(i){return console.error("[matches.getMatchesByLeagueId] Error:",i),null}},async getMatchesByFinalId(e,n){try{const{data:e}=await c["a"].query({query:Qe.a,variables:{id:n}}),i=[];return e.finals_groups&&e.finals_groups.length&&e.finals_groups.map(e=>{e.matches.map(e=>{i.push(e)})}),e.finals_knockouts&&e.finals_knockouts.length&&e.finals_knockouts.map(e=>{e.matches.map(e=>{i.push(e)})}),i.length?i:null}catch(i){return console.error("[matches.getMatchesByFinalId] Error:",i),null}}},en={setClubhouseMatches:(e,n)=>e.clubhouseMatches=n,resetMatchState:e=>Object.assign(e,Ye())};var nn={state:Je,getters:We,actions:Xe,mutations:en},an=i("32dd"),tn=i.n(an),dn=i("5854"),ln=i.n(dn),rn=i("f622"),on=i.n(rn),sn=i("507b"),mn=i.n(sn),un=i("e8e6"),cn=i.n(un),kn=i("76d3"),vn=i.n(kn);const fn=()=>({selectedFixtureTeam:null,selectedFixtureLeague:null,isFinalsSelected:!1}),_n=fn(),gn={getSelectedFixtureTeam:e=>e.selectedFixtureTeam,getSelectedFixtureLeague:e=>e.selectedFixtureLeague,getIsFinalsSelected:e=>e.isFinalsSelected},pn={async getFixtureLeagues({state:e,commit:n,dispatch:i,rootState:a},t){try{var d;const l=Boolean(t),r=l?tn.a:mn.a,o=null===a||void 0===a||null===(d=a.Player)||void 0===d?void 0:d.playerTeamIds,s=Array.isArray(o)?o:[],m=l?t:s;if(!l&&!s.length)return[];const{data:u}=await c["a"].query({query:r,variables:{teamId:m}});if(!e.selectedFixtureLeague){const e=Object(Me["a"])(),a={teamId:t?[t]:s,query:{_gte:e},orderBy:"asc"},d=await i("getUpcomingLeague",a);n("setFixtureLeague",d||u.leagues[0])}return[...u.leagues,...u.finals]}catch(l){return console.error("[fixtures.getFixtureLeagues] Error:",(null===l||void 0===l?void 0:l.message)||l),[]}},async getLeagueFixtures({state:e},n){try{var i;const a=Object(Me["a"])(),t=null===(i=e.selectedFixtureTeam)||void 0===i?void 0:i.id;if(t){const{data:e}=await c["a"].query({query:cn.a,variables:{leagueId:n,teamId:t,currentDate:a}});return e.matches&&e.matches.length?e.matches:[]}{const{data:e}=await c["a"].query({query:ln.a,variables:{leagueId:n,currentDate:a}});return e.matches&&e.matches.length?e.matches:[]}}catch(a){return console.error("[fixtures.getLeagueFixtures] Error:",a),[]}},async getFinalFixtures({state:e},n){try{var i;const a=Object(Me["a"])(),t=null===(i=e.selectedFixtureTeam)||void 0===i?void 0:i.id;let d=null;if(t){const{data:e}=await c["a"].query({query:vn.a,variables:{finalId:n,teamId:t,currentDate:a}});d=e.finals[0]}else{const{data:e}=await c["a"].query({query:on.a,variables:{finalId:n,currentDate:a}});d=e.finals[0]}if(d){d.finals_groups;const e={};return d.finals_groups&&d.finals_groups.length&&(e.finals_groups=d.finals_groups),d.finals_knockouts&&d.finals_knockouts.length&&(e.finals_knockouts=d.finals_knockouts[0].matches),e}}catch(a){return console.error("[fixtures.getFinalFixtures] Error:",a),{}}}},Nn={setFixtureTeam:(e,n)=>e.selectedFixtureTeam=n,setFixtureLeague:(e,n)=>e.selectedFixtureLeague=n,setIsFinalsSelected:(e,n)=>e.isFinalsSelected=n,resetFixturesState:e=>Object.assign(e,fn())};var hn={state:_n,getters:gn,actions:pn,mutations:Nn},yn=i("9bd8"),bn=i.n(yn),Sn=i("a90a"),Fn=i.n(Sn),wn=i("9c02"),On=i.n(wn),jn=i("6e8d"),Vn=i.n(jn),En=i("eedc"),Tn=i.n(En),Pn=i("840b"),Ln=i.n(Pn);const Dn=()=>({selectedResultTeam:null,selectedResultLeague:null,isFinalsSelected:!1}),Bn=Dn(),qn={getSelectedResultTeam:e=>e.selectedResultTeam,getSelectedResultLeague:e=>e.selectedResultLeague,getIsResultFinalsSelected:e=>e.isFinalsSelected},In={async getResultLeagues({state:e,commit:n,dispatch:i,rootState:a},t){const d=t?bn.a:Fn.a,l=a.Player.playerTeamIds,{data:r}=await c["a"].query({query:d,variables:{teamId:t||l}});if(!e.selectedResultLeague){const e=Object(Me["a"])(),a={teamId:t?[t]:l,query:{_lte:e},orderBy:"desc"},d=await i("getUpcomingLeague",a);n("setResultLeague",d||r.leagues[0])}return[...r.leagues,...r.finals]},async getResultFixtures({state:e},n){try{var i;const a=Object(Me["a"])(),t=null===(i=e.selectedResultTeam)||void 0===i?void 0:i.id;if(t){const{data:e}=await c["a"].query({query:On.a,variables:{leagueId:n,teamId:t,currentDate:a}});return e.matches&&e.matches.length?e.matches:[]}{const{data:e}=await c["a"].query({query:Vn.a,variables:{leagueId:n,currentDate:a}});return e.matches&&e.matches.length?e.matches:[]}}catch(a){return console.error("[results.getResultFixtures] Error:",a),[]}},async getFinalResults({state:e},n){try{var i;const a=Object(Me["a"])(),t=null===(i=e.selectedResultTeam)||void 0===i?void 0:i.id;let d=null;if(t){const{data:e}=await c["a"].query({query:Tn.a,variables:{finalId:n,teamId:t,currentDate:a}});d=e.finals[0]}else{const{data:e}=await c["a"].query({query:Ln.a,variables:{finalId:n,currentDate:a}});d=e.finals[0]}if(d){const e={};return d.finals_groups&&d.finals_groups.length&&(e.finals_groups=d.finals_groups),d.finals_knockouts&&d.finals_knockouts.length&&(e.finals_knockouts=d.finals_knockouts[0].matches),e}return{}}catch(a){return console.error("[results.getFinalResults] Error:",a),{}}}},xn={setResultTeam:(e,n)=>e.selectedResultTeam=n,setResultLeague:(e,n)=>e.selectedResultLeague=n,setIsResultFinalsSelected:(e,n)=>e.isFinalsSelected=n,resetResultState:e=>Object.assign(e,Dn())};var An={state:Bn,getters:qn,actions:In,mutations:xn},Cn=i("93ff"),Gn=i.n(Cn),Rn=i("c80d"),Un=i.n(Rn),$n=i("8557"),Mn=i.n($n),zn=i("1192"),Kn=i.n(zn),Hn=i("1a65"),Qn=i.n(Hn);const Zn=()=>({selectedStandingTeam:null,selectedStandingLeague:null,isFinalsSelected:!1}),Yn=Zn(),Jn={getSelectedStandingTeam:e=>e.selectedStandingTeam,getSelectedStandingLeague:e=>e.selectedStandingLeague,getIsStandingsFinalsSelected:e=>e.isFinalsSelected},Wn={async getStandingLeagues({rootState:e,commit:n,state:i,dispatch:a},t){try{const d=t?Gn.a:Un.a,l=e.Player.playerTeamIds,{data:r}=await c["a"].query({query:d,variables:{teamId:t||l}});if(!i.selectedStandingLeague){const e=Object(Me["a"])(),i={teamId:t?[t]:l,query:{_lte:e},orderBy:"desc"}
392,d=await a("getUpcomingLeague",i);n("setStandingLeague",d||r.leagues[0])}return[...r.leagues,...r.finals]}catch(d){return console.error("[standings.getStandingLeagues] Error:",d),[]}},async getAttachedLeagues(e,n){try{const{data:e}=await c["a"].query({query:Mn.a,variables:{leagueId:n}});return e}catch(i){return console.error("[standings.getAttachedLeagues] Error:",i),{attachedMiniLeagues:[],attachedFinals:[]}}},async getParentLeagueData(e,n){const{data:i}=await c["a"].query({query:Kn.a,variables:{leagueId:n}}),a=i.join_leagues_mini_leagues.map(e=>({name:e.league.display_name,matches:e.league.matches}));return a},async getMOMGroupData(e,n){try{const{data:e}=await c["a"].query({query:Qn.a,variables:{leagueId:n}});return e.join_man_of_the_matches_leagues}catch(i){return console.error("[standings.getMOMGroupData] Error:",i),{attachedMiniLeagues:[],attachedFinals:[]}}}},Xn={setStandingTeam:(e,n)=>e.selectedStandingTeam=n,setStandingLeague:(e,n)=>e.selectedStandingLeague=n,setIsStandingsFinalsSelected:(e,n)=>e.isFinalsSelected=n,resetStandingState:e=>Object.assign(e,Zn())};var ei={state:Yn,getters:Jn,actions:Wn,mutations:Xn},ni=i("3a44"),ii=i.n(ni);const ai={},ti={},di={async getLeagueById(e,n){try{const{data:e}=await c["a"].query({query:ii.a,variables:{leagueId:n}});return e.leagues&&e.leagues.length?e.leagues[0]:e.finals&&e.finals.length?e.finals[0]:null}catch(i){return console.error("[leagues.getLeagueById] Error:",i),null}}},li={};var ri={state:ai,getters:ti,actions:di,mutations:li},oi=(i("1236"),i("c54c")),si=i.n(oi),mi=i("9b8c"),ui=i.n(mi),ci=i("2c04"),ki=i.n(ci),vi=i("3734"),fi=i.n(vi),_i=i("4111"),gi=i.n(_i),pi=i("9c56"),Ni=i.n(pi),hi=i("3587"),yi=i.n(hi),bi=i("35fa"),Si=i.n(bi),Fi=i("940f"),wi=i.n(Fi),Oi=i("b63c"),ji=i.n(Oi),Vi=i("80c5"),Ei=i.n(Vi),Ti=i("c70c"),Pi=i.n(Ti),Li=i("96be"),Di=i.n(Li),Bi=i("5383"),qi=i.n(Bi),Ii=i("564d"),xi=i.n(Ii),Ai=i("4a83"),Ci=i.n(Ai),Gi=i("cac4"),Ri=i.n(Gi),Ui=i("5cb2"),$i=i.n(Ui),Mi=i("0d6d"),zi=i.n(Mi),Ki=i("3edd"),Hi=i.n(Ki),Qi=i("b09f"),Zi=i.n(Qi),Yi=i("2104"),Ji=i.n(Yi),Wi=i("ec28"),Xi=i.n(Wi),ea=i("3cf9"),na=i.n(ea),ia=i("5a0c"),aa=i.n(ia);const ta=()=>({}),da=ta(),la={},ra={async getLocationsByCountry(e,n){try{const{data:e}=await c["a"].query({query:si.a,variables:{locationId:n}});return e.locations}catch(i){return console.error("[booking.getLocationsByCountry] Error:",i),{attachedMiniLeagues:[],attachedFinals:[]}}},async getLocationById(e,n){try{const{data:e}=await c["a"].query({query:ui.a,variables:{id:n}});return e.location}catch(i){return console.error("[booking.getLocationById] Error:",i),{attachedMiniLeagues:[],attachedFinals:[]}}},async getPlayerBookingScheduleOnLocation(e,n){const{data:i}=await c["a"].query({query:xi.a,variables:{location_id:n.location_id}});return i},async getPlayerBookingScheduleOnLocationDate(e,n){const i=aa()().subtract(30,"minute").toISOString(),{data:a}=await c["a"].query({query:Ci.a,variables:{location_id:n.location_id,date:n.date,holdCutoff:i}});return a},async getPlayerBookingScheduleOnLocationDatePublic(e,n){const{data:i}=await c["a"].query({query:Ri.a,variables:{location_id:n.location_id,date:n.date},context:{skipAuthorization:!0,headers:{"x-hasura-location-id":n.location_id}}});return i},async checkPlayerBookingSchedule(e,n){const{data:i}=await c["a"].query({query:qi.a,variables:{date:n.date,location_id:n.location_id,pitch_id:n.pitch_id,time_from:n.time_from,time_to:n.time_to}});return i},async getCheckoutSessionId(e,n){try{var i;const e=await c["a"].query({query:C["a"]` 393 query GetCheckoutSessionId($bookingId: Int!) { 394 player_bookings_stripe_by_pk(id: $bookingId) { 395 id 396 email_data 397 } 398 } 399 `,variables:{bookingId:n}});if(!e.data.player_bookings_stripe_by_pk)throw new Error(`Booking with ID ${n} not found`);let t=e.data.player_bookings_stripe_by_pk.email_data;if("string"===typeof t)try{t=JSON.parse(t)}catch(a){return console.error("Failed to parse email_data:",a),null}const d=null===(i=t)||void 0===i?void 0:i.checkout_session_id;return d}catch(t){throw console.error("Failed to fetch checkout session ID:",t),t}},async setPlayerBookingCancelled(e,n){try{const{data:e}=await c["a"].mutate({mutation:Zi.a,variables:{date:n.date,location_id:n.location_id,player_booking_id:n.player_booking_id,display_date:n.display_date,price:n.price,pitchId:n.pitchId,pitch_id:n.pitch_id,pitch_type:n.pitch_type,split:n.split,time_from:n.time_from,time_to:n.time_to,created_at:n.created_at,players:n.players||null,booker:n.bookers||n.booker||null,venu:n.venu||null,payment:n.payment||null,city_id:n.
399city_id||null,country:n.country||null,email:n.email||null,paid:n.paid,edited_on:n.edited_on,payment_id:n.payment_id||null,refund_id:n.refund_id||null,refund_status:n.refund_status||null,refund_error:n.refund_error||null}});return e&&e.insert_player_booking_cancelled?e:null}catch(i){return console.error("[booking.setPlayerBookingCancelled] Error:",i),null}},async updatePlayerBookingSchedules(e,n){try{const e=await c["a"].mutate({mutation:$i.a,variables:{payload:n}});return e}catch(i){return console.error("[booking.updatePlayerBookingSchedules] Error:",i),i}},async updateCustomerBookings(e,n){try{const e=await c["a"].mutate({mutation:zi.a,variables:{payload:{...n,price:parseInt(n.price)}}});return e}catch(i){return console.error("[booking.updateCustomerBookings] Error:",i),i}},async setCustomerBookingCancled(e,n){const{data:i}=await c["a"].mutate({mutation:Xi.a,variables:{date:n.date,location_id:n.location_id,customer_booking_id:n.customer_booking_id,display_date:n.display_date,pitch_id:n.pitch_id,price:n.price,pitch_type:n.pitch_type,split:n.split,time_from:n.time_from,time_to:n.time_to,deleted_id:n.deleted_id,created_at:n.bookedOn,players:n.players,booker:n.booker,venu:n.venu,payment:n.payment,city_id:n.city_id,country:n.country,is_public:n.is_public,email:n.email,edited_on:n.edited_on}});return i},async deleteCustomerBooking({dispatch:e},n){await c["a"].mutate({mutation:na.a,variables:{eventId:n}}).catch(e=>{console.error("[booking.deleteCustomerBooking] Error:",e)})},async deletePlayerBookings(e,n){const i="number"===typeof n?n:"number"===typeof(null===n||void 0===n?void 0:n.id)?n.id:"string"===typeof n?Number(n):"string"===typeof(null===n||void 0===n?void 0:n.id)?Number(n.id):NaN;if(!Number.isInteger(i))return Object(G["b"])({category:"booking_delete_invalid_id",message:"[booking.deletePlayerBookings] invalid booking id payload",severity:"warning",extras:{payloadType:typeof n,payloadIdType:typeof(null===n||void 0===n?void 0:n.id)}}),!1;try{const e=await c["a"].mutate({mutation:Hi.a,variables:{id:i}});return e}catch(a){return console.error("[booking.deletePlayerBookings] Error:",a),null}},async getCountryName(e,n){try{const e=null!==n&&void 0!==n&&n.id?String(n.id):"",i=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;if(!i.test(e))return{countries:[]};const{data:a}=await c["a"].query({query:Ji.a,variables:{uid:e}});return a}catch(i){return console.error("[booking.getCountryName] Error:",i),{message:["error",i]}}},async setPlayerBookings({dispatch:e},n){const i={date:n.date,payment_type:n.payment_type,player_id:n.player_id,price:""+n.price,time:n.time,stripe_id:n.stripe_id,payment_id:n.payment_id,email_data:n.email_data},a=await c["a"].mutate({mutation:Ei.a,variables:{payload:{booking:i,schedules:Array.isArray(n.schedules)?n.schedules:[]}}}).catch(e=>{throw console.error("[booking.setPlayerBookings] Error:",e),e});return a},async getPlayerBookingswherestripeidmatches({dispatch:e},n){const i=await c["a"].query({query:C["a"]` 400 query getSharedtoBookings($stripe_id: String!) { 401 player_bookings(where: { stripe_id: { _eq: $stripe_id } }) { 402 price 403 player_id 404 payment_type 405 id 406 date 407 stripe_id 408 time 409 } 410 } 411 `,fetchPolicy:"no-cache",variables:{stripe_id:n}});return i.data.player_bookings},async getPlayerBookingsStripeWhereStripeIdMatches({dispatch:e},n){const i=await c["a"].query({query:C["a"]` 412 query getSharedtoBookings($stripe_id: String!) { 413 player_bookings_stripe(where: { stripe_id: { _eq: $stripe_id } }) { 414 price 415 player_id 416 payment_type 417 id 418 date 419 stripe_id 420 time 421 } 422 } 423 `,fetchPolicy:"no-cache",variables:{stripe_id:n}});return i.data.player_bookings_stripe},async getPlayerBookingsSchedulesWhereStripeIdMatches({dispatch:e},n){const i=await c["a"].query({query:C["a"]` 424 query getSharedtoBookings($stripe_id: String!) { 425 player_booking_schedules(where: { stripe_id: { _eq: $stripe_id } }) { 426 created_at 427 date 428 display_date 429 id 430 location_id 431 pitchId 432 pitch_id 433 pitch_type 434 player_booking_id 435 price 436 split
437 stripe_id 438 time_from 439 time_to 440 } 441 } 442 `,fetchPolicy:"no-cache",variables:{stripe_id:n}});return i.data.player_booking_schedules},async getPlayerBookingsScheduleStripeWhereStripeIdMatches({dispatch:e},n){const i=await c["a"].query({query:C["a"]` 443 query getSharedtoBookings($stripe_id: String!) { 444 player_booking_schedule_stripe(where: { stripe_id: { _eq: $stripe_id } }) { 445 created_at 446 date 447 display_date 448 id 449 location_id 450 pitchId 451 pitch_id 452 pitch_type 453 player_booking_id 454 price 455 split 456 stripe_id 457 time_from 458 time_to 459 } 460 } 461 `,fetchPolicy:"no-cache",variables:{stripe_id:n}});return i.data.player_booking_schedule_stripe},async setPlayerBookingSchedules({dispatch:e},n){const i={player_booking_id:""+n.player_booking_id,pitch_id:n.pitch_id,date:n.date,location_id:n.location_id,time_from:n.time_from,time_to:n.time_to,pitchId:n.pitchId,display_date:n.display_date,pitch_type:n.pitch_type,price:""+n.price,split:n.split,stripe_id:n.stripe_id,payment_id:n.payment_id},a=await c["a"].mutate({mutation:Pi.a,variables:{objects:i}}).catch(e=>{console.error("[booking.setPlayerBookingSchedules] Error:",e)});return a},async addCheckoutSessionToEmailData({dispatch:e},n){try{const e=n.bookingId,a=n.checkoutSessionId;if(null===e||void 0===e)throw new Error("bookingId is required to update email_data");const t=await c["a"].query({query:C["a"]` 462 query GetBookingEmailData($bookingId: Int!) { 463 player_bookings_stripe_by_pk(id: $bookingId) { 464 id 465 email_data 466 } 467 } 468 `,variables:{bookingId:e}});if(!t.data.player_bookings_stripe_by_pk)throw new Error(`Booking with ID ${e} not found`);let d=t.data.player_bookings_stripe_by_pk.email_data||{};if("string"===typeof d)try{d=JSON.parse(d)}catch(i){d={}}d||(d={});const l={...d,checkout_session_id:a},r=await c["a"].mutate({mutation:C["a"]` 469 mutation UpdateBookingEmailData($bookingId: Int!, $emailData: String!) { 470 update_player_bookings_stripe_by_pk( 471 pk_columns: { id: $bookingId } 472 _set: { email_data: $emailData } 473 ) { 474 id 475 email_data 476 } 477 } 478 `,variables:{bookingId:e,emailData:JSON.stringify(l)}});return r.data.update_player_bookings_stripe_by_pk}catch(a){throw console.error("Failed to update email data:",a),a}},async setPlayerBookingsStripe({dispatch:e},n){const i={date:n.date,payment_type:n.payment_type,player_id:n.player_id,price:""+n.price,time:n.time,stripe_id:n.stripe_id},a=await c["a"].mutate({mutation:Di.a,variables:{objects:i}}).catch(e=>{console.error("[booking.setPlayerBookingsStripe] Error:",e)});return a},async setPlayerBookingSchedulesStripe({dispatch:e},n){const i={player_booking_id:""+n.player_booking_id,pitch_id:n.pitch_id,date:n.date,location_id:n.location_id,time_from:n.time_from,time_to:n.time_to,pitchId:n.pitchId,display_date:n.display_date,pitch_type:n.pitch_type,price:""+n.price,split:n.split,stripe_id:n.stripe_id},a=await c["a"].mutate({mutation:C["a"]` 479 mutation insert_player_booking_schedule_stripe( 480 $objects: [player_booking_schedule_stripe_insert_input!]! 481 ) { 482 insert_player_booking_schedule_stripe(objects: $objects) { 483 returning { 484 id 485 } 486 } 487 } 488 `,variables:{objects:i}}).catch(e=>{console.error("[booking.setPlayerBookingSchedulesStripe] Error:",e)});return a},async getMatchesByLocation(e,n){try{const{data:e}=await c["a"].query({query:ki.a,variables:{id:n}});return e}catch(i){return console.error("[booking.getMatchesByLocation] Error:",i),{matchesByLocation:[]}}},async getMatchesByLocationAndDate(e,n){try{const{data:e}=await c["a"].query({query:Si.a,variables:{id:n["id"],date:n["pastdate"]}});return e}catch(i){return console.error("[booking.getMatchesByLocationAndDate] Error:",i),{matchesByLocation:[]}}},async getMatchesByLocationAndDatePublic(e,n){const i=null===n||void 0===n?void 0:n["id"],a=null===n||void 0===n?void 0:n["pastdate"];if(!i||!a)return{matchesByLocationAndDate:[]};try{const{data:e}=await c["a"].query({query:wi.a,variables:{id:i,date:a},context:{headers:{"x-hasura-location-id":i}}});return e}catch(t){return console.error("[booking.getMatchesByLocationAndDatePublic] Error:",t),{matchesByLocationAndDate:[]}}},async getMatchesByLocationAndExactDate(e,n){const i=null===n||void 0===n?void 0:n.locationId;try{const{data:e}=await c["a"].query({query:ji.a,variables:{id:n["id"],pitch_id:n["pitch_id"],bookingDate:n["date"],matchDate:n["matchDate"]},context:i?{headers:{"x-hasura-location-id":i}}:void 0});return e}catch(a){return console.error("[booking.getMatchesByLocationAndExactDate] Error:",a),{matchesByLocationAndExactDate:[],provisionalMatchesByLocationAndExactDate:[],matchesByPitchAndExactDate:[]}}},async getReservedEventsByLocation(e,n){try{const{data:e}=await c["a"].query({query:fi.a,variables:{locationId:n}});return e}catch(i){return console.error("[booking.getReservedEventsByLocation] Error:",i),{reserved_events:[]}}},async getReservedEventsByLocationPublic(e,n){try{const{data:e}=await c["a"].query({query:gi.a,variables:{locationId:n},context:{headers:{"x-hasura-location-id":n}}});return e}catch(i){return console.error("[booking.getReservedEventsByLocationPublic
488] Error:",i),{reserved_events:[]}}},async getCustomerBookingsByLocation(e,n){try{const{data:e}=await c["a"].query({query:Ni.a,variables:{locationId:n}});return e}catch(i){return console.error("[booking.getCustomerBookingsByLocation] Error:",i),{customer_bookings:[]}}},async getCustomerBookingsByLocationPublic(e,n){try{const{data:e}=await c["a"].query({query:yi.a,variables:{locationId:n},context:{headers:{"x-hasura-location-id":n}}});return e}catch(i){return console.error("[booking.getCustomerBookingsByLocationPublic] Error:",i),{customer_bookings:[]}}}},oa={};var sa={state:da,getters:la,actions:ra,mutations:oa};const ma=()=>({selectedBooking:null,selectedBooking2:null,country_id:null,language:null,selectedPitch:null,selectedPayment:null,canceledBooking:null,editBooking:null,gotoBooked:null}),ua=ma(),ca={getSelectedBooking:e=>e.selectedBooking,getSelectedLanguage:e=>e.language,getSelectedPitch:e=>e.selectedPitch,getSelectedPayment:e=>e.selectedPayment},ka={},va={setSelectedBooking:(e,n)=>{null!=n&&n.matches.length>0&&(n.matches=[...new Set(n.matches)]),e.selectedBooking=n},setSelectedLanguage:(e,n)=>{e.language=n,A["a"].locale=n},setSelectedBookingCountryId:(e,n)=>{e.country_id=n},setSelectedBooking2:(e,n)=>e.selectedBooking2=n,setSelectedPitch:(e,n)=>e.selectedPitch=n,setSelectedPayment:(e,n)=>e.selectedPayment=n};var fa={state:ua,getters:ca,actions:ka,mutations:va},_a=i("99ca"),ga=i.n(_a),pa=i("5592"),Na=i.n(pa),ha=i("8c4a"),ya=i.n(ha),ba=i("ac56"),Sa=i.n(ba),Fa={state:{redcards:[]},getters:{redcards(e){return e.redcards}},mutations:{setRedcards(e,n){e.redcards=n}},actions:{async getRedcards({commit:e}){try{const n=await c["a"].query({query:Sa.a,fetchPolicy:"no-cache"}),{data:i}=n;e("setRedcards",i.player_red_cards)}catch(n){throw console.error("Error fetching red cards:",n),n}},async createRedcard({dispatch:e},n){try{const i=n.map(e=>({player_id:e.player_id,from_date:e.from_date,to_date:e.to_date,reason:e.reason,created_at:(new Date).toISOString(),updated_at:(new Date).toISOString()}));await c["a"].mutate({mutation:Na.a,variables:{objects:i}}),e("getRedcards")}catch(i){throw console.error("Error creating red cards:",i),i}},async deleteRedcards({dispatch:e},n){try{await c["a"].mutate({mutation:ya.a,variables:{id:n}}),e("getRedcards")}catch(i){throw console.error("Error deleting red cards:",i),i}},async updateRedcards({dispatch:e},n){try{const{playerId:i,fromDate:a,toDate:t,reason:d}=n;await c["a"].mutate({mutation:ga.a,variables:{playerId:i,fromDate:a,toDate:t,reason:d}}),e("getRedcards")}catch(i){throw console.error("Error updating red cards:",i),i}}}};a["a"].use(t["a"]);const wa=new t["a"].Store({modules:{Auth:u,Player:J,Team:be,City:Pe,Country:qe,Global:Ge,Matches:nn,Fixtures:hn,Results:An,Standings:ei,Leagues:ri,Booking:sa,Customerbooking:fa,redcardsModule:Fa}});n["a"]=wa},"0a8a":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetSignupCities"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:89}};i.loc.source={body:"query GetSignupCities {\n\tcities {\n\t\tid\n\t\tname\n\t\tcountry {\n\t\t\tid\n\t\t\tname\n\t\t\tcode\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;
488n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetSignupCities"]=l(i,"GetSignupCities")},"0d6d":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateCustomerBookings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"payload"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"jsonb"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_customer_booking_if_available"},arguments:[{kind:"Argument",name:{kind:"Name",value:"args"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"payload"},value:{kind:"Variable",name:{kind:"Name",value:"payload"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:143}};i.loc.source={body:"mutation UpdateCustomerBookings($payload: jsonb!) {\n\tupdate_customer_booking_if_available(args: { payload: $payload }) {\n\t\ttime_from\n\t\tid\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["UpdateCustomerBookings"]=l(i,"UpdateCustomerBookings")},1187:function(e,n,i){},1192:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetParentLeagueData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"join_leagues_mini_leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"mini_league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:416}};i.loc.source={body:"query GetParentLeagueData($leagueId: uuid!) {\n\tjoin_leagues_mini_leagues(where: { mini_league: { _eq: $leagueId } }) {\n\t\tid\n\t\tleague: leagueByLeague {\n\t\t\tdisplay_name\n\t\t\tmatches {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tid\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\thomeTeam: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tawayTeam: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetParentLeagueData"]=l(i,"GetParentLeagueData")},"139a":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMarketingOptInStatus"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"_set"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"marketing_opt_in"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}]}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:189}};i.loc.source={body:"mutation UpdateMarketingOptInStatus($userId: uuid!, $status: Boolean) {\n\tupdate_players(_set: { marketing_opt_in: $status }, where: { id: { _eq: $userId } }) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["UpdateMarketingOptInStatus"]=l(i,"UpdateMarketingOptInStatus")},"179d":function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-arrow-left" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(4.000000, 7.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M0.291160123,4.76489322 C0.358750866,4.69730248 0.433610061,4.64141013 0.513221706,4.59721618 L4.81916012,0.292893219 C5.20968441,-0.0976310729 5.84284939,-0.0976310729 6.23337369,0.292893219 C6.59385765,0.65337718 6.62158718,1.22060824 6.31656229,1.61289944 L6.23337369,1.70710678 L3.44,4.5 L14.4982669,4.5 C15.0505517,4.5 15.4982669,4.94771525 15.4982669,5.5 C15.4982669,6.01283584 15.1122267,6.43550716 14.614888,6.49327227 L14.4982669,6.5 L3.441,6.5 L6.23337369,9.29289322 C6.62389798,9.68341751 6.62389798,10.3165825 6.23337369,10.7071068 C5.87288972,11.0675907 5.30565867,11.0953203 4.91336746,10.7902954 L4.81916012,10.7071068 L0.513221706,6.40278382 C0.433610061,6.35858987 0.358750866,6.30269752 0.291160123,6.23510678 C0.110918142,6.0548648 0.0138647678,5.82293605 -1.11022302e-16,5.58703139 L-1.06685494e-16,5.41296861 C0.0138647678,5.17706395 0.110918142,4.9451352 0.291160123,4.76489322 Z"></path></g></g></g></svg>'},"1a65":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMOMGroupData"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"join_man_of_the_matches_leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manOfTheMatchByManOfTheMatch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"join_league_manofthematch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"season"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"locationObj"},name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"parentLeagues"},name:{kind:"Name",value:"joinLeaguesMiniLeaguesByMiniLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"team"},name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"deleted_team"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"team"},name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"deleted_team"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:3320}};i.loc.source={body:"query GetMOMGroupData($leagueId: uuid!) {\n join_man_of_the_matches_leagues (where: { league: { _eq: $leagueId } }) {\n id\n league\n manOfTheMatchByManOfTheMatch {\n id\n name\n join_league_manofthematch {\n id\n league\n leagueByLeague {\n id\n league_type\n display_name\n season\n kick_off_date\n locationObj: locationByLocation {\n id\n name\n timezone\n city {\n id\n name\n country {\n id\n name\n }\n }\n }\n parentLeagues: joinLeaguesMiniLeaguesByMiniLeague {\n league: leagueByLeague {\n id\n display_name\n matches {\n id\n name\n home_score\n away_score\n man_of_the_match: player {\n id\n first_name\n last_name\n team: join_players_teams {\n id\n team\n }\n }\n finals_group: finalsGroupByFinalsGroup {\n name\n }\n homeTeam: teamByHomeTeam {\n id\n name\n }\n awayTeam: team {\n id\n name\n }\n deleted_team\n }\n }\n }\n matches {\n id\n name\n home_score\n away_score\n man_of_the_match: player {\n id\n first_name\n last_name\n team: join_players_teams {\n id\n team\n }\n }\n finals_group: finalsGroupByFinalsGroup {\n name\n }\n homeTeam: teamByHomeTeam {\n id\n name\n }\n awayTeam: team {\n id\n name\n }\n deleted_team\n }\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMOMGroupData"]=l(i,"GetMOMGroupData")},2104:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"get_country_name"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uid"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"countries"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"uid"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:99}};i.loc.source={body:"query get_country_name($uid: uuid!) {\n countries(where: {id: {_eq: $uid}}) {\n id\n name\n }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["get_country_name"]=l(i,"get_country_name")},"252c":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPlayerInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"firebaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"firebase_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"firebaseId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone_number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gender"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"language"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ringer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"marketing_opt_in"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zendesk_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firebase_id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"city"},name:{kind:"Name",value:"cityByCity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"team"},name:{kind:"Name",value:"teamByTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_active"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"badge"},name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:577}};i.loc.source={body:"query GetPlayerInfo($firebaseId: String!) {\n players(where: { firebase_id: { _eq: $firebaseId } }) {\n id\n first_name\n last_name\n phone_number\n gender\n photo_url\n email\n language\n role\n ringer\n marketing_opt_in\n photo_url\n zendesk_id\n firebase_id\n city: cityByCity {\
488n id\n country {\n id\n name\n code\n }\n }\n\n country {\n id\n name\n code\n }\n\n join_players_teams {\n team: teamByTeam {\n id\n name\n is_active\n badge: logo_url\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetPlayerInfo"]=l(i,"GetPlayerInfo")},"28aa":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TeamView"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"captain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"vice_captain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"matchesByHomeTeam"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"EnumValue",value:"desc"}}]}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"is_bye"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!1}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_friendly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"matchesByAwayTeam"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"EnumValue",value:"desc"}}]}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"is_bye"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!1}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_friendly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"league_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"points_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gd_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gs_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"played_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"drawn_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lost_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"won_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gd_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:1646}};i.loc.source={body:"query TeamView($teamId: uuid!) {\n\tteams(where: { id: { _eq: $teamId } }) {\n\t\tid\n\t\tcaptain\n\t\tcreated_at\n\t\tvice_captain\n\t\tlogo_url\n\t\tname\n\t\tplayer_type\n\t\tmatchesByHomeTeam(order_by: { date: desc }, where: { is_bye: { _eq: false } }) {\n\t\t\taway_score\n\t\t\taway_team\n\t\t\tdate\n\t\t\tfinals_group\n\t\t\tfinals_knockout\n\t\t\thome_score\n\t\t\thome_team\n\t\t\tid\n\t\t\tis_friendly\n\t\t\tkick_off_time\n\t\t\tleague\n\t\t\tman_of_the_match\n\t\t\tname\n\t\t\tpitchByPitch {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tpitch_name\n\t\t\t\tlocation {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t\treferee: refereeByReferee {\n\t\t\t\tid\n\t\t\t\tfirst_name\n\t\t\t\tlast_name\n\t\t\t}\n\t\t}\n\t\tmatchesByAwayTeam(order_by: { date: desc }, where: { is_bye: { _eq: false } }) {\n\t\t\taway_score\n\t\t\taway_team\n\t\t\tdate\n\t\t\tfinals_group\n\t\t\tfinals_knockout\n\t\t\thome_score\n\t\t\thome_team\n\t\t\tid\n\t\t\tis_friendly\n\t\t\tkick_off_time\n\t\t\tleague\n\t\t\tman_of_the_match\n\t\t\tname\n\t\t\tpitchByPitch {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tpitch_name\n\t\t\t\tlocation {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t\treferee: refereeByReferee {\n\t\t\t\tid\n\t\t\t\tfirst_name\n\t\t\t\tlast_name\n\t\t\t}\n\t\t}\n\t\tleague_teams {\n\t\t\tid\n\t\t\tpoints_carried\n\t\t\tgd_carried\n\t\t\tgs_carried\n\t\t\tplayed_carried\n\t\t\tdrawn_carried\n\t\t\tlost_carried\n\t\t\twon_carried\n\t\t\tgd_carried\n\t\t\tleague {\n\t\t\t\tid\n\t\t\t\tstatus\n\t\t\t\tdisplay_name\n\t\t\t\tkick_off_date\n\t\t\t\tmatches(\n\t\t\t\t\twhere: {\
488n\t\t\t\t\t\t_and: [\n\t\t\t\t\t\t\t{ home_team: { _is_null: false } }\n\t\t\t\t\t\t\t{ away_team: { _is_null: false } }\n\t\t\t\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t) {\n\t\t\t\t\tid\n\t\t\t\t\thome_team\n\t\t\t\t\taway_team\n\t\t\t\t\thomeTeam: teamByHomeTeam {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t\tawayTeam: team {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t\thome_score\n\t\t\t\t\taway_score\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["TeamView"]=l(i,"TeamView")},"2be1":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllPlayers"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"players"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:85}};i.loc.source={body:"query GetAllPlayers {\n players {\n id\n first_name\n last_name\n email\n }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllPlayers"]=l(i,"GetAllPlayers")},"2c04":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMatchesByLocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"matchesByLocation"},name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_friendly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_bye"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"referee"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"round"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"pitchObj"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"leagueObj"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"locationObj"},name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeamObj"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phHomeTeamObj"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phAwayTeamObj"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeamObj"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"refereeObj"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"finalsGroupObj"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finalsKnockoutObj"},name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1214}};i.loc.source={body:"query GetMatchesByLocation($id: uuid!) {\n\tmatchesByLocation: matches(where: { location: { _eq: $id } }) {\n\t\tid\n\t\thome_team\n\t\thome_score\n\t\thalf_length\n\t\tfinals_group\n\t\tfinals_knockout\n\t\tdate\n\t\taway_team\n\t\taway_score\n\t\tis_friendly\n\t\tis_bye\n\t\tkick_off_time\n\t\tleague\n\t\tlocation\n\t\tman_of_the_match\n\t\tname\n\t\tnumber_of_halves\n\t\tpitch\n\t\tplaceholder_away_team\n\t\tplaceholder_home_team\n\t\tplayer_type\n\t\tpostponed\n\t\tpublished\n\t\treferee\n\t\tround\n\t\tslot_time\n\t\tteam_size\n\t\tdeleted_at\n\t\tpitchObj: pitchByPitch {\n\t\t\tid\n\t\t\tname\n\t\t\tpitch_name\n\t\t}\n\t\tleagueObj: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t}\n\t\tlocationObj: locationByLocation {\n\t\t\tid\n\t\t\tname\n\t\t\ttimezone\n\t\t\tcity {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tcountry {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\thomeTeamObj: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\tphHomeTeamObj: placeholderTeamByPlaceholderHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tphAwayTeamObj: placeholder_team {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tawayTeamObj: team {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\trefereeObj: refereeByReferee {\n\t\t\tid\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tfinalsGroupObj: finalsGroupByFinalsGroup {\n\t\t\tfinal {\n\t\t\t\tdisplay_name\n\t\t\t\tid\n\t\t\t}\n\t\t}\n\t\tfinalsKnockoutObj: finalsKnockoutByFinalsKnockout {\n\t\t\tfinal {\n\t\t\t\tid\n\t\t\t\tdisplay_name\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMatchesByLocation"]=l(i,"GetMatchesByLocation")},3077:function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-chevron-up" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(5.000000, 7.000000)" fill-rule="nonzero"><g id="Path"><polygon transform="translate(7.235000, 4.858000) rotate(-90.000000) translate(-7.235000, -4.858000) " points="3 10.1 8.235 4.858 3 -0.388 4.612 -2 11.47 4.858 4.612 11.716"></polygon></g></g></g></svg>'},"31cd":function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-clubhouse" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(2.000000, 1.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M3.006,22.058 C1.34583204,22.058 0,20.712168 0,19.052 L0,19.052 L0,8.02 C0,7.71140418 0.142477794,7.42009414 0.386071496,7.23063836 L0.386071496,7.23063836 L9.4120715,0.210638365 C9.77317727,-0.0702127882 10.2788227,-0.0702127882 10.6399285,0.210638365 L10.6399285,0.210638365 L19.6659285,7.23063836 C19.9095222,7.42009414 20.052,7.71140418 20.052,8.02 L20.052,8.02 L20.052,19.052 C20.052,20.712168 18.706168,22.058 17.046,22.058 L17.046,22.058 Z M10.026,2.266 L2,8.508 L2,19.052 C2,19.5705586 2.39234979,19.9974789 2.89638522,20.0520969 L2.89638522,20.0520969 L3.006,20.058 L6.016,20.058 L6.017,11.029 C6.017,10.5161642 6.40304019,10.0934928 6.90037887,10.0357277 L7.017,10.029 L13.034,10.029 C13.5468358,10.029 13.9695072,10.4150402 14.0272723,10.9123789 L14.034,11.029 L14.033,20.058 L17.046,20.058 C17.5645586,20.058 17.9914789,19.6656502 18.0460969,19.1616148 L18.052,19.052 L18.052,8.509 L10.026,2.266 Z M12.033,12.029 L8.016,12.029 L8.016,20.058 L12.033,20.058 L12.033,12.029 Z"></path></g></g></g></svg>'},"32c7":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPlayersByTeamAndMatch"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"match_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"team_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"league_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_statistics"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"match_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"match_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"team_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"team_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"league_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"league_id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"appearence"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"goals"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"match_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"final_id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:322}};i.loc.source={body:"query GetPlayersByTeamAndMatch ($match_id: uuid!, $team_id: uuid!, $league_id: uuid!){\n player_statistics(where: {match_id: {_eq: $match_id}, team_id: {_eq: $team_id}, league_id: {_eq: $league_id}}) {\n appearence\n goals\n league_id\n match_id\n id\n player_id\n player_name\n team_id\n final_id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetPlayersByTeamAndMatch"]=l(i,"GetPlayersByTeamAndMatch")},"32dd":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFixtureLeagues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_neq"},value:{kind:"StringValue",value:"finished",block:!1}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"matches"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}},{kind:"ObjectField",name:{kind:"Name",value:"join_team_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:486}};i.loc.source={body:'query GetFixtureLeagues($teamId: uuid!) {\n\tleagues(\n\t\twhere: {\
488n\t\t\t_and: [{ published: { _eq: true } }, { status: { _neq: "finished" } }]\n\t\t\tmatches: { _or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }] }\n\t\t}\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tleague_type\n\t\tkick_off_date\n\t}\n\tfinals(\n\t\twhere: { _and: { published: { _eq: true } }, join_team_finals: { team: { _eq: $teamId } } }\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tkick_off_date\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetFixtureLeagues"]=l(i,"GetFixtureLeagues")},3587:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetCustomerBookingsByLocationPublic"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customer_bookings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"locationId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"deleted_dates"},name:{kind:"Name",value:"deleted_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"ignored_dates"},name:{kind:"Name",value:"ignored_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:399}};i.loc.source={body:"query GetCustomerBookingsByLocationPublic($locationId: uuid!) {\n customer_bookings(where: { location_id: { _eq: $locationId } }) {\n id\n date\n field\n duration\n frequency\n time_from\n time_to\n is_public\n location_id\n deleted_dates: deleted_dates {\n id\n date\n event_id\n }\n ignored_dates: ignored_dates {\n id\n date\n event_id\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetCustomerBookingsByLocationPublic"]=l(i,"GetCustomerBookingsByLocationPublic")},"35f4":function(e,n){e.exports='<svg enable-background="new 0 0 512 512" id="Layer_1" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M2.6,446.3c56.8,5.4,107.1-8.8,153-43.2c-11.9-0.9-22.3-2.5-32.3-6.1c-26.2-9.5-45.8-26.4-58.5-51.2 c-1.8-3.5-3.3-7.3-5-10.9c-1.8-3.8,0-4.3,3.3-3.8c13,2.1,25.9,1.2,38.7-1.4c0.3-0.1,0.5-0.4,0.8-0.6c0.2-1.4-0.9-1.6-1.8-1.8 c-29-7.2-50.7-24.2-65.6-49.8c-8.4-14.5-12.8-30.2-13.3-47c-0.1-4.3,1.1-4.8,4.7-3.1c12.8,6.2,26.3,10,41.7,10.5 c-7.5-5.9-14.2-11.3-19.8-17.9c-20.5-24.1-29-51.8-24.9-83.3c1.5-11.7,5.2-22.6,10.3-33.2c1.9-3.9,3.3-4.4,6.2-0.9 c16.7,20.3,36.2,37.6,57.7,52.6c16.1,11.3,33.3,20.7,51.3,28.6c23.3,10.1,47.6,17,72.6,21c8.4,1.3,16.9,1.6,25.3,2.6 c3.9,0.4,4.5-1.1,3.8-4.6c-4.2-21.8-1.4-42.9,8.1-62.8c14.9-31,39.2-50.8,73.1-58c33.5-7.1,63.2,1.3,89.6,22.6 c8.5,12.8,19.2,5.3,28.9,2.6c15.4-4.3,29.9-11,44.3-18.5c-7.3,23.3-21.7,41.2-41.8,55.1c19.4-1.3,37.5-7.3,56.7-14.9 c-5.1,8.1-10.4,14.4-15.6,20.7c-9.7,11.6-20.9,21.4-32.8,30.5c-2.5,1.9-3.2,3.8-3.1,6.7c0.6,21-1.1,41.9-4.9,62.6 c-4,21.7-10.4,42.6-18.9,62.9c-9.5,22.6-21.5,44-36.1,63.7c-18.2,24.6-39.7,46.1-64.7,63.9c-33.7,24-71,39.6-111.6,47.4 c-25.4,4.9-51.1,6.4-77,5.1c-20.1-1-39.7-4.1-59-9.1c-24.2-6.3-47.4-15.5-69.1-27.9C12.3,452.7,7.2,450.9,2.6,446.3z" fill="#58AEE7"></path></g></svg>'},"35fa":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMatchesByLocationAndDate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"matchesByLocationAndDate"},name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_friendly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_bye"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"referee"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"round"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"pitchObj"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"leagueObj"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"locationObj"},name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeamObj"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phHomeTeamObj"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phAwayTeamObj"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeamObj"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"refereeObj"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"finalsGroupObj"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finalsKnockoutObj"},name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1271}};i.loc.source={body:"query GetMatchesByLocationAndDate($id: uuid!, $date: date!) {\n\tmatchesByLocationAndDate: matches(where: { location: { _eq: $id }, _and: {date: {_gte: $date}} }
488) {\n\t\tid\n\t\thome_team\n\t\thome_score\n\t\thalf_length\n\t\tfinals_group\n\t\tfinals_knockout\n\t\tdate\n\t\taway_team\n\t\taway_score\n\t\tis_friendly\n\t\tis_bye\n\t\tkick_off_time\n\t\tleague\n\t\tlocation\n\t\tman_of_the_match\n\t\tname\n\t\tnumber_of_halves\n\t\tpitch\n\t\tplaceholder_away_team\n\t\tplaceholder_home_team\n\t\tplayer_type\n\t\tpostponed\n\t\tpublished\n\t\treferee\n\t\tround\n\t\tslot_time\n\t\tteam_size\n\t\tdeleted_at\n\t\tpitchObj: pitchByPitch {\n\t\t\tid\n\t\t\tname\n\t\t\tpitch_name\n\t\t}\n\t\tleagueObj: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t}\n\t\tlocationObj: locationByLocation {\n\t\t\tid\n\t\t\tname\n\t\t\ttimezone\n\t\t\tcity {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tcountry {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\thomeTeamObj: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\tphHomeTeamObj: placeholderTeamByPlaceholderHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tphAwayTeamObj: placeholder_team {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tawayTeamObj: team {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\trefereeObj: refereeByReferee {\n\t\t\tid\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tfinalsGroupObj: finalsGroupByFinalsGroup {\n\t\t\tfinal {\n\t\t\t\tdisplay_name\n\t\t\t\tid\n\t\t\t}\n\t\t}\n\t\tfinalsKnockoutObj: finalsKnockoutByFinalsKnockout {\n\t\t\tfinal {\n\t\t\t\tid\n\t\t\t\tdisplay_name\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMatchesByLocationAndDate"]=l(i,"GetMatchesByLocationAndDate")},3734:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetReservedEventsByLocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reserved_events"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"locationId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"comment"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_holiday"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"deleted_dates"},name:{kind:"Name",value:"deleted_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"ignored_dates"},name:{kind:"Name",value:"ignored_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:530}};i.loc.source={body:"query GetReservedEventsByLocation($locationId: uuid!) {\n reserved_events(where: { location_id: { _eq: $locationId } }) {\n id\n date\n field\n duration\n frequency\n time_from\n time_to\n title\n comment\n is_public\n location_id\n is_holiday\n deleted_dates: deleted_dates {\n id\n date\n event_id\n }\n ignored_dates: ignored_dates {\n id\n date\n event_id\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetReservedEventsByLocation"]=l(i,"GetReservedEventsByLocation")},"3a44":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOneLeague"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finals_groups"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finals_knockouts"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:340}};i.loc.source={body:"query GetOneLeague($leagueId: uuid!) {\n\tleagues(where: { id: { _eq: $leagueId } }) {\n\t\tid\n\t\tpublished\n\t\tdisplay_name\n\t\tleague_type\n\t}
488\n\tfinals(\n\t\twhere: {\n\t\t\t_or: [\n\t\t\t\t{ finals_groups: { final: { id: { _eq: $leagueId } } } }\n\t\t\t\t{ finals_knockouts: { final: { id: { _eq: $leagueId } } } }\n\t\t\t]\n\t\t}\n\t) {\n\t\tid\n\t\tdisplay_name\n\t\tpublished\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetOneLeague"]=l(i,"GetOneLeague")},"3cf9":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeletecustomerBooking"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"eventId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delete_customer_bookings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"eventId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:141}};i.loc.source={body:"mutation DeletecustomerBooking($eventId: uuid!) {\n\tdelete_customer_bookings(where: { id: { _eq: $eventId } }) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["DeletecustomerBooking"]=l(i,"DeletecustomerBooking")},"3dfd":function(e,n,i){"use strict";var a=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{attrs:{id:"app"}},[n("div",{staticClass:"overlay"},[e.getLoadingStatus?n("div",[n("LoadingSpinner")],1):e._e()]),n("router-view"),n("SvgSprite"),n("SvgSpriteRaw")],1)},t=[],d=i("2b0e"),l=function(){var e=this,n=e._self._c;return n("svg",{staticStyle:{display:"none"},attrs:{width:"0",height:"0"},domProps:{innerHTML:e._s(e.$options.svgSprite)}})},r=[];i("e9f5"),i("ab43");const o=i("957c"),s=o.keys().map(e=>{const n=o(e),i=e.replace(/^\.\/(.*)\.\w+$/,"$1");return n.replace("<svg",`<symbol id="${i}"`).replace("svg>","symbol>")});var m={name:"SvgSprite",svgSprite:s.join("\n")},u=m,c=i("2877"),k=Object(c["a"])(u,l,r,!1,null,null,null),v=k.exports,f=function(){var e=this,n=e._self._c;return n("svg",{staticStyle:{display:"none"},attrs:{width:"0",height:"0"},domProps:{innerHTML:e._s(e.$options.svgSpriteRaw)}})},_=[];const g=i("ae6a"),p=g.keys().map(e=>{const n=g(e),i=e.replace(/^\.\/(.*)\.\w+$/,"$1");return n.replace("<svg",`<symbol id="${i}"`).replace("svg>","symbol>")});var N={name:"SvgSpriteRaw",svgSpriteRaw:p.join("\n")},h=N,y=Object(c["a"])(h,f,_,!1,null,null,null),b=y.exports,S=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"loading-spinner-container"},[n("div",{staticClass:"spinner"},[n("img",{attrs:{src:e.loadingImage}}),n("div",[e._v(e._s(e.$t("global.loading"))+"...")])])])},F=[],w=d["a"].extend({name:"LoadingSpinner",computed:{loadingImage(){return i("cf1c")}}}),O=w,j=(i("4a92"),Object(c["a"])(O,S,F,!1,null,"5c7555f8",null)),V=j.exports,E=i("2f62"),T=d["a"].extend({components:{SvgSprite:v,SvgSpriteRaw:b,LoadingSpinner:V},computed:{...Object(E["c"])(["getLoadingStatus"])},async mounted(){document.addEventListener("visibilitychange",async()=>{"visible"===document.visibilityState&&await this.$store.dispatch("refreshApp")})}}),P=T,L=Object(c["a"])(P,a,t,!1,null,null,null);n["a"]=L.exports},"3edd":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"delete_multiple_player_booking_schedules"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delete_player_booking_schedules"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:152}};i.loc.source={body:"mutation delete_multiple_player_booking_schedules($id: Int!) {\n delete_player_booking_schedules(where: {id: {_eq: $id}}){\n returning {\n\t\tid\n\t}\n }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["delete_multiple_player_booking_schedules"]=l(i,"delete_multiple_player_booking_schedules")},4061:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCountryTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"countryId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_ilike"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"cityByCity"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"country_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"countryId"}}}]}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zendesk_id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"city"},name:{kind:"Name",value:"cityByCity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:292}};i.loc.source={body:"query getCountryTeams($searchTerm: String!, $countryId: uuid!) {\n\tteams(where: { \n\t\t_and: [\n\t\t\t{ name: { _ilike: $searchTerm } }\n\t\t\t{ cityByCity: { country_id: {_eq: $countryId} } }\n\t\t]\n\t}) \n\t{\n\t\tid\n\t\tname\n\t\tzendesk_id\n\t\tcity: cityByCity {\
488n\t\t\tcountry {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tcode\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["getCountryTeams"]=l(i,"getCountryTeams")},"40cf":function(e,n){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"></path></svg>'},4111:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetReservedEventsByLocationPublic"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reserved_events"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"locationId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_holiday"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"deleted_dates"},name:{kind:"Name",value:"deleted_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"ignored_dates"},name:{kind:"Name",value:"ignored_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:410}};i.loc.source={body:"query GetReservedEventsByLocationPublic($locationId: uuid!) {\n reserved_events(where: { location_id: { _eq: $locationId } }) {\n id\n date\n field\n duration\n frequency\n time_from\n time_to\n is_public\n location_id\n is_holiday\n deleted_dates: deleted_dates {\n id\n date\n event_id\n }\n ignored_dates: ignored_dates {\n id\n date\n event_id\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetReservedEventsByLocationPublic"]=l(i,"GetReservedEventsByLocationPublic")},"49c4":function(e,n,i){"use strict";i.d(n,"b",(function(){return y})),i.d(n,"a",(function(){return b}));i("d9e2"),i("13d5"),i("e9f5"),i("910d"),i("7d54"),i("ab43"),i("9485"),i("625a"),i("fafb"),i("1e70"),i("79a4"),i("c1a1"),i("8b00"),i("a4e7"),i("1e5a"),i("72c3");var a=i("82dc"),t=i("260b");i("ea7b"),i("8934");const d=new Set(["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Script error."]),l=new Map,r=6e4;let o=!1;const s=(e,n=300)=>{if("string"!==typeof e)return null;const i=e.trim();return i?i.slice(0,n):null},m=(e,n=12,i=120)=>Array.isArray(e)?e.map(e=>s(e,i)).filter(e=>Boolean(e)).slice(0,n):[],u=e=>e?Object.entries(e).slice(0,12).reduce((e,[n,i])=>{const a=s(n,40);return a?"string"===typeof i?(e[a]=s(i,200),e):("number"!==typeof i&&"boolean"!==typeof i&&null!==i||(e[a]=i),e):e},{}):{},c=()=>{if("undefined"!==typeof window){const{hostname:e}=window.location;if("footy.netlify.app"===e||e.endsWith("--footy.netlify.app"))return"prod";if("footy-dev.netlify.app"===e||e.endsWith("--footy-dev.netlify.app"))return"dev"}return"production"},k=()=>"undefined"===typeof window?null:`${window.location.pathname}${window.location.search}`.slice(0,240),v=()=>{try{var e;return t["a"].apps.length&&(null===(e=t["a"].auth().currentUser)||void 0===e?void 0:e.uid)||null}catch(n){return null}},f=()=>{try{var e;return t["a"].apps.length?s((null===(e=t["a"].auth().currentUser)||void 0===e?void 0:e.email)||null,240):null}catch(n){return null}},_=e=>e instanceof Error?{message:s(e.message,500),stack:s(e.stack,4e3)}:"string"===typeof e?{message:s(e,500),stack:null}:{message:null,stack:null},g=e=>!e||d.has(e),p=e=>[e.category,e.message,e.route||"",e.operationName||"",e.graphQLErrorCodes.join(",")].join("|"),N=e=>{const n=Date.now(),i=l.get(e);if(i&&n-i<r)return!1;if(l.set(e,n),l.size>200)for(const[a,t]of l.entries())n-t>r&&l.delete(a);return!0},h=e=>{a["c"](n=>{n.setLevel("warning"===e.severity?"warning":"error"),n.setTag("client_error_category",e.category),n.setTag("client_error_stage",e.stage),e.operationName&&n.setTag("graphql_operation",e.operationName),e.correlationId&&n.setTag("correlation_id",e.correlationId),e.route&&n.setExtra("route",e.route),e.source&&n.setExtra("source",e.source),e.release&&n.setExtra("release",e.release),(e.currentUserUid||e.currentUserEmail)&&n.setUser({id:e.currentUserUid||void 0,email:e.currentUserEmail||void 0}),e.graphQLErrorCodes.length&&n.setExtra("graphQLErrorCodes",e.graphQLErrorCodes),e.graphQLErrorMessages.length&&n.setExtra("graphQLErrorMessages",e.graphQLErrorMessages),e.variableKeys.length&&n.setExtra("variableKeys",e.variableKeys),Object.entries(e.extras).forEach(([e,i])=>{n.setExtra(e,i)}),e.error instanceof Error?a["a"](e.error):a["b"](`[client] ${e.category}: ${e.message}`)})},y=async(e,n={})=>{const i=_(e.error),a=s(e.message,500)||i.message||"Unknown client error";if(g(a))return!1;const d={category:s(e.category,80)||"unknown",severity:"warning"===e.severity?"warning":"error",message:a,route:s(e.route,240)||k(),correlationId:s(e.correlationId,120),operationName:s(e.operationName,120),graphQLErrorCodes:m(e.graphQLErrorCodes,12,80),graphQLErrorMessages:m(e.graphQLErrorMessages,8,240),variableKeys:m(e.variableKeys,20,80),stack:s(e.stack,4e3)||i.stack,source:s(e.source,240),stage:c(),release:s(Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"sk_live_51OPnRUHAjp8lYa2zINPTGDZRSKcS
488ZRLT8RSFFUK5QKy7qqq4f0wo0PxrLlnJq2KNYGpa3UWKyoC9jepZWN6NUxNh002ujUQUqv",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SENTRY_RELEASE,120),currentUserUid:v(),currentUserEmail:f(),extras:u(e.extras),error:e.error},l=p(d);if(!N(l))return!1;if(!1!==n.sendToSentry&&h(d),!t["a"].apps.length)return!0;try{const e=t["a"].app().functions("europe-west1").httpsCallable("reportClientError");await e({category:d.category,severity:d.severity,message:d.message,route:d.route,correlationId:d.correlationId,operationName:d.operationName,graphQLErrorCodes:d.graphQLErrorCodes,graphQLErrorMessages:d.graphQLErrorMessages,variableKeys:d.variableKeys,stack:d.stack,source:d.source,stage:d.stage,release:d.release,currentUserUid:d.currentUserUid,currentUserEmail:d.currentUserEmail,extras:d.extras})}catch(r){console.error("[clientErrorReporter] Failed to report client error:",r)}return!0},b=()=>{o||"undefined"===typeof window||(o=!0,window.addEventListener("error",e=>{y({category:"window_error",message:e.message,error:e.error,source:e.filename?`${e.filename}:${e.lineno||0}:${e.colno||0}`:null,extras:{line:e.lineno||null,column:e.colno||null}})}),window.addEventListener("unhandledrejection",e=>{const n=e.reason,i=_(n);y({category:"unhandled_rejection",message:i.message||"Unhandled promise rejection",error:n,stack:i.stack})}))}},"4a83":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPlayerBookingScheduleOnLocationDate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"location_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"holdCutoff"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"timestamptz"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_booking_schedules"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_booking_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"split"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_booking"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"payment_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"payment_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updated_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cityByCity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"provisional_player_booking_schedules"},name:{kind:"Name",value:"player_booking_schedule_stripe"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"created_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"holdCutoff"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_booking_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"split"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stripe_id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1185}};i.loc.source={body:"query GetPlayerBookingScheduleOnLocationDate($location_id: uuid!,$date: String!, $holdCutoff: timestamptz!) {\n player_booking_schedules(where: {\
488n location_id: {_eq: $location_id}\n date: { _eq: $date }\n }) {\n date\n display_date\n id\n location_id\n pitchId\n pitch_id\n pitch_type\n player_booking_id\n price\n split\n time_from\n time_to\n created_at\n player_booking {\n player_id\n date\n time\n payment_type\n payment_id\n player {\n first_name\n last_name\n created_at\n updated_at\n cityByCity {\n country {\n name\n }\n name\n }\n }\n }\n \n }\n provisional_player_booking_schedules: player_booking_schedule_stripe(\n where: {\n location_id: { _eq: $location_id }\n date: { _eq: $date }\n created_at: { _gte: $holdCutoff }\n }\n ) {\n date\n display_date\n id\n location_id\n pitchId\n pitch_id\n pitch_type\n player_booking_id\n price\n split\n time_from\n time_to\n created_at\n stripe_id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetPlayerBookingScheduleOnLocationDate"]=l(i,"GetPlayerBookingScheduleOnLocationDate")},"4a89":function(e,n,i){"use strict";function a(){const e=Intl.DateTimeFormat().resolvedOptions().timeZone,n=(new Date).toLocaleString("en-US",{timeZone:e});return n}n["a"]=a},"4a92":function(e,n,i){"use strict";i("1187")},"4f42":function(e,n,i){"use strict";i.d(n,"f",(function(){return r})),i.d(n,"e",(function(){return s})),i.d(n,"d",(function(){return u})),i.d(n,"h",(function(){return c})),i.d(n,"g",(function(){return k})),i.d(n,"a",(function(){return f})),i.d(n,"c",(function(){return _})),i.d(n,"b",(function(){return g})),i.d(n,"i",(function(){return h}));i("14d9"),i("e9f5"),i("910d"),i("ab43"),i("e9c4");var a=i("0242");const t="player",d=e=>e.map(e=>{const n=(null===e||void 0===e?void 0:e.team)||(null===e||void 0===e?void 0:e.teamObj)||null;return n?{...e,team:n,teamObj:n}:e}),l=e=>e&&Array.isArray(e.join_players_teams)?{...e,join_players_teams:d(e.join_players_teams)}:e,r=e=>Array.isArray(null===e||void 0===e?void 0:e.join_players_teams)?e.join_players_teams.map(e=>{var n,i;return(null===e||void 0===e||null===(n=e.team)||void 0===n?void 0:n.id)||(null===e||void 0===e||null===(i=e.teamObj)||void 0===i?void 0:i.id)||null}).filter(e=>Boolean(e)):[],o=e=>"string"===typeof e?e.trim().length>0:Boolean(e),s=e=>{var n,i,a;const t=[];return o(null===e||void 0===e?void 0:e.first_name)||t.push("first_name"),o(null===e||void 0===e?void 0:e.last_name)||t.push("last_name"),o(null===e||void 0===e||null===(n=e.city)||void 0===n?void 0:n.id)||t.push("city"),o((null===e||void 0===e||null===(i=e.country)||void 0===i?void 0:i.id)||(null===e||void 0===e||null===(a=e.city)||void 0===a||null===(a=a.country)||void 0===a?void 0:a.id))||t.push("country"),t},m=e=>0===s(e).length,u=(e="auth")=>`${e}-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,c=e=>"string"!==typeof e?null:e.startsWith("/")?e.startsWith("//")?null:e:null,k=(e,n="/clubhouse")=>{var i;return c(null===e||void 0===e||null===(i=e.query)||void 0===i?void 0:i.returnTo)||n},v=e=>{var n;return c(null===e||void 0===e||null===(n=e.query)||void 0===n?void 0:n.returnTo)||c(null===e||void 0===e?void 0:e.fullPath)},f=e=>{var n;const i={},a=v(e);return a&&(i.returnTo=a),"string"===typeof(null===e||void 0===e||null===(n=e.query)||void 0===n?void 0:n.team_invite)&&(i.team_invite=e.query.team_invite),i},_=e=>{var n,i;const a={resume:"1"},t=v(e);return t&&(a.returnTo=t),"string"===typeof(null===e||void 0===e||null===(n=e.query)||void 0===n?void 0:n.team_invite)?a.team_invite=e.query.team_invite:"join"===(null===e||void 0===e?void 0:e.name)&&"string"===typeof(null===e||void 0===e||null===(i=e.params)||void 0===i?void 0:i.id)&&(a.team_invite=e.params.id),a},g=e=>{const n={complete:"1"},i=v(e);return i&&(n.returnTo=i),n}
488,p=e=>{localStorage.removeItem(t),e.commit("resetPlayerState")},N=(e,n,i)=>{var a;const d={...l(n),signupMethod:i};localStorage.setItem(t,JSON.stringify(d)),e.commit("setPlayer",d),e.commit("setPlayerTeams",null!==(a=d.join_players_teams)&&void 0!==a&&a.length?d.join_players_teams:[]),d.language&&e.commit("setUserLanguage",d.language)};async function h(e,n={}){var i;const t="undefined"===typeof n.firebaseUser?await e.dispatch("getCurrentFirebaseUser"):n.firebaseUser;if(!t)return p(e),{status:"signed_out",errorCode:null,firebaseUser:null,player:null};const d=(null===(i=t.providerData)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.providerId)||"password";let r=null;if(!1!==n.retryClaims&&(r=await Object(a["d"])({uid:t.uid,correlationId:n.correlationId||u("claims")}),"account_not_provisioned"===r.status))return p(e),Object(a["e"])({eventName:"login_session_not_provisioned",correlationId:n.correlationId||null,email:t.email||null,provider:d,authErrorCode:"account_not_provisioned"}),{status:"authenticated_unprovisioned",errorCode:"account_not_provisioned",firebaseUser:t,player:null};const o=await e.dispatch("fetchPlayerAuthProfile",{firebaseId:t.uid,signupMethod:d});if("ready"===o.status){var s;const n=l(o.player);N(e,n,d);const i=(null===(s=r)||void 0===s?void 0:s.success)&&"claims_ready"===r.status&&"boolean"===typeof r.profileComplete,a=i?Boolean(r&&r.profileComplete):m(n);return{status:a?"authenticated_ready":"authenticated_profile_incomplete",errorCode:a?null:"profile_incomplete",firebaseUser:t,player:n}}return p(e),"not_found"===o.status?(Object(a["e"])({eventName:"login_session_not_provisioned",correlationId:n.correlationId||null,email:t.email||null,provider:d,authErrorCode:"account_not_provisioned"}),{status:"authenticated_unprovisioned",errorCode:"account_not_provisioned",firebaseUser:t,player:null}):(Object(a["e"])({eventName:"login_session_lookup_failed",correlationId:n.correlationId||null,email:t.email||null,provider:d,authErrorCode:o.errorCode||"claims_not_ready",message:o.errorMessage||null}),{status:"authenticated_unprovisioned",errorCode:o.errorCode||"claims_not_ready",firebaseUser:t,player:null})}},"507b":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFixturesLeagues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"matches"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"join_team_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:370}};i.loc.source={body:"query GetFixturesLeagues($teamId: [uuid!]!) {\n\tleagues(\n\t\twhere: { matches: { _or: [{ home_team: { _in: $teamId } }, { away_team: { _in: $teamId } }] } }\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tleague_type\n\t\tkick_off_date\n\t}\n\tfinals(where: { join_team_finals: { team: { _in: $teamId } } }) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tkick_off_date\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetFixturesLeagues"]=l(i,"GetFixturesLeagues")},"50e5":function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-results" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(3.000000, 1.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M12.032,0 C13.1365695,0 14.032,0.8954305 14.032,2 L14.032,2 L14.032,2.006 L15.041,2.006 C16.6418762,2.006 17.9504682,3.2574178 18.0418971,4.83537467 L18.047,5.012 L18.047,19.053 C18.047,20.6538762 16.7955822,21.9624682 15.2176253,22.0538971 L15.041,22.059 L3.006,22.059 C1.40512375,22.059 0.0965317988,20.8075822 0.0051028788,19.2296253 L-1.77635684e-15,19.053 L-1.77635684e-15,5.012 C-1.77635684e-15,3.41112375 1.2514178,2.1025318 2.82937467,2.01110288 L3.006,2.006 L4.012,2.006 C4.012,0.945638205 4.82787779,0.0818348781 5.86273766,0.00548573643 L6.012,0 Z M4.012,4.006 L3.006,4.006 C2.48744144,4.006 2.06052108,4.39834979 2.00590307,4.90238522 L2,5.012 L2,19.053 C2,19.5715586 2.39234979,19.9984789 2.89638522,20.0530969 L3.006,20.059 L15.041,20.059 C15.5595586,20.059 15.9864789,19.6666502 16.0410969,19.1626148 L16.047,19.053 L16.047,5.012 C16.047,4.49344144 15.6546502,4.06652108 15.1506148,4.01190307 L15.041,4.006 L14.032,4.006 C14.032,5.0633618 13.2161222,5.92716512 12.1812623,6.00351426 L12.032,6.009 L6.012,6.009 C4.9074305,6.009 4.012,5.1135695 4.012,4.009 L4.012,4.009 L4.012,4.006 Z M13.2038765,9.792663 C13.5644778,10.1530296 13.5923921,10.7202516 13.2874949,11.1126421 L13.204337,11.2068765 L8.599337,15.8148765 C8.23894829,16.1755 7.6716842,16.2033925 7.27929515,15.8984463 L7.18506204,15.8152756 L5.09006204,13.7212756 C4.69944453,13.3308445 4.69929338,12.6976795 5.08972444,12.307062 C5.45012233,11.946492 6.01734675,11.9186271 6.40971077,12.2235583 L6.50393796,12.3067244 L7.891,13.693 L11.789663,9.79312351 C12.1800601,9.40247207 12.8132251,9.4022659 13.2038765,9.792663 Z M12.032,2 L6.012,2 L6.012,4.009 L12.032,4.009 L12.032,2 Z"></path></g></g></g></svg>'},"52ef":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PlayersByTeam"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"join_players_teams"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:166}};i.loc.source={body:"query PlayersByTeam($teamId: uuid!) {\n\tplayers(where: { join_players_teams: { team: { _eq: $teamId } } }) {\n\t\tid\n\t\tfirst_name\n\t\tlast_name\n\t\tphoto_url\n\t email\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["PlayersByTeam"]=l(i,"PlayersByTeam")},5383:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CheckPlayerBookingSchedule"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"location_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time_from"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time_to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_booking_schedules"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"pitch_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"time_from"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lt"},value:{kind:"Variable",name:{kind:"Name",value:"time_to"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"time_to"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gt"},value:{kind:"Variable",name:{kind:"Name",value:"time_from"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:330}};i.loc.source={body:"query CheckPlayerBookingSchedule($date: String!, $location_id: uuid!, $pitch_id: uuid!, $time_from: String!, $time_to:String!) {\n player_booking_schedules(where: {date: {_eq: $date}, location_id: {_eq: $location_id}, pitch_id: {_eq: $pitch_id}, _and: [{time_from: {_lt: $time_to}}, {time_to: {_gt: $time_from}}]}) {\n id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["CheckPlayerBookingSchedule"]=l(i,"CheckPlayerBookingSchedule")},5592:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_player_red_cards"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objects"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"player_red_cards_insert_input"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_player_red_cards"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objects"},value:{kind:"Variable",name:{kind:"Name",value:"objects"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:165}};i.loc.source={body:"mutation insert_player_red_cards($objects: [player_red_cards_insert_input!]!) {\n insert_player_red_cards(objects: $objects) {\n returning {\n id\n }\n }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_player_red_cards"]=l(i,"insert_player_red_cards")},"55b6":function(e,n,i){"use strict";i.d(n,"b",(function(){return q}));var a=i("2b0e"),t=i("a925"),d={create_an_account:"Create an account",create_account:"Create Account",join_text:"To join this soon to be even more legendary team, please log in or sign up.",login_forgot_password:"Forgotten password?",log_in_email:"Log in with e-mail",log_in_facebook:"Log in with Facebook",log_in_google:"Log in with Google",log_in_twitter:"Log in with Twitter",password_error:"Please choose a password",sign_up_email:"Sign up with e-mail",sign_up_facebook:"Sign up with Facebook",sign_up_google:"Sign up with Google",sign_up_twitter:"Sign up with Twitter",terms_and_conditions_text:"By creating an account I agree to the",terms_and_conditions_linked_text:"terms & conditions",terms_and_conditions_url:"https://www.playfooty.com/en/terms-conditions/",privacy_statement_text:"privacy statement",privacy_statement_url:"https://www.footy.nl/en/privacy-statement/",team_full_text:"Too bad, this team is full already. Nevertheless the App is always useful for our leagues.",team_full_join_text:"Too bad, this team is full already. Nevertheless the App is always useful for our leagues. Log in or create an account to continue.",forgot_pass_request_new_pass:"Request new password",forgot_pass_response_msg:"Password Reset Email Successfully Sent. Please check your inbox.",forgot_pass_invali
488d_mail:"The email address is badly formatted.",forgot_pass_usernotfound_msg:"We couldn't find an account with that email address.",forgot_pass_limit_exceed:"Reset password exceeds the limit.",reset_your_password:"Reset your password",reset_for:"for",reset_password_label:"New password",reset_save_btn:"Save",reset_password_show:"Show",reset_password_hide:"Hide",password_change_msg:"Password changed",login_with_new_password_msg:"You can now log in with your new password",go_directly_to_msg:"Go directly to the",link_expired_msg:"Your request to reset your password has expired or the link has already been used",reset_again_msg:"Try to reset your password again",login_use_social_provider:"This account uses {provider} to sign in. Please use the {provider} button on the login page.",signup_resume_existing_google:"We found your existing Google account. Continue below to finish setting up your Footy profile.",login_invalid_credentials_hint:'Incorrect email or password. If you signed up with Google, please use the "Log in with Google" button below.',login_password_reset_hint:"Password reset only works for accounts created with email and password.",forgot_pass_social_hint:"If you signed up with Google, you can log in directly using the Google button — no password needed.",social_login_callout_title:"Signed up with Google?",social_login_callout_body:"Use the Google button below to sign in. Do not enter a password or request a password reset for Google accounts.",social_login_detected_title:"Use {provider} sign-in for this email",back_to_login_use_social_provider:"Back to login to use {provider}"},l={create_an_account:"Maak een account aan ",create_account:"Maak een Account aan",join_text:"Om je aan te sluiten bij dit binnenkort nog legendarischer team log in, of maak een account aan.",login_forgot_password:"Wachtwoord vergeten?",log_in_email:"Inloggen met e-mail",log_in_facebook:"Inloggen met Facebook",log_in_google:"Inloggen met Google",log_in_twitter:"Inloggen met Twitter",password_error:"Kies een wachtwoord",sign_up_email:"Aanmelden met e-mail",sign_up_facebook:"Aanmelden met Facebook",sign_up_google:"Aanmelden met Google",sign_up_twitter:"Aanmelden met Twitter",terms_and_conditions_text:"Door een Account te creëren ga je akkoord met onze",terms_and_conditions_linked_text:"algemene voorwaarden",terms_and_conditions_url:"https://www.footy.eu/algemenevoorwaarden-privacystatement/",privacy_statement_text:"privacyverklaring",privacy_statement_url:"https://www.footy.nl/privacy-statement/",team_full_text:"Helaas, dit team zit al vol. Desalniettemin is de App altijd handig voor onze competities.",team_full_join_text:"Helaas, dit team zit al vol. Desalniettemin is de App altijd handig voor onze competities. Log in of maak een account om door te gaan.",forgot_pass_request_new_pass:"Verzoek nieuw wachtwoord",forgot_pass_response_msg:"Wachtwoord reset e-mail is verzonden. Check alsjeblief je inbox.",forgot_pass_invalid_mail:"Het e-mailadres is slecht opgemaakt.",forgot_pass_usernotfound_msg:"We konden geen account vinden met dat e-mailadres.",forgot_pass_limit_exceed:"Reset wachtwoord overschrijdt de limiet.",reset_your_password:"Reset uw wachtwoord",reset_for:"voor",reset_password_label:"Nieuw wachtwoord",reset_save_btn:"opslaan",reset_password_show:"Show",reset_password_hide:"Verbergen",password_change_msg:"Wachtwoord aangepast!",login_with_new_password_msg:"Je kunt nu inloggen met je nieuwe wachtwoord:",go_directly_to_msg:"Ga direct naar de",link_expired_msg:"Uw verzoek om uw wachtwoord te resetten, is verlopen of de link is al gebruikt",reset_again_msg:"Probeer uw wachtwoord nog een keer te resetten",login_use_social_provider:"Dit account gebruikt {provider} om in te loggen. Gebruik de {provider} knop op de inlogpagina.",signup_resume_existing_google:"We hebben je bestaande Google-account gevonden. Rond hieronder je Footy-profiel af om verder te gaan.",login_invalid_credentials_hint:'Onjuist e-mailadres of wachtwoord. Als je je hebt aangemeld via Google, gebruik dan de "Inloggen met Google" knop hieronder.',login_password_reset_hint:"Wachtwoord resetten werkt alleen voor accounts die met e-mail en wachtwoord zijn aangemaakt.",forgot_pass_social_hint:"Als je je hebt aangemeld via Google, kun je direct inloggen met de Google-knop — geen wachtwoord nodig.",social_login_callout_title:"Aangemeld met Google?",social_login_callout_body:"Gebruik de Google-knop hieronder om in te loggen. Vul geen wachtwoord in en vraag geen wachtwoordreset aan voor Google-accounts.",social_login_detected_t
488itle:"Gebruik {provider}-inloggen voor dit e-mailadres",back_to_login_use_social_provider:"Terug naar inloggen om {provider} te gebruiken"},r={next_fixtures:"Your next fixtures",recent_results:"Recent results",no_team_message:"With the Footy App you can search a team, join a team, join a league or rent a field.",join_team_message:"It seems you're not part of a team yet. Search your team and join them to get access to the clubhouse!",join_league_message:"If you’ve already registered for a league, the fixtures will follow shortly. In case you haven’t signed up, search for a league now. Or visit your team page to see if your team is complete already.",create_team_button:"Join a league",search_a_team:"Search a team",join_team_button:"Join a team",find_team:"Find Your Team",search_league:"Search a League",team_full_message:"This team is already full. Please select another team.",book_a_field:"Book a Field",upcomming_booking:"Upcoming Booking ",previous_booking:"Previous Booking",shared_booking:"Shared Booking",welcome_to_footy:"Welcome to Footy!",clubhouse:"Clubhouse",vist_team_page:"Visit Team Page"},o={next_fixtures:"Komende wedstrijden",recent_results:"Recente uitslagen",no_team_message:"Met de Footy App kun je een team zoeken, aansluiten bij een team, meedoen met een competitie, of een veldje huren.",join_team_message:"Zoek je team en sluit je bij hen aan om toegang te krijgen tot het clubhuis!",join_league_message:"Indien je al bent aangemeld voor een competitie komt het speelschema binnenkort. Als je nog niet bent ingeschreven, zoek een competitie. Of bezoek alvast de teampagina om te kijken of je compleet is.",create_team_button:"Meedoen met een competitie",search_a_team:"Zoek een Team",join_team_button:"Suit me aan bij een team",find_team:"Vind jouw team",search_league:"Zoek een League",team_full_message:"Dit team zit al vol. Selecteer alsjeblieft een ander team.",book_a_field:"Boek een Veld",upcomming_booking:"Aankomende Boeking ",previous_booking:"Vorige Boekingen",shared_booking:"Shared Booking",welcome_to_footy:"Welkom bij Footy!",clubhouse:"Clubhuis",vist_team_page:"Bezoek Team Pagina"},s={intro:"You have not selected a team yet. Here you can search for a team to look at their list fixtures.",title:"Find fixtures",SearchTeam:"Search Team",SearchPlayer:"Search Player"},m={intro:"Je hebt nog geen team geselecteerd. Hier kun je op teams zoeken om hun speelschema in te zien.",title:"Vind speelschema's",SearchTeam:"Zoek een team",SearchPlayer:"Zoek een player"},u={choose_team:"Choose team",choose_player:"Choose player",match_notification:"Match Notification",my_teams:"My teams",other_teams:"Also",postponed:"Postponed",select_team:"Select Team",search_player:"Search Player",no_results_to_show:"No results to show",no_fixtures:"No games to show"},c={choose_team:"Kies team",choose_player:"Kies player",match_notification:"Melding",my_team
488s:"Mijn teams",other_teams:"Andere teams",postponed:"Uitgesteld",select_team:"Selecteer een Team",select_player:"Selecteer een Player",no_results_to_show:"Geen resultaten te zien",no_fixtures:"Geen wedstrijden te zien",search_player:"Zoek speler"},k={bookings:"Bookings",clubhouse:"Clubhouse",emailaddress:"Email address",fixtures:"Fixtures",group_phase:"Group phase",knockout_phase:"Knockout phase",language:"Language",loading:"Loading",login:"Log in",menu:"Menu",password:"Password",profile:"My Profile",required:"Required",results:"Results",search:"Search",select:"Select",signup:"Sign Up",standings:"Standings",team:"Team",submit:"Submit",playerProfile:"Player Profile",view_all:"View all",details:"Details",potm_label:"POTM",ref_label:"Ref"},v={bookings:"Bookings",clubhouse:"Clubhuis",emailaddress:"E-mailadres",fixtures:"Schema",group_phase:"Groepsfase",knockout_phase:"Knockout-fase",language:"Taal",loading:"Bezig met laden",login:"Inloggen",menu:"Menu",password:"Wachtwoord",profile:"Profiel",required:"Vereist",results:"Uitslagen",search:"Zoek",select:"Kiezen",signup:"Maak Account Aan",standings:"Standen",team:"Team",submit:"Indienen",view_all:"Bekijk alles",details:"Details",potm_label:"Speler vd match",ref_label:"Ref"},f={back:"Back",cancel:"Cancel",close:"Close",done:"Done",edit:"Edit",save:"Save"},_={back:"Terug",cancel:"Annuleren",close:"Sluit",done:"Klaar",edit:"Wijzigen",save:"Opslaan"},g={change_language:"Change language",find_fixtures:"Find fixtures",my_profile:"My profile",log_out:"Log out",profile:"Profile",finals:"Finals",my_bookings:"My Bookings",contact_footy:"Contact Footy",join_a_league:"Join a League",profile_and_billing:"Profile & Billing",Billing_and_Payment_method:"Billing & Payment method",logout_confim_msg:"Do you want to log out?",logout_yes:"Yes",logout_no:"No"},p={change_language:"Wijzig taal",find_fixtures:"Vind wedstrijden",my_profile:"Mijn profiel",log_out:"Uitloggen",profile:"Profiel",finals:"Finale",my_bookings:"Mijn boekingen",contact_footy:"Contact met Footy",join_a_league:"Meedoen met Competitie",profile_and_billing:"Profiel & Facturatie",Billing_and_Payment_method:"Betalingsgegevens",logout_confim_msg:"Wilt u uitloggen?",logout_yes:"Ja",logout_no:"Nee"},N={account_country:"Country",account_city:"City",account_details:"Account details",account_email:"Email address",account_email_placeholder:"[email protected]",account_first_name:"First name",account_first_name_placeholder:"John",account_gender:"Gender",account_gender_man:"Man",account_gender_woman:"Woman",account_gender_other:"other",account_last_name:"Last name",account_last_name_placeholder:"Spartan",account_name:"Name",account_password:"Password",account_password_confirm:"Confirm password",account_phone:"Phone number",account_phone_placeholder:"06-12345678",account_player_type:"Player type",account_player_type_coed:"Coed",account_player_type_man:"Man",account_player_type_other:"Other",account_player_type_student:"Student",account_player_type_woman:"Woman",account_social_login_provider:"Social login provider",communication_preferences_email:"I don’t want to re
488ceive marketing emails of Footy",communication_preferences_marketing:"I'm happy to marketing messages from Footy",communication_preferences_title:"Communication preferences",complete_profile_title:"Complete your profile to continue",complete_profile_message:"Please fill in the missing details below before using the rest of the app.",complete_profile_missing:"Missing required fields:",delete_account_button:"Delete account",delete_account_explanation:"On deletion we will remove all of your player account details from the FOOTY database except your name which will remain against any POTM of Player of the Season awards.",delete_account_temp_message:"Please send an email to [email protected] to delete your account.",delete_account_title:"Delete account",delete_account_warning:"Once you delete your account, there is no going back.",error_city_required:"City is required",error_confirm_password_required:"Confirm password is required",error_email_default:"Email error",error_email_in_use:"The email address is already in use by another account",error_email_invalid:"The email address is invalid",error_email_required:"Email address is required",error_email_exists:"An account with this email already exists. Login or choose a different email address.",error_first_name_required:"First name is required",error_last_name_required:"Last name is required",error_on_form:"Please correct the errors on the form above and try again.",error_password_required:"Password is required",error_passwords_dont_match:"Passwords don't match. Please re-enter the same password to confirm.",error_phone_required:"Phone number is required",ringer_city:"City",ringer_label_extra:"You can change this later in your profile",ringer_label:"I would like to be a Free Agent",ringer_settings:"Free Agent settings",photo_change:"Change photo",photo_choose:"Choose a different photo",photo_save:"Save this photo",your_details:"Your details",your_teams_title:"Your teams",no_match_password_confirm_password:"Both passwords must be the same.",enter_confirm_password:"Please enter confirm password",enter_password:"Please enter password",leave_team:"Leave team",leave_team_confirmation:"Are you sure you want to leave this team?",leave_confirm_yes:"Yes",leave_confirm_no:"No",welcome_msg:"Welcome back",phn_format:"555-123-4567"},h={account_city:"Stad",account_details:"Profiel gegevens",account_email:"Emailadres",account_email_placeholder:"[email protected]",account_first_name:"Naam",account_first_name_placeholder:"Pieter",account_gender:"Geslacht",account_gender_man:"Man",account_gender_woman:"Vrouw",account_gender_other:"ander",account_last_name:"Achternaam",account_last_name_placeholder:"De Vries",account_name:"Naam",account_password:"Wachtwoord",account_password_confirm:"Bevestig wachtwoord",account_phone:"Telefoonnummer",account_phone_placeholder:"1234567890",account_player_type:"Type speler",account_player_type_coed:"Gemengd",account_player_type_mens:"Man",account_player_type_other:"Overige",account_player_type_student:"Student",account_player_type_womens:"Vrouw",account_social_login_provider:"Social login aanbieder",communication_preferences_email:"Ik wil geen marketing emails van Footy ontvangen",communication_preferences_marketing:"Ik ontvang graag promotie berichten van Footy",communication_preferences_title:"Communicatie voorkeuren",complete_profile_title:"Vul eerst je profiel aan om verder te gaan",complete_profile_message:"Vul hieronder de ontbrekende gegevens in voordat je de rest van de app gebruikt.",complete_profile_missing:"Ontbrekende verplichte velden:",delete_account_button:"Verwijder profiel",delete_account_explanation:"Bij het verwijderen worden alle gegevens van je speler profiel uit de Footy database verwijderd, met uitzondering van je naam, die we tonen bij POTM of speler van het jaar prijzen.",delete_account_temp_message:"Stuur een email naar [email protected] om je acccount te verwijderen, alsjeblieft.",delete_account_title:"Verwijder profiel",delete_account_warning:"Je kunt het verwijderen van je profiel niet ongedaan maken.",error_city_required:"Stad is vereist",error_confirm_password_required:"Vul je wachtwoord nogmaals in svp",error_email_default:"Emailfout",error_email_in_use:"Dit emailadres wordt al gebruik door een andere account",error_email_invalid:"Het email adres is ongeldig",error_email_required:"Je emailadres is vereist",error_email_exists:"Een account met deze email bestaat al. login or kies een ender email adres.",error_first_name_required:"Je voorna
488am is vereist",error_last_name_required:"Je achternaam is vereist",error_on_form:"Pas alsjeblieft de fouten in het formulier aan en probeer het nogmaals.",error_password_required:"Vul je wachtwoord in svp",error_passwords_dont_match:"Wachtwoorden zijn niet hetzelfde. Bevestig svp je wachtwoord.",error_phone_required:"Je telefoonnummer is vereist",ringer_label:"Ik wil graag een invaller zijn",ringer_label_extra:"Je kunt dit later in je profiel aanpassen",ringer_city:"Plaats",ringer_settings:"Ringer instellingen",photo_change:"Verander foto",photo_choose:"Kies een andere foto",photo_save:"Bewaar deze foto",your_details:"Jouw gegevens",your_teams_title:"Jouw teams",no_match_password_confirm_password:"Beide wachtwoorden moeten hetzelfde zijn.",enter_confirm_password:"Voer bevestig wachtwoord in",enter_password:"voer wachtwoord in",leave_team:"Team verlaten",leave_team_confirmation:"Weet je zeker dat je dit team wilt verlaten?",leave_confirm_yes:"Ja",leave_confirm_no:"Nee",welcome_msg:"Welkom terug",phn_format:"06-12345678"},y={empty_message:"No standings to show",no_awards_to_show:"No awards to show yet",select_league:"Select league"},b={empty_message:"Geen standen te zien",no_awards_to_show:"Nog geen prijzen om te laten zien",select_league:"Selecteer een Competitie"},S={all_time_record:"All time record",captain:"Captain",founded:"Founded",recent_form:"Recent form",vice_captain:"Vice Captain"},F={all_time_record:"Statistieken",captain:"Aanvoerder",founded:"Opgericht",recent_form:"Recente vorm",vice_captain:"Vice-aanvoerder"},w={instruction:"To continue please login or sign up.",introduction:"Welcome to the Footy App. On this App you can check out your schedule, standings and your team page, and now you can also book and pay for fields. Footy makes soccer even more accessible. Work Hard. Play Footy!"},O={instruction:"Log in of meld je aan om door te gaan.",introduction:"Welkom bij de Footy App. Hier \n kun je je toevoegen aan je team, \n speelschema’s en standen \n bekijken. Plus je kunt via de app \n veldjes boeken. Beleef jouw \n nieuwe voetbalervaring nu! \n Work Hard Play Footy."},j={"hoofd klasse":"Top tier","1e Klasse":"1st Class","2e Klasse":"2nd class","3e Klasse":"3rd class","4e Klasse":"4th Class","5e Klasse":"5th Class","6e Klasse":"6th Class","7e Klasse":"7th Class","8e Klasse":"8th Class","9e Klasse":"9th Class","10e Klasse":"10th Class","11e Klasse":"11th Class","12e Klasse":"12th Class","13e Klasse":"13th Class","14e Klasse":"14th Class","15e Klasse":"15th Class","16e Klasse":"16th Class","17e Klasse":"17th Class","18e Klasse":"18th Class","19e Klasse":"19th Class"},V={"hoofd klasse":"hoofd klasse","1e Klasse":"1e Klasse","2e Klasse":"2e Klasse","3e Klasse":"3e Klasse","4e Klasse":"4e Klasse","5e Klasse":"5e Klasse","6e Klasse":"6e Klasse","7e Klasse":"7e Klasse","8e Klasse":"8e Klasse","9e Klasse":"9e Klasse","10e Klasse":"10e Klasse","11e Klasse":"11e Klasse","12e Klasse":"12e Klasse","13e Klasse":"13e Klasse","14e Klasse":"14e Klasse","15e Klasse":"15e Klasse","16e Klasse":"16e Klasse","17e Klasse":"17e Klasse","18e Klasse":"18e Klasse","19e Klasse":"19e Klasse"},E={pick_a_location:"Pick a Location",date_and_time:"Date and Time",rent_field:"Rent a Field",sign_up:"Log In or Sign Up",company_and_friends_football:"Company & Friends football",student_football:"Student football",women_football:"Women football",show_on_map:"Show on map",book_this_field:"Book this field",from:"from",hour:"hour",step:"STEP",incl:"BTW",competitions:"Competitions",contact:"Contact",my_account:"My Account",online:"Online",about:"About",booking_details:"Booking details",based_on_selected_options:"Based on the options you’ve selected",options:"Options",date_time:"Date and time",field_size:"Field size",field_number:"Field Number",field_dimensions:"Field dimensions",schedule:"Schedule",benefits:"Benefits",book_now:"Book now",pay_now:"Pay now",booking_24_error:"Within 7 hours before the start you can only book a field by phone. Call (520) 314 1639",no_options:"TBC",select_time_slot_message:"Select available time slots by clicking and dragging. Time slots have a minimum of",amenities:"Amenities",cancellation_is_possible_1st_Half:"Cancellation is possible on The Footy App up to ",hours:"hours",cancellation_is_possible_2nd_Half:" before the match starts.",please_select_schedule:"Please select the schedule first",pick_a_time_slot:"Pick a time slot",pay_by:"Pay by",pick_time_slot:"Pick time slot",selecting_field:"Selecting Field",edit_time_slot:"Edit time slot",booked:"Booked",update:"Update",remove:"Remove",cancel_booking:"Cancel Booking",okay:"Okay",sorry_cancellation_possible_within_24:"Sorry cancellation is possible only before 48hrs",are_you_sure:"Are you sure?",after_cancelling_your_location:"Are you sure?",clubhouse:"Clubhouse",free_parking:"Free Parking",wifi:"WiFi",toilets:"Toilets",fifaCertifiedgrass:"Fifa certified grass",showers:"Showers",tv:"TV",bbq:"BBQ",kitchen:"Kitchen",bar:"Bar",terrace:"Terrace",parking_lot:"Parking Lot",make_payment:"Make Payment",select_payment_provider:"Select Payment Provider",thank_you:"Thank You",payment_success:"Payment Success",you_should_receive_a_confirmation_of_your_booking_at:"You should receive a confirmation of your booking at",within_a_few_minutes_see_you_at:"within a few minutes. See you at",on:"on",at:"at",work_hard_play_footy_have_fun:"Work hard, play Footy ― and have fun!",show_booking_in_dashboard:"Show booking in dashboard",back_to_footy_homepage:"Book another field",share_your_booking:"Share your booking",use_link_to_share_booking_with_friends:"Use this link below to share your booking with your friends.",share_booking:"Share booking",edit_your_booking:"Edit your booking",change_of_plans_easily_change_booking:"Change of plans? Easily change the date or cancel your booking altogether.",edit_booking:"Edit booking",contact_information:"Contact information",you_can_reach_the_sportpark_for_more_information_using_the_contact_information_below:"You can reach the sportpark for more information using the contact information below",additional_information:"Additional information",cancellation_is_possible_up_to_24_hours_before_the_start_of_the_event:"Cancellation is possible up to 48 hours before the start of the event.",after_cancelling_your_reservation_you_will_receive_an_email_to_confirm_your_reimbursement:"After cancelling your reservation, you will receive an email to confirm your reimbursement.",confirm_cancellation:"Confirm cancellation",cancellation_notice:"Cancellation Notice",booking_c
488ancelled:"Booking cancelled",you_should_receive_a_confirmation_of_your_cancellation_at:"You should receive a confirmation of your cancellation at",within_a_few_minutes_a_refund_will_be_sent_out_within_24_hours:"within a few minutes. The refund will be automatically made, but may take a couple of days.",back_to_select_a_field:"Back to Select a Field",FREE:"FREE",refund_details:"Refund details",we_will_process_your_refund_as_soon_as_possible:"We will process your refund as soon as possible.",already_have_an_account:"Already have an account",login_to_your_existing_account:"to your existing account",sign_up1:"Sign up with",login:"Log in with",or:"or",create_an_account:"Create an account ",full_name:"Full name",phone_number:"Phone number",what_city_do_you_want_to_play:"What city do you want to play",password:"Password",password_placeholder:"password",name_placeholder:"Name",I_agree_to_the_TC_and_Privacy_Policiy:"I agree to the T&C and Privacy Policiy",register:"Register",dont_have_an_account:"Don't have an account",to_create_new_account:"to create new account",click_here:"Click Here",i_agree_to:"I agree to",terms_of_services:"terms of service",and:" and ",privacy_policy:"privacy policy",log_in_or_sign_up:"Log in or Sign up",this_time_slot_is_not_possible:"This time slot is not possible",please_select_an_valid_time_slot:"Please select an valid time slot",please_select_an_valid_time_slot_it_overlapping:"Please select an valid time slot it's overlapping",ex:"EX",required:" * required",made_by:"Made By",booking_update:"Booking Update",you_cannot_edit_booking_within_48_hr:"You can not edit a booking within 48 hours. For questions please call +316 83133380.",share_booking_header:"Share Booking Details",share_booking_search_msg:"Search all Names",share_booking_result_msg:"Names matching your search",share_booking_placeholder:"Search Names",share_booking_button:"Share",share_booking_success:"Your booking is shared successfully!",share_booking_search_result:"No search results",booking_update_yes:"Yes",booking_update_no:"No",cancelled_booking_btn:"Cancelled",booking_calendar_week:"This week",booking_update_price_chenge_error:"You can not change to this date and time as there is a price difference. Please try another date or call 06-83133380 for help.",no_bookings:"No Bookings to show",bookins:"Field Bookings",bookingby_ideal:"PAY WITH IDEAL",bookingby_card:"PAY WITH CREDIT CARD",cancellation_failed:"The cancellation could not be completed and your booking is still active. No refund has been processed. Please try again in a moment or contact [email protected].",price_unavailable:"This time slot has no rate configured and cannot be booked. Please pick another slot or contact [email protected].",cancellation_incomplete:"Your refund was created, but the booking could not be fully cancelled. Please try again or contact [email protected] so we can finish it for you."},T={pick_a_location:"Kies een Locatie",date_and_time:"Datum en Tijd",rent_field:"Huur een Veld",sign_up:"Meld je aan of schrijf je in",company_and_friends_football:"Bedrijf & Vrienden voetbal",student_football:"Studenten voetbal",women_football:"Vrouwen voetbal",booking_24_error:"Binnen 7 uur voor de boeking start, kun je alleen per telefoon boeken. Bel 06-83133380.",no_options:"NTB",show_on_map:"Toon op kaart",book_this_field:"Boek dit veld",from:"vanaf",hour:"uur",step:"STAP",incl:"BTW",competitions:"Competities",contact:"Contact",my_account:"Mijn rekening",online:"Online",about:"Over",booking_details:"Boekingsgegevens",based_on_selected_options:"Op basis van de opties die je hebt geselecteerd",options:"Opties",date_time:"Datum en tijd",field_size:"Veld grootte",field_number:"Veld nummer",field_dimensions:"Veld afmetingen",schedule:"Schema",benefits:"Voordelen",book_now:"Boek nu",pay_now:"Nu betalen",select_time_slot_message:"Selecteer beschikbare tijdsloten door te klikken en te slepen. Tijdslots hebben een minimum van",amenities:"Voorzieningen",cancellation_is_possible_1st_Half:"Annuleren kan tot ",hours:"uur",cancellation_is_possible_2nd_Half:" voor aanvang van de wedstrijd via The Footy App.",please_select_schedule:"Selecteer eerst het schema",pick_a_time_slot:"Kies een tijdslot",pay_by:"Betalen met",pick_time_slot:"Tijdslot kiezen",selecting_field:"Gekozen Veld",booked:"Geboekt",edit_time_slot:"Tijdslot bewerken",update:"Update",remove:"Verwijderen",cancel_booking:"Boeking annuleren",okay:"Oké",sorry_cancellation_possible_within_24:"Sorry, annuleren is alleen mogelijk meer dan 48 uur van te voren. Voor vragen bel: +31 6 83133380.",are_you_sure:"Weet je het zeker?",after_cancelling_your_location:"Weet u het zeker?",clubhouse:"Clubhuis",free_parking:"Gratis parkeren",wifi:"WiFi",toilets:"Toiletten",fifaCertifiedgrass:"Fifa gecertificeerd gras",showers:"Douches",tv:"TV",bbq:"BBQ",kitchen:"Keuken",bar:"Bar",terrace:"Terras",parking_lot:"Parkeerplaats",make_payment:"Betalen",select_payment_provider:"Selecteer de Betalingsprovider",thank_you:"Bedankt",payment_success:"Betalen gelukt",you_should_receive_a_confirmation_of_your_booking_at:"U ontvangt een bevestiging van uw boeking op",within_a_few_minutes_see_you_at:"binnen een paar minuten. Zie je bij",on:"op",at:"bij",work_hard_play_footy_have_fun:"Work Hard, Play Footy - en veel plezier!",show_booking_in_dashboard:"Toon boeking in dashboard",back_to_footy_homepage:"Boek nog een veld",share_your_booking:"Deel uw boeking",use_link_to_share_booking_with_friends:"Gebruik deze link hieronder om uw boeking met uw vrienden te delen.",share_booking:"Boeking delen",edit_your_booking:"Bewerk uw boeking",change_of_plans_easily_change_booking:"Gewijzigde plannen? Wijzig eenvoudig de datum of annuleer je boeking helemaal.",edit_booking:"Boeking bewerken",contact_information:"Contactgegevens",you_can_reach_the_sportpark_for_more_information_using_the_contact_information_below:"Voor meer informatie kunt u het sportpark bereiken via onderstaande contactgegevens",additional_information:"Extra informatie",cancellation_is_possible_up_to_24_hours_before_the_start_of_the_event:"Annuleren is mogelijk tot 48 uur voor aanvang.",after_cancelling_your_reservation_you_will_receive_an_email_to_confirm_your_reimbursement:"Na het annuleren van uw reservering ontvangt u een e-mail ter bevestiging van uw terugbetaling.",confirm_cancellation:"Annulering bevestigen",cancellation_notice:"Annulering Kennisgeving",booking_c
488ancelled:"Boeking geannuleerd",you_should_receive_a_confirmation_of_your_cancellation_at:"U ontvangt een bevestiging van uw annulering op",within_a_few_minutes_a_refund_will_be_sent_out_within_24_hours:"binnen een paar minuten. De terugstorting wordt automatisch gedaan, maar kan een paar dagen duren.",back_to_select_a_field:"Terug naar Selecteer een veld",FREE:"GRATIS",refund_details:"Terugbetalingsgegevens",we_will_process_your_refund_as_soon_as_possible:"We verwerken je terugbetaling zo snel mogelijk.",already_have_an_account:"Heb je al een account",login_to_your_existing_account:"met je bestaande account",sign_up1:"Aanmelden met",or:"of",create_an_account:"Maak een account",full_name:"Volledige Naam",phone_number:"Telefoonnummer",what_city_do_you_want_to_play:"Welke stad wil je spelen",password:"Wachtwoord",password_placeholder:"Kies wachtwoord",name_placeholder:"Bijv. Marco van Basten",I_agree_to_the_TC_and_Privacy_Policiy:"Ik ben akkoord met de Algemene Voorwaarden en de Privacy Policy",register:"Aanmelden",dont_have_an_account:"Heb geen account",to_create_new_account:"om een ​​nieuw account aan te maken",click_here:"klik hier",i_agree_to:"Ik ga akkoord met",terms_of_services:"Algemene Voorwaarden",and:" en ",privacy_policy:"privacybeleid",log_in_or_sign_up:"Log in of Maak een Account",login:"Log in met",this_time_slot_is_not_possible:"Dit tijdslot is niet mogelijk",please_select_an_valid_time_slot:"Selecteer een beschikbaar tijdslot svp",please_select_an_valid_time_slot_it_overlapping:"Selecteer een geldig tijdslot dat overlapt",ex:"Bijv",required:" * verplicht",made_by:"Gemaakt door",booking_update:"Boeking update",you_cannot_edit_booking_within_48_hr:"Je kan niet boeking aanpassen binnen 48 uur. Voor vragen bel +316 83133380.",share_booking_header:"Deel Boekingdetails",share_booking_search_msg:"Zoek alle namen",share_booking_result_msg:"Namen die overeenkomen",share_booking_placeholder:"Zoek Namen",share_booking_button:"Deel",share_booking_success:"Jouw boeking is succesvol gedeeld!",share_booking_search_result:"Geen resultaten gevonden",booking_update_yes:"Ja",booking_update_no:"Nee",cancelled_booking_btn:"Geannuleerd",booking_calendar_week:"Deze week",booking_update_price_chenge_error:"Je kan deze boeking niet aanpassen naar deze tijd en datum vanwege een verschil in prijs. Probeer een andere datum of bel 06-83133380 voor hulp.",no_bookings:"Geen boeking te zien",bookins:"Boekingen",bookingby_ideal:"BETAAL MET IDEAL",bookingby_card:"BETAAL MET CREDITCARD ",cancellation_failed:"De annulering kon niet worden voltooid en je boeking is nog steeds actief. Er is geen terugbetaling verwerkt. Probeer het zo opnieuw of mail [email protected].",price_unavailable:"Voor dit tijdslot is geen tarief ingesteld, dus het kan niet geboekt worden. Kies een ander tijdslot of mail [email protected].",cancellation_incomplete:"Je terugbetaling is aangemaakt, maar de boeking kon niet volledig worden geannuleerd. Probeer het opnieuw of mail [email protected] zodat wij dit voor je afronden."};const P={en:{auth:d,clubhouse:r,find_fixtures:s,fixtures:u,global:k,interface:f,menu:g,profile:N,standings:y,team:S,welcome:w,colors:j,booking:E},nl:{auth:l,clubhouse:o,find_fixtures:m,fixtures:c,global:v,interface:_,menu:p,profile:h,standings:b,team:F,welcome:O,colors:V,booking:T}};var L=P;a["a"].use(t["a"]);const D="en",B=[{flag:"🇺🇸",name:"English",shortName:"en"},{flag:"🇳🇱",name:"Nederlands",shortName:"nl"}],q=B.map(e=>({label:e.name,value:e.shortName,flag:e.flag})),I=new t["a"]({locale:D,messages:L});n["a"]=I;const x=B.map(e=>e.shortName),A=navigator.language.split("-")[0],C=x.indexOf(A)>-1?A:D;I.locale=C},5645:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMatchesByLeagueId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"matches"},name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:165}};i.loc.source={body:"query GetMatchesByLeagueId($id: uuid!) {\n\tleagues(where: { id: { _eq: $id } }) {\n\t\tid\n\t\tdisplay_name\n\t\tmatches: matches {\n\t\t\tid\n\t\t\tdate\n\t\t\tman_of_the_match\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMatchesByLeagueId"]=l(i,"GetMatchesByLeagueId")},"564d":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPlayerBookingScheduleOnLocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"location_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_booking_schedules"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_booking_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"split"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_booking"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"payment_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"payment_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updated_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cityByCity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:704}};i.loc.source={body:"query GetPlayerBookingScheduleOnLocation($location_id: uuid!) {\n player_booking_schedules(where: {location_id: {_eq: $location_id}}) {\n date\n display_date\n id\n location_id\n pitchId\n pitch_id\n pitch_type\n player_booking_id\n price\n split\n time_from\n time_to\n created_at\n player_booking {\n player_id\n date\n time\n payment_type\n payment_id\n player {\n first_name\n last_name\n created_at\n updated_at\n cityByCity {\
488n country {\n name\n }\n name\n }\n }\n }\n \n }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetPlayerBookingScheduleOnLocation"]=l(i,"GetPlayerBookingScheduleOnLocation")},5854:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllLeagueFixtures"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_neq"},value:{kind:"StringValue",value:"finished",block:!1}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"EnumValue",value:"asc"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1148}};i.loc.source={body:'query GetAllLeagueFixtures($leagueId: uuid!, $currentDate: date!) {\n\tmatches(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ league: { _eq: $leagueId } }\n\t\t\t\t{ _or: [{ date: { _gte: $currentDate } }, { date: { _is_null: true } }] }\n\t\t\t\t{ home_score: { _is_null: true } }\n\t\t\t\t{ away_score: { _is_null: true } }\n\t\t\t\t{ leagueByLeague: { status: { _neq: "finished" } } }\n\t\t\t\t{ leagueByLeague: { published: { _eq: true } } }\n\t\t\t]\n\t\t}\n\t) {\n\t\tid\n\t\tdate\n\t\tkick_off_time\n\t\tpostponed\n\t\tnumber_of_halves\n\t\thalf_length\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t\tleague_teams(order_by: { placeholder_team: { name: asc } }) {\n\t\t\t\tid\n\t\t\t\tdeleted_at\n\t\t\t\tteam_id\n\t\t\t\tplaceholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmatch_comments {\n\t\t\ttext\n\t\t\tprivate\n\t\t}\n\t\taway_team: team {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\thome_team: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tplaceholder_away_team: placeholder_team {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\treferee: refereeByReferee {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tpitch: pitchByPitch {\n\t\t\tname\n\t\t\tpitch_name\n\t\t\tlocation {\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllLeagueFixtures"]=l(i,"GetAllLeagueFixtures")},"5cb2":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"update_multiple_player_booking_schedules"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"payload"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"jsonb"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_player_booking_schedule_if_available"},arguments:[{kind:"Argument",name:{kind:"Name",value:"args"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"payload"},value:{kind:"Variable",name:{kind:"Name",value:"payload"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:158}};i.loc.source={body:"mutation update_multiple_player_booking_schedules($payload: jsonb!) {\n update_player_booking_schedule_if_available(args: { payload: $payload }) {\n\t\tid\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;
488n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["update_multiple_player_booking_schedules"]=l(i,"update_multiple_player_booking_schedules")},6489:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPlayersByTeamAndMatch"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"match_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"team_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"final_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_statistics"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"match_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"match_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"team_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"team_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"final_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"final_id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"appearence"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"goals"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"match_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"final_id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:319}};i.loc.source={body:"query GetPlayersByTeamAndMatch ($match_id: uuid!, $team_id: uuid!, $final_id: uuid!){\n player_statistics(where: {match_id: {_eq: $match_id}, team_id: {_eq: $team_id}, final_id: {_eq: $final_id}}) {\n appearence\n goals\n league_id\n match_id\n id\n player_id\n player_name\n team_id\n final_id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetPlayersByTeamAndMatch"]=l(i,"GetPlayersByTeamAndMatch")},"64b6":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getUpcomingLeague"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date_comparison_exp"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"order_by"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}},{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finalsGroupByFinalsGroup"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}]}]}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}},{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:677}};i.loc.source={body:"query getUpcomingLeague($teamId: [uuid!]!, $query: date_comparison_exp!, $orderBy: order_by) {\n\tmatches(\n\t\twhere: {\
488n\t\t\tdate: $query\n\t\t\tleague: { _is_null: false }\n\t\t\t_and: [\n\t\t\t\t{ _or: [{ home_team: { _in: $teamId } }, { away_team: { _in: $teamId } }] }\n\t\t\t\t{\n\t\t\t\t\t_or: [\n\t\t\t\t\t\t{ leagueByLeague: { published: { _eq: true } } }\n\t\t\t\t\t\t{ finalsGroupByFinalsGroup: { final: { published: { _eq: true } } } }\n\t\t\t\t\t\t{ finalsKnockoutByFinalsKnockout: { final: { published: { _eq: true } } } }\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t\tlimit: 1\n\t\torder_by: { date: $orderBy }\n\t) {\n\t\thome_team\n\t\taway_team\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tname: display_name\n\t\t\ttype: __typename\n\t\t\tleague_type\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["getUpcomingLeague"]=l(i,"getUpcomingLeague")},6728:function(e,n){e.exports='<svg enable-background="new 0 0 128 128" id="Social_Icons" version="1.1" viewBox="0 0 128 128" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="_x31__stroke"><g id="Facebook_1_"><rect fill="none" height="128" width="128"></rect><path clip-rule="evenodd" d="M68.369,128H7.065C3.162,128,0,124.836,0,120.935 V7.065C0,3.162,3.162,0,7.065,0h113.871C124.837,0,128,3.162,128,7.065v113.87c0,3.902-3.163,7.065-7.064,7.065H88.318V78.431 h16.638l2.491-19.318H88.318V46.78c0-5.593,1.553-9.404,9.573-9.404l10.229-0.004V20.094c-1.769-0.235-7.841-0.761-14.906-0.761 c-14.749,0-24.846,9.003-24.846,25.535v14.246H51.688v19.318h16.681V128z" fill="#4460A0" fill-rule="evenodd" id="Facebook"></path></g></g></svg>'},"6e8d":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllResultFixtures"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:784}};i.loc.source={body:"query GetAllResultFixtures($leagueId: uuid!, $currentDate: date!) {\n\tmatches(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ league: { _eq: $leagueId } }\n\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t{ placeholder_home_team: { _is_null: true } }\n\t\t\t\t{ placeholder_away_team: { _is_null: true } }\n\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t]\n\t\t}\n\t) {\n\t\tid\n\t\tdate\n\t\tkick_off_time\n\t\taway_score\n\t\thome_score\n\t\tnumber_of_halves\n\t\thalf_length\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t}\n\t\tmatch_comments {\n\t\t\ttext\n\t\t\tprivate\n\t\t}\n\t\taway_team: team {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\thome_team: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\treferee: refereeByReferee {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tman_of_the_match: player {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllResultFixtures"]=l(i,"GetAllResultFixtures")},7182:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"registerPlayerWithTeam"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"player"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"team"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_join_players_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objects"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"player"},value:{kind:"Variable",name:{kind:"Name",value:"player"}}},{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"Variable",name:{kind:"Name",value:"team"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:165}};i.loc.source={body:"mutation registerPlayerWithTeam($player: uuid!, $team: uuid!) {\n\tinsert_join_players_teams(objects: { player: $player, team: $team }) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;
488n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["registerPlayerWithTeam"]=l(i,"registerPlayerWithTeam")},"76d3":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFixtureFinals"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"finalId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"finalId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"StringValue",value:"planned",block:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"StringValue",value:"published",block:!1}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group_stage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:2324}};i.loc.source={body:'query GetFixtureFinals($finalId: uuid!, $teamId: uuid!, $currentDate: date!) {\n\tfinals(\n\t\twhere: {\
488n\t\t\tid: { _eq: $finalId }\n\t\t\t_or: [{ status: { _eq: "planned" } }, { status: { _eq: "published" } }]\n\t\t}\n\t) {\n\t\tgroup_stage\n\t\tfinals_groups {\n\t\t\tmatches(\n\t\t\t\twhere: {\n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ date: { _gte: $currentDate } }\n\t\t\t\t\t\t{ away_score: { _is_null: true } }\n\t\t\t\t\t\t{ home_score: { _is_null: true } }\n\t\t\t\t\t\t{ deleted_at: { _is_null: true } }\n\t\t\t\t\t]\n\t\t\t\t\t_or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tpostponed\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t\tlocationByLocation {\n\t\t\t\t\t\ttimezone\n\t\t\t\t\t\tcity {\n\t\t\t\t\t\t\tcountry {\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\tplaceholder_away_team: placeholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tpitch: pitchByPitch {\n\t\t\t\t\tname\n\t\t\t\t\tpitch_name\n\t\t\t\t\tlocation {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}
488\n\t\tfinals_knockouts {\n\t\t\tmatches(\n\t\t\t\twhere: {\n\t\t\t\t\tdate: { _gte: $currentDate }\n\t\t\t\t\t_and: [{ away_score: { _is_null: true } }, { home_score: { _is_null: true } }]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t\tlocationByLocation {\n\t\t\t\t\t\ttimezone\n\t\t\t\t\t\tcity {\n\t\t\t\t\t\t\tcountry {\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\tplaceholder_away_team: placeholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tpitch: pitchByPitch {\n\t\t\t\t\tname\n\t\t\t\t\tpitch_name\n\t\t\t\t\tlocation {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetFixtureFinals"]=l(i,"GetFixtureFinals")},"7b67":function(e,n,i){"use strict";i.d(n,"b",(function(){return u})),i.d(n,"a",(function(){return c})),i.d(n,"c",(function(){return k}));var a=i("5a0c"),t=i.n(a),d=i("0ecf"),l=i.n(d),r=i("1953"),o=i.n(r);function s(e){return e.replace(/[+-]\d{2}(:\d{2})?$/,"")}t.a.extend(l.a),t.a.extend(o.a);const m="Europe/Amsterdam";function u(e,n,i){if(!e||!n)return t()("Invalid Date");const a=s(n);return t.a.tz(e+" "+a,i||m)}function c(e,n,i){if(!n||!e)return"";const a=s(e);return t.a.tz(n+" "+a,i||m).format("HH:mm")}function k(e,n){return e&&n?t.a.utc(t()(e).format("YYYY-MM-DD")+" "+s(n)):t()("Invalid Date")}},"7c16":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOtherLeagueTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"playerTeams"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"teams"},name:{kind:"Name",value:"join_league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_nin"},value:{kind:"Variable",name:{kind:"Name",value:"playerTeams"}}}]}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"distinct_on"},value:{kind:"EnumValue",value:"team_id"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:303}};i.loc.source={body:"query GetOtherLeagueTeams($leagueId: uuid!, $playerTeams: [uuid!]!) {\n\tteams: join_league_teams(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ league_id: { _eq: $leagueId } }\n\t\t\t\t{ team_id: { _is_null: false } }\n\t\t\t\t{ team_id: { _nin: $playerTeams } }\n\t\t\t]\n\t\t}\n\t\tdistinct_on: team_id\n\t) {\n\t\tteam {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetOtherLeagueTeams"]=l(i,"GetOtherLeagueTeams")},"80c5":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_player_booking_with_schedules"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"payload"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"jsonb"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_player_booking_with_schedules_if_available"},arguments:[{kind:"Argument",name:{kind:"Name",value:"args"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"payload"},value:{kind:"Variable",name:{kind:"Name",value:"payload"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:158}};i.loc.source={body:"mutation insert_player_booking_with_schedules($payload: jsonb!) {\n\tinsert_player_booking_with_schedules_if_available(args: { payload: $payload }) {\n\t\tid\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_player_booking_with_schedules"]=l(i,"insert_player_booking_with_schedules")},"840b":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllResultFinals"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"finalId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"finalId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group_stage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pens_winner"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1611}};i.loc.source={body:"query GetAllResultFinals($finalId: uuid!, $currentDate: date!) {\n\tfinals(where: { _and: [{ id: { _eq: $finalId } }] }) {\n\t\tgroup_stage\n\t\tfinals_groups {\n\t\t\tmatches(\n\t\t\t\twhere: {\
488n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t\t\t\t{ deleted_at: { _is_null: true } }\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfinals_knockouts {\n\t\t\tmatches(\n\t\t\t\twhere: {\n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tpens_winner\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllResultFinals"]=l(i,"GetAllResultFinals")},8557:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAttachedFinalAndMiniLeagues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"attachedFinals"},name:{kind:"Name",value:"join_finals_leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"EnumValue",value:"asc"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_finals"},arguments:[],directives:[]}
488,{kind:"Field",name:{kind:"Name",value:"qualification_positions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_game_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_time_slot"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"round_robin_format"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_pitches"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_teams"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_completed"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"teamsInGroup"},name:{kind:"Name",value:"placeholderTeamsByParentGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_finals"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"game_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"round"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"referee"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_team"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"refereeObj"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitchObj"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city_id"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeamObj"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeamObj"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phHomeTeamObj"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phAwayTeamObj"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_teams"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_finals"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updated_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_slot_duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_game_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default_pitches"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_teams"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"game_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"referee"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pens_winner"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"refereeObj"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitchObj"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city_id"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeamObj"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeamObj"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phHomeTeamObj"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phAwayTeamObj"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"join_finals_leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}
488,{kind:"Field",name:{kind:"Name",value:"qualification_positions"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"attachedMiniLeagues"},name:{kind:"Name",value:"join_leagues_mini_leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"qualification_positions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"mini_league"},name:{kind:"Name",value:"leagueByMiniLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color_name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:3550}};i.loc.source={body:"query GetAttachedFinalAndMiniLeagues($leagueId: uuid!) {\n\tattachedFinals: join_finals_leagues(where: { league: { _eq: $leagueId } }) {\n\t\tcreated_at\n\t\tfinal {\n\t\t\tid\n\t\t\tfinals_groups(order_by: { name: asc }) {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tparent_finals\n\t\t\t\tqualification_positions\n\t\t\t\tdefault_game_length\n\t\t\t\tdefault_number_of_halves\n\t\t\t\tdefault_half_length\n\t\t\t\tdefault_time_slot\n\t\t\t\tround_robin_format\n\t\t\t\tdefault_pitches\n\t\t\t\tnumber_of_teams\n\t\t\t\tfrequency\n\t\t\t\tis_completed\n\t\t\t\tteamsInGroup: placeholderTeamsByParentGroup {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t\tseeding_league\n\t\t\t\t\tseeding_position\n\t\t\t\t\tseeding_group\n\t\t\t\t\tparent_league\n\t\t\t\t\tparent_group\n\t\t\t\t\tparent_finals\n\t\t\t\t}\n\t\t\t\tmatches {\n\t\t\t\t\taway_score\n\t\t\t\t\taway_team\n\t\t\t\t\tcreated_at\n\t\t\t\t\tdate\n\t\t\t\t\tgame_length\n\t\t\t\t\thome_score\n\t\t\t\t\thome_team\n\t\t\t\t\tpitch\n\t\t\t\t\tname\n\t\t\t\t\tid\n\t\t\t\t\tkick_off_time\n\t\t\t\t\tman_of_the_match\n\t\t\t\t\tname\n\t\t\t\t\tfinals_group\n\t\t\t\t\tfinals_knockout\n\t\t\t\t\tplaceholder_away_team\n\t\t\t\t\tplaceholder_home_team\n\t\t\t\t\tpostponed\n\t\t\t\t\tround\n\t\t\t\t\tnumber_of_halves\n\t\t\t\t\thalf_length\n\t\t\t\t\treferee\n\t\t\t\t\tslot_time\n\t\t\t\t\tdeleted_at\n\t\t\t\t\tdeleted_team\n\t\t\t\t\trefereeObj: refereeByReferee {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tfirst_name\n\t\t\t\t\t\tlast_name\n\t\t\t\t\t}\n\t\t\t\t\tpitchObj: pitchByPitch {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\tpitch_name\n\t\t\t\t\t\tlocation {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\tcity_id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tawayTeamObj: team {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t}\n\t\t\t\t\thomeTeamObj: teamByHomeTeam {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t}\n\t\t\t\t\tphHomeTeamObj: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t\tseeding_position\n\t\t\t\t\t\tseeding_league\n\t\t\t\t\t\tseeding_group\n\t\t\t\t\t\tseeding_match\n\t\t\t\t\t}\n\t\t\t\t\tphAwayTeamObj: placeholder_team {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t\tseeding_position\n\t\t\t\t\t\tseeding_league\n\t\t\t\t\t\tseeding_group\n\t\t\t\t\t\tseeding_match\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfinals_knockouts {\n\t\t\t\tid\n\t\t\t\tnumber_of_teams\n\t\t\t\tparent_finals\n\t\t\t\tupdated_at\n\t\t\t\tdefault_slot_duration\n\t\t\t\tdefault_game_length\n\t\t\t\tdefault_number_of_halves\n\t\t\t\tdefault_half_length\n\t\t\t\tdefault_pitches\n\t\t\t\tnumber_of_teams\n\t\t\t\tfrequency\n\t\t\t\tcreated_at\n\t\t\t\tmatches {\n\t\t\t\t\taway_score\n\t\t\t\t\taway_team\n\t\t\t\t\tcreated_at\n\t\t\t\t\tdate\n\t\t\t\t\tgame_length\n\t\t\t\t\thome_score\n\t\t\t\t\thome_team\n\t\t\t\t\tpitch\n\t\t\t\t\tname\n\t\t\t\t\tid\n\t\t\t\t\tkick_off_time\n\t\t\t\t\tman_of_the_match\n\t\t\t\t\tname\n\t\t\t\t\tfinals_group\n\t\t\t\t\tfinals_knockout\n\t\t\t\t\tplaceholder_away_team\n\t\t\t\t\tplaceholder_home_team\n\t\t\t\t\tnumber_of_halves\n\t\t\t\t\thalf_length\n\t\t\t\t\tpostponed\n\t\t\t\t\treferee\n\t\t\t\t\tslot_time\n\t\t\t\t\tpens_winner\n\t\t\t\t\trefereeObj: refereeByReferee {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tfirst_name\n\t\t\t\t\t\tlast_name\n\t\t\t\t\t}\n\t\t\t\t\tpitchObj: pitchByPitch {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\tpitch_name\n\t\t\t\t\t\tlocation {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\tcity_id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tawayTeamObj: team {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t}\n\t\t\t\t\thomeTeamObj: teamByHomeTeam {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t}\n\t\t\t\t\tphHomeTeamObj: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t\tseeding_position\n\t\t\t\t\t\tseeding_league\n\t\t\t\t\t\tseeding_group\n\t\t\t\t\t\tseeding_match\n\t\t\t\t\t}\n\t\t\t\t\tphAwayTeamObj: placeholder_team {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\ttype\n\t\t\t\t\t\tseeding_position\n\t\t\t\t\t\tseeding_league\n\t\t\t\t\t\tseeding_group\n\t\t\t\t\t\tseeding_match\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tdisplay_name\n\t\t\tcolor\n\t\t\tcolor_name\n\t\t\tkick_off_date\n\t\t\tjoin_finals_leagues(where: { league: { _eq: $leagueId } }) {\n\t\t\t\tid\n\t\t\t\tqualification_positions\n\t\t\t}\n\t\t}\n\t}\n\tattachedMiniLeagues: join_leagues_mini_leagues(where: { league: { _eq: $leagueId } }) {\n\t\tqualification_positions\n\t\tcreated_at\n\t\tmini_league: leagueByMiniLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t\tkick_off_date\n\t\t\tcolor\n\t\t\tcolor_name\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAttachedFinalAndMiniLeagues"]=l(i,"GetAttachedFinalAndMiniLeagues")},"85c8":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RemovePlayerFromTeam"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"player_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"team_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delete_join_players_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"player"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"player_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"team_id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:191}};i.loc.source={body:"mutation RemovePlayerFromTeam($player_id: uuid!, $team_id: uuid!) {\n\tdelete_join_players_teams(where: { player: { _eq: $player_id }, team: { _eq: $team_id } }) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["RemovePlayerFromTeam"]=l(i,"RemovePlayerFromTeam")},8656:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllCountries"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"countries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:69}};i.loc.source={body:"query GetAllCountries {\n countries {\n id\n name\n code\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllCountries"]=l(i,"GetAllCountries")},8689:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMatchesByFinalsGroup"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"matches"},name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"phHomeTeamObj"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phAwayTeamObj"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"matches"},name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"phHomeTeamObj"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"phAwayTeamObj"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seeding_match"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:977}};i.loc.source={body:"query GetMatchesByFinalsGroup($id: uuid!) {\n\tfinals_groups(where: { parent_finals: { _eq: $id } }) {\n\t\tid\n\t\tmatches: matches {\n\t\t\tid\n\t\t\tdate\n\t\t\tkick_off_time\n\t\t\tdeleted_at\n\t\t\tman_of_the_match\n\t\t\tphHomeTeamObj: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\ttype\n\t\t\t\tseeding_position\n\t\t\t\tseeding_league\n\t\t\t\tseeding_group\n\t\t\t\tseeding_match\n\t\t\t}\n\t\t\tphAwayTeamObj: placeholder_team {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\ttype\n\t\t\t\tseeding_position\n\t\t\t\tseeding_league\n\t\t\t\tseeding_group\n\t\t\t\tseeding_match\n\t\t\t}\n\t\t\tslot_time\n\t\t}\n\t}\n\tfinals_knockouts(where: { parent_finals: { _eq: $id } }) {\n\t\tid\n\t\tmatches: matches {\n\t\t\tid\n\t\t\tdate\n\t\t\tkick_off_time\n\t\t\tdeleted_at\n\t\t\tphHomeTeamObj: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\ttype\n\t\t\t\tseeding_position\n\t\t\t\tseeding_league\n\t\t\t\tseeding_group\n\t\t\t\tseeding_match\n\t\t\t}\n\t\t\tphAwayTeamObj: placeholder_team {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\ttype\n\t\t\t\tseeding_position\n\t\t\t\tseeding_league\n\t\t\t\tseeding_group\n\t\t\t\tseeding_match\n\t\t\t}\n\t\t\tslot_time\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMatchesByFinalsGroup"]=l(i,"GetMatchesByFinalsGroup")},"8ad8":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getSearchTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_ilike"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"badge"},name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:131}};i.loc.source={body:"query getSearchTeams($searchTerm: String!) {\n\tteams(where: { name: { _ilike: $searchTerm } }) {\n\t\tid\n\t\tname\n\t\tbadge: logo_url\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["getSearchTeams"]=l(i,"getSearchTeams")},"8c4a":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"delete_player_red_cards"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delete_player_red_cards"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:132}};i.loc.source={body:"mutation delete_player_red_cards($id: uuid!) {\n\tdelete_player_red_cards(where: { id: { _eq: $id } }) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["delete_player_red_cards"]=l(i,"delete_player_red_cards")},"922d":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getPlayerByEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"email"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firebase_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gender"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"language"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone_number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ringer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"whatsapp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zendesk_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"man_of_the_match"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"teamObj"},name:{kind:"Name",value:"teamByTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"finals"},name:{kind:"Name",value:"join_team_finals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"leagues"},name:{kind:"Name",value:"league_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"league_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:547}};i.loc.source={body:"query getPlayerByEmail($email: String!) {\n\tplayers(where: { email: { _eq: $email } }) {\n\t\tcity\n\t\temail\n\t\tfirebase_id\n\t\tfirst_name\n\t\tgender\n\t\tid\n\t\tlanguage\n\t\tlast_name\n\t\tphone_number\n\t\trole\n\t\tringer\n\t\tstatus\n\t\twhatsapp\n\t\tzendesk_id\n\t\tphoto_url\n\t\tmatches {\n\t\t\tman_of_the_match\n\t\t}\n\t\tjoin_players_teams {\n\t\t\tteamObj: teamByTeam {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tlogo_url\n\t\t\t\tfinals: join_team_finals {\n\t\t\t\t\tid\n\t\t\t\t\tfinal {\n\t\t\t\t\t\tdisplay_name\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tleagues: league_teams {\n\t\t\t\t\tid: league_id\n\t\t\t\t\t league {\n display_name\n }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["getPlayerByEmail"]=l(i,"getPlayerByEmail")},"93ff":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetStandingLeagues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"matches"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"join_team_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:478}};i.loc.source={body:"query GetStandingLeagues($teamId: uuid!) {\n\tleagues(\n\t\twhere: {\
488n\t\t\t_and: [{ published: { _eq: true } }]\n\t\t\tmatches: { _or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }] } }\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tstatus\n\t\tleague_type\n\t\tkick_off_date\n\t}\n\tfinals(where: {\n\t\t_and: { published: { _eq: true } }\n\t\t_or: [{ join_team_finals: { team: { _eq: $teamId } } }] }) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tstatus\n\t\tkick_off_date\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetStandingLeagues"]=l(i,"GetStandingLeagues")},"940f":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMatchesByLocationAndDatePublic"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"matchesByLocationAndDate"},name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_knockout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_home_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_away_team"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:432}};i.loc.source={body:"query GetMatchesByLocationAndDatePublic($id: uuid!, $date: date!) {\n matchesByLocationAndDate: matches(\n where: { location: { _eq: $id }, _and: { date: { _gte: $date } } }\n ) {\n id\n date\n kick_off_time\n slot_time\n pitch\n location\n league\n finals_group\n finals_knockout\n home_team\n away_team\n home_score\n away_score\n placeholder_home_team\n placeholder_away_team\n deleted_at\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMatchesByLocationAndDatePublic"]=l(i,"GetMatchesByLocationAndDatePublic")},"957c":function(e,n,i){var a={"./icon-arrow-left.svg":"179d","./icon-arrow-right.svg":"a8f3","./icon-chevron-down.svg":"d703","./icon-chevron-up.svg":"3077","./icon-clock.svg":"c11d","./icon-clubhouse.svg":"31cd","./icon-envelope.svg":"e4d1","./icon-fixtures.svg":"a4de","./icon-menu.svg":"eb6e","./icon-results.svg":"50e5","./icon-standings.svg":"c4cb","./icon-times.svg":"40cf"};function t(e){var n=d(e);return i(n)}function d(e){if(!i.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}t.keys=function(){return Object.keys(a)},t.resolve=d,e.exports=t,t.id="957c"},"96be":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_multiple_player_bookings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objects"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"player_bookings_stripe_insert_input"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_player_bookings_stripe"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objects"},value:{kind:"Variable",name:{kind:"Name",value:"objects"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:177}};i.loc.source={body:"mutation insert_multiple_player_bookings($objects: [player_bookings_stripe_insert_input!]!) {\n\tinsert_player_bookings_stripe(objects: $objects) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_multiple_player_bookings"]=l(i,"insert_multiple_player_bookings")},"99ca":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"update_player_red_cards"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reason"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"player_id"}},type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to_date"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"from_date"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_player_red_cards"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}},{kind:"Argument",name:{kind:"Name",value:"_set"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"player_id"},value:{kind:"Variable",name:{kind:"Name",value:"player_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"from_date"},value:{kind:"Variable",name:{kind:"Name",value:"from_date"}}},{kind:"ObjectField",name:{kind:"Name",value:"to_date"},value:{kind:"Variable",name:{kind:"Name",value:"to_date"}}},{kind:"ObjectField",name:{kind:"Name",value:"reason"},value:{kind:"Variable",name:{kind:"Name",value:"reason"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:417}};i.loc.source={body:"mutation update_player_red_cards(\n $id: uuid!\n $reason: String\n $player_id: uuid\n $to_date: String\n $from_date: String\n) {\n update_player_red_cards(\n where: { id: { _eq: $id } }\n _set: {\n player_id: $player_id\n from_date: $from_date\n to_date: $to_date\n reason: $reason\n }\n ) {\n returning {\n id\n }\n }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["update_player_red_cards"]=l(i,"update_player_red_cards")},"9b8c":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLocationById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"location"},name:{kind:"Name",value:"locations_by_pk"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"phone_number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minimum_duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pwa_publish"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"incremental_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cancellation_notice_period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pdf_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"field_size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"vat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"longitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"about"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aboutNL"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extra_info"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extra_infoNL"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sunFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sunTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"monFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"monTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tueFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tueTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wedFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wedTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thursFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thursTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"satFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"satTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sunPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"monPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tuePrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wedPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thursPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"satPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"field_size"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"amenities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"benefits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:783}};i.loc.source={body:"query GetLocationById($id: uuid!) {\n\tlocation: locations_by_pk(id: $id) {\n\t\tid\n\t\tname\n\t\ttimezone\n\t\taddress\n\t\tcity {\n\t\t\tid\n\t\t\tname\n\t\t\tcountry {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t\tphone_number\n\t\tminimum_duration\n\t\tpwa_publish\n\t\tincremental_time\n\t\tcancellation_notice_period\n\t\tcurrency\n\t\tpdf_url\n\t\temail\n\t\tfield_size\n\t\tvat\n\t\tlogo_url\n\t\timage_url\n\t\tlongitude\n\t\tlatitude\n\t\tabout\n\t\taboutNL\n\t\textra_info\n\t\textra_infoNL\n\t\tpitches {\n\t\t\tid\n\t\t\tname\n\t\t\tpitch_name\n\t\t\ttype\n\t\t\tlocation_id\n\t\t\tsunFrom\n\t\t\tsunTo\n\t\t\tmonFrom\n\t\t\tmonTo\n\t\t\ttueFrom\n\t\t\ttueTo\n\t\t\twedFrom\n\t\t\twedTo\n\t\t\tthursFrom\n\t\t\tthursTo\n\t\t\tfriFrom\n\t\t\tfriTo\n\t\t\tsatFrom\n\t\t\tsatTo\n\t\t\tsunPrice\n\t\t\tmonPrice\n\t\t\ttuePrice\n\t\t\twedPrice\n\t\t\tthursPrice\n\t\t\tfriPrice\n\t\t\tsatPrice\n\t\t\tfield_size\n\t\t}\n\t\tamenities {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\tbenefits {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetLocationById"]=l(i,"GetLocationById")},"9bd8":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetResultLeagues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"matches"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}},{kind:"ObjectField",name:{kind:"Name",value:"join_team_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:543}};i.loc.source={body:"query GetResultLeagues($teamId: uuid!) {\n\tleagues(\n\t\twhere: {\
488n\t\t\t_and: [{ published: { _eq: true } }]\n\t\t\tmatches: {\n\t\t\t\t_or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }]\n\t\t\t\t_and: [{ home_score: { _is_null: false } }, { away_score: { _is_null: false } }]\n\t\t\t}\n\t\t}\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tleague_type\n\t\tkick_off_date\n\t}\n\tfinals(\n\t\twhere: { _and: { published: { _eq: true } }, join_team_finals: { team: { _eq: $teamId } } }\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tkick_off_date\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetResultLeagues"]=l(i,"GetResultLeagues")},"9c02":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetResultFixtures"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:872}};i.loc.source={body:"query GetResultFixtures($leagueId: uuid!, $teamId: uuid!, $currentDate: date!) {\n\tmatches(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ league: { _eq: $leagueId } }\n\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t{ placeholder_home_team: { _is_null: true } }\n\t\t\t\t{ placeholder_away_team: { _is_null: true } }\n\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t]\n\t\t\t_or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }]\n\t\t}\n\t) {\n\t\tid\n\t\tdate\n\t\tkick_off_time\n\t\taway_score\n\t\thome_score\n\t\tnumber_of_halves\n\t\thalf_length\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t}\n\t\tmatch_comments {\n\t\t\ttext\n\t\t\tprivate\n\t\t}\n\t\taway_team: team {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\thome_team: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\treferee: refereeByReferee {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tman_of_the_match: player {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetResultFixtures"]=l(i,"GetResultFixtures")},"9c56":function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetCustomerBookingsByLocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customer_bookings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"locationId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"comment"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country_id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"deleted_dates"},name:{kind:"Name",value:"deleted_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"ignored_dates"},name:{kind:"Name",value:"ignored_dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event_id"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"customer"},name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:875}};i.loc.source={body:"query GetCustomerBookingsByLocation($locationId: uuid!) {\n customer_bookings(where: { location_id: { _eq: $locationId } }) {\n id\n date\n field\n duration\n frequency\n time_from\n time_to\n title\n comment\n is_public\n location_id\n customer_id\n location{\n address\n name\n logo_url\n city{\n id\n country_id\n }\n }\n pitch{\n type\n name\n }\n deleted_dates: deleted_dates {\n id\n date\n event_id\n }\n ignored_dates: ignored_dates {\n id\n date\n event_id\n }\n customer: customer {\n id\n first_name\n last_name\n email\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetCustomerBookingsByLocation"]=l(i,"GetCustomerBookingsByLocation")},"9c9e":function(e,n,i){},a4de:function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-fixtures" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(2.000000, 1.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M14.041,-4.4408921e-16 C14.5538358,-4.4408921e-16 14.9765072,0.38604019 15.0342723,0.883378875 L15.041,1 L15.04,2.006 L17.051,2.006 C18.6518762,2.006 19.9604682,3.2574178 20.0518971,4.83537467 L20.057,5.012 L20.057,19.057 C20.057,20.717168 18.711168,22.063 17.051,22.063 L17.051,22.063 L3.006,22.063 C1.34583204,22.063 1.77635684e-15,20.717168 1.77635684e-15,19.057 L1.77635684e-15,19.057 L1.77635684e-15,5.012 C1.77635684e-15,3.35183204 1.34583204,2.006 3.006,2.006 L3.006,2.006 L5.015,2.006 L5.016,1 C5.016,0.44771525 5.46371525,-4.4408921e-16 6.016,-4.4408921e-16 C6.52883584,-4.4408921e-16 6.95150716,0.38604019 7.00927227,0.883378875 L7.016,1 L7.015,2.006 L13.04,2.006 L13.041,1 C13.041,0.44771525 13.4887153,-4.4408921e-16 14.041,-4.4408921e-16 Z M18.057,10.025 L2,10.025 L2,19.057 C2,19.5755586 2.39234979,20.0024789 2.89638522,20.0570969 L3.006,20.063 L17.051,20.063 C17.6065985,20.063 18.057,19.6125985 18.057,19.057 L18.057,19.057 L18.057,10.025 Z M5.015,4.006 L3.006,4.006 C2.45040154,4.006 2,4.45640154 2,5.012 L2,5.012 L2,8.025 L18.057,8.025 L18.057,5.012 C18.057,4.49344144 17.6646502,4.06652108 17.1606148,4.01190307 L17.051,4.006 L15.04,4.006 L15.041,5.013 C15.041,5.56528475 14.5932847,6.013 14.041,6.013 C13.5281642,6.013 13.1054928,5.62695981 13.0477277,5.12962113 L13.041,5.013 L13.04,4.006 L7.015,4.006 L7.016,5.013 C7.016,5.56528475 6.56828475,6.013 6.016,6.013 C5.50316416,6.013 5.08049284,5.62695981 5.02272773,5.12962113 L5.016,5.013 L5.015,4.006 Z"></path></g></g></g></svg>'},a684:function(e,n,i){"use strict";i.d(n,"a",(function(){return g})),i.d(n,"b",(function(){return p}));i("e9f5"),i("910d"),i("ab43");var a=i("74ca"),t=i("478e"),d=i("e13b"),l=i("d634"),r=i("c2c3"),o=i("2bf2"),s=i("2b0e"),m=i("522d"),u=i("260b"),c=(i("ea7b"),i("49c4"));s["a"].use(m["a"]);const k=Object(t["a"])({uri:"https://api.footy.eu/v1/graphql"}),v=Object(r["a"])(async(e,{headers:n,skipAuthorization:i})=>{if(i)return{headers:n};const a=u["a"].auth().currentUser;if(a){var t;const e=await a.getIdTokenResult(),i=null===e||void 0===e||null===(t=e.claims)||void 0===t?void 0:t["https://hasura.io/jwt/claims"];return i?{headers:{...n,Authorization:"Bearer "+e.token}}:{headers:n}}return{headers:n}}),f=Object(d["a"])(({graphQLErrors:e,networkError:n,operation:i})=>{if((null===e||void 0===e||!e.length)&&!n)return;const a=(null===e||void 0===e?void 0:e.map(e=>e.message))||[],t=(null===e||void 0===e?void 0:e.map(e=>{const n=e.extensions;return"string"===typeof(null===n||void 0===n?void 0:n.code)?n.code:null}).filter(e=>Boolean(e)))||[],d=n&&"message"in n?String(n.message):null;Object(c["b"])({category:"graphql_operation_failed",message:a[0]||d||"Apollo request failed",operationName:i.operationName||null,graphQLErrorCodes:t,graphQLErrorMessages:a,variableKeys:i.variables?Object.keys(i.variables):[],error:n||null,extras:{hasGraphQLErrors:!(null===e||void 0===e||!e.length),hasNetworkError:!!n,networkErrorName:n&&"name"in n?String(n.name):null}})}),_=new o["a"],g=new a["a"]({link:l["a"].from([f,v,k]),cache:_,defaultOptions:{query:{fetchPolicy:"no-cache"},watchQuery:{fetchPolicy:"no-cache"}}}),p=new m["a"]({defaultClient:g,defaultOptions:{$query:{fetchPolicy:"no-cache",errorPolicy:"all"}}})},a71b:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetStandingsData"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"points"},name:{kind:"Name",value:"join_league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"played_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"won_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lost_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"drawn_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gs_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gd_carried"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"points_carried"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"team"},name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"deleted_team"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"finals"},name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"deleted_team"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"is_completed"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_neq"},value:{kind:"BooleanValue",value:!0}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"homeTeam"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"awayTeam"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"deleted_team"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1387}};i.loc.source={body:"query GetStandingsData($leagueId: uuid!) {\n\tpoints: join_league_teams(where: { league_id: { _eq: $leagueId } }) {\n\t\tteam {\n\t\t\tname\n\t\t}\n\t\tplayed_carried\n\t\twon_carried\n\t\tlost_carried\n\t\tdrawn_carried\n\t\tgs_carried\n\t\tgd_carried\n\t\tpoints_carried\n\t}\n\tmatches(where: { league: { _eq: $leagueId } }) {\n\t\tid\n\t\tname\n\t\thome_score\n\t\taway_score\n\t\tman_of_the_match: player {\n\t\t\tid\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t\tteam: join_players_teams {\n\t\t\t\tid\n\t\t\t\tteam\n\t\t\t}\n\t\t}\n\t\tfinals_group: finalsGroupByFinalsGroup {\n\t\t\tname\n\t\t}\n\t\thomeTeam: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\tawayTeam: team {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t\tdeleted_team\n\t}\n\tfinals: finals(where: { id: { _eq: $leagueId } }) {\n\t\tfinals_knockouts {\n\t\t\tmatches {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tid\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tfinals_group: finalsGroupByFinalsGroup {\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\thomeTeam: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tawayTeam: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tdeleted_team\n\t\t\t}\n\t\t}\n\t\tfinals_groups(where: { is_completed: { _neq: true } }) {\n\t\t\tmatches {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tid\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tfinals_group: finalsGroupByFinalsGroup {\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\thomeTeam: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tawayTeam: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tdeleted_team\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetStandingsData"]=l(i,"GetStandingsData")},a899:function(e,n,i){},a8f3:function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-arrow-right" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(4.001733, 7.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M0.291160123,4.76489322 C0.358750866,4.69730248 0.433610061,4.64141013 0.513221706,4.59721618 L4.81916012,0.292893219 C5.20968441,-0.0976310729 5.84284939,-0.0976310729 6.23337369,0.292893219 C6.59385765,0.65337718 6.62158718,1.22060824 6.31656229,1.61289944 L6.23337369,1.70710678 L3.44,4.5 L14.4982669,4.5 C15.0505517,4.5 15.4982669,4.94771525 15.4982669,5.5 C15.4982669,6.01283584 15.1122267,6.43550716 14.614888,6.49327227 L14.4982669,6.5 L3.441,6.5 L6.23337369,9.29289322 C6.62389798,9.68341751 6.62389798,10.3165825 6.23337369,10.7071068 C5.87288972,11.0675907 5.30565867,11.0953203 4.91336746,10.7902954 L4.81916012,10.7071068 L0.513221706,6.40278382 C0.433610061,6.35858987 0.358750866,6.30269752 0.291160123,6.23510678 C0.110918142,6.0548648 0.0138647678,5.82293605 5.21804822e-15,5.58703139 L5.22238502e-15,5.41296861 C0.0138647678,5.17706395 0.110918142,4.9451352 0.291160123,4.76489322 Z" transform="translate(7.749133, 5.500000) rotate(-180.000000) translate(-7.749133, -5.500000) "></path></g></g></g></svg>'},a90a:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetResultLeagueForAllTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"matches"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"join_team_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:385}};i.loc.source={body:"query GetResultLeagueForAllTeams($teamId: [uuid!]!) {\n\tleagues(\n\t\twhere: { matches: { _or: [{ home_team: { _in: $teamId } }, { away_team: { _in: $teamId } }] } }\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tleague_type\n kick_off_date\n\n\t}\n\tfinals(where: { join_team_finals: { team: { _in: $teamId } } }) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tkick_off_date\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetResultLeagueForAllTeams"]=l(i,"GetResultLeagueForAllTeams")},ac56:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllRedcards"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_red_cards"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"from_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"to_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reason"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updated_at"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:122}};i.loc.source={body:"query GetAllRedcards {\n\tplayer_red_cards {\n\t\tid\n\t\tplayer_id\n\t\tfrom_date\n\t\tto_date\n\t\treason\n\t\tcreated_at\n\t\tupdated_at\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllRedcards"]=l(i,"GetAllRedcards")},ae6a:function(e,n,i){var a={"./icon-facebook.svg":"6728","./icon-google.svg":"fa3e","./icon-twitter.svg":"35f4"};function t(e){var n=d(e);return i(n)}function d(e){if(!i.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}t.keys=function(){return Object.keys(a)},t.resolve=d,e.exports=t,t.id="ae6a"},b09f:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_multiple_player_booking_cancelled"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"display_date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}
488,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"location_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitchId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"player_booking_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitch_type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"price"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"split"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time_from"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time_to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"created_at"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"players"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"venu"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"booker"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"payment"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"city_id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"country"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"paid"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"edited_on"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"payment_id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refund_id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refund_status"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refund_error"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_player_booking_c
488ancelled"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objects"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}},{kind:"ObjectField",name:{kind:"Name",value:"display_date"},value:{kind:"Variable",name:{kind:"Name",value:"display_date"}}},{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"pitchId"},value:{kind:"Variable",name:{kind:"Name",value:"pitchId"}}},{kind:"ObjectField",name:{kind:"Name",value:"pitch_id"},value:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"pitch_type"},value:{kind:"Variable",name:{kind:"Name",value:"pitch_type"}}},{kind:"ObjectField",name:{kind:"Name",value:"player_booking_id"},value:{kind:"Variable",name:{kind:"Name",value:"player_booking_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"price"},value:{kind:"Variable",name:{kind:"Name",value:"price"}}},{kind:"ObjectField",name:{kind:"Name",value:"split"},value:{kind:"Variable",name:{kind:"Name",value:"split"}}},{kind:"ObjectField",name:{kind:"Name",value:"time_from"},value:{kind:"Variable",name:{kind:"Name",value:"time_from"}}},{kind:"ObjectField",name:{kind:"Name",value:"time_to"},value:{kind:"Variable",name:{kind:"Name",value:"time_to"}}},{kind:"ObjectField",name:{kind:"Name",value:"created_at"},value:{kind:"Variable",name:{kind:"Name",value:"created_at"}}},{kind:"ObjectField",name:{kind:"Name",value:"players"},value:{kind:"Variable",name:{kind:"Name",value:"players"}}},{kind:"ObjectField",name:{kind:"Name",value:"booker"},value:{kind:"Variable",name:{kind:"Name",value:"booker"}}},{kind:"ObjectField",name:{kind:"Name",value:"venu"},value:{kind:"Variable",name:{kind:"Name",value:"venu"}}},{kind:"ObjectField",name:{kind:"Name",value:"payment"},value:{kind:"Variable",name:{kind:"Name",value:"payment"}}},{kind:"ObjectField",name:{kind:"Name",value:"city_id"},value:{kind:"Variable",name:{kind:"Name",value:"city_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"country"},value:{kind:"Variable",name:{kind:"Name",value:"country"}}},{kind:"ObjectField",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"ObjectField",name:{kind:"Name",value:"paid"},value:{kind:"Variable",name:{kind:"Name",value:"paid"}}},{kind:"ObjectField",name:{kind:"Name",value:"edited_on"},value:{kind:"Variable",name:{kind:"Name",value:"edited_on"}}},{kind:"ObjectField",name:{kind:"Name",value:"payment_id"},value:{kind:"Variable",name:{kind:"Name",value:"payment_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"refund_id"},value:{kind:"Variable",name:{kind:"Name",value:"refund_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"refund_status"},value:{kind:"Variable",name:{kind:"Name",value:"refund_status"}}},{kind:"ObjectField",name:{kind:"Name",value:"refund_error"},value:{kind:"Variable",name:{kind:"Name",value:"refund_error"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"affected_rows"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1314}};i.loc.source={body:"mutation insert_multiple_player_booking_cancelled(\n $date: String!\n $display_date: String!\n $location_id: uuid!\n $pitchId: String!\n $player_booking_id: Int!\n $pitch_id: uuid!\n $pitch_type: String!\n $price: String!\n $split: String!\n $time_from: String!\n $time_to: String!\n $created_at: String!\n $players: String\n $venu: String\n $booker: String\n $payment: String\n $city_id: String\n $country: String\n $email: String\n $paid: Boolean!\n $edited_on: String!\n $payment_id: String\n $refund_id: String\n $refund_status: String\n $refund_error: String\n) {\n insert_player_booking_cancelled(\n objects: {\n date: $date\n display_date: $display_date\n location_id: $location_id\n pitchId: $pitchId\n pitch_id: $pitch_id\n pitch_type: $pitch_type\n player_booking_id: $player_booking_id\n price: $price\n split: $split\n time_from: $time_from\n time_to: $time_to\n created_at: $created_at\n players: $players\n booker: $booker\n venu: $venu\n payment: $payment\n city_id: $city_id\n country: $country\n email: $email\n paid: $paid\n edited_on: $edited_on\n payment_id: $payment_id\n refund_id: $refund_id\n refund_status: $refund_status\n refund_error: $refund_error\n }\n ) {\n affected_rows\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_multiple_player_booking_cancelled"]=l(i,"insert_multiple_player_booking_cancelled")},b63c:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMatchesByLocationAndExactDate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bookingDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"matchDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"matchesByLocationAndExactDate"},name:{kind:"Name",value:"player_booking_schedules"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pitchId"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"bookingDate"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"matchesByPitchAndExactDate"},name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pitch"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"matchDate"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slot_time"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:513}};i.loc.source={body:"query GetMatchesByLocationAndExactDate(\n\t$id: String!\n\t$pitch_id: uuid!\n\t$bookingDate: String!\n\t$matchDate: date!\n) {\n\tmatchesByLocationAndExactDate: player_booking_schedules(\n\t\twhere: { pitchId: { _eq: $id }, _and: { date: { _eq: $bookingDate } } }\n\t) {\n\t\tid\n\t\tdate\n\t\tpitchId\n\t\ttime_from\n\t\ttime_to\n\t}
488\n\tmatchesByPitchAndExactDate: matches(\n\t\twhere: {\n\t\t\tpitch: { _eq: $pitch_id }\n\t\t\t_and: { date: { _eq: $matchDate }, deleted_at: { _is_null: true } }\n\t\t}\n\t) {\n\t\tid\n\t\tdate\n\t\tpitch\n\t\tkick_off_time\n\t\tslot_time\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetMatchesByLocationAndExactDate"]=l(i,"GetMatchesByLocationAndExactDate")},b9c0:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateRingerStatus"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"_set"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"ringer"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}]}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:171}};i.loc.source={body:"mutation updateRingerStatus($userId: uuid!, $status: Boolean) {\n\tupdate_players(_set: { ringer: $status }, where: { id: { _eq: $userId } }) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["updateRingerStatus"]=l(i,"updateRingerStatus")},ba12:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTeamCountryCode"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zendesk_id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"city"},name:{kind:"Name",value:"cityByCity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:175}};i.loc.source={body:"query GetTeamCountryCode($id: uuid!) {\n\tteams(where: { id: { _eq: $id } }) {\n\t\tid\n\t\tname\n\t\tzendesk_id\n\t\tcity: cityByCity {\n\t\t\tcountry {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tcode\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetTeamCountryCode"]=l(i,"GetTeamCountryCode")},ba86:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updatePlayer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"object"}},type:{kind:"NamedType",name:{kind:"Name",value:"players_set_input"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"update_players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}},{kind:"Argument",name:{kind:"Name",value:"_set"},value:{kind:"Variable",name:{kind:"Name",value:"object"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firebase_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gender"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"language"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone_number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ringer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"whatsapp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zendesk_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"teamObj"},name:{kind:"Name",value:"teamByTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"finals"},name:{kind:"Name",value:"join_team_finals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"finals"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"leagues"},name:{kind:"Name",value:"league_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"league_id"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:667}};i.loc.source={body:"mutation updatePlayer($id: uuid!, $object: players_set_input) {\n update_players(where: { id: { _eq: $id } }, _set: $object) {\n returning {\n id\n country {\n id\n name\n code\n }\n city\n email\n firebase_id\n first_name\n gender\n language\n last_name\n phone_number\n ringer\n status\n whatsapp\n zendesk_id\n photo_url\n join_players_teams {\n teamObj: teamByTeam {\n id\n name\n finals: join_team_finals {\n id: finals\n }\n leagues: league_teams {\n id: league_id\n }\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["updatePlayer"]=l(i,"updatePlayer")},c11d:function(e,n){e.exports='<svg viewBox="0 0 16 17" xmlns="http://www.w3.org/2000/svg"><path id="icon-clock" d="M6.66667 2.50033C6.47778 2.50033 6.31956 2.43633 6.192 2.30833C6.064 2.18077 6 2.02255 6 1.83366C6 1.64477 6.064 1.48633 6.192 1.35833C6.31956 1.23077 6.47778 1.16699 6.66667 1.16699H9.33333C9.52222 1.16699 9.68067 1.23077 9.80867 1.35833C9.93622 1.48633 10 1.64477 10 1.83366C10 2.02255 9.93622 2.18077 9.80867 2.30833C9.68067 2.43633 9.52222 2.50033 9.33333 2.50033H6.66667ZM8 9.83366C8.18889 9.83366 8.34733 9.76966 8.47533 9.64166C8.60289 9.5141 8.66667 9.35588 8.66667 9.16699V6.50033C8.66667 6.31144 8.60289 6.15299 8.47533 6.02499C8.34733 5.89744 8.18889 5.83366 8 5.83366C7.81111 5.83366 7.65289 5.89744 7.52533 6.02499C7.39733 6.15299 7.33333 6.31144 7.33333 6.50033V9.16699C7.33333 9.35588 7.39733 9.5141 7.52533 9.64166C7.65289 9.76966 7.81111 9.83366 8 9.83366ZM8 15.167C7.17778 15.167 6.40267 15.0088 5.67467 14.6923C4.94711 14.3754 4.31111 13.9448 3.76667 13.4003C3.22222 12.8559 2.79156 12.2199 2.47467 11.4923C2.15822 10.7643 2 9.98921 2 9.16699C2 8.34477 2.15822 7.56966 2.47467 6.84166C2.79156 6.1141 3.22222 5.4781 3.76667 4.93366C4.31111 4.38921 4.94711 3.95877 5.67467 3.64233C6.40267 3.32544 7.17778 3.16699 8 3.16699C8.68889 3.16699 9.35 3.2781 9.98333 3.50033C10.6167 3.72255 11.2111 4.04477 11.7667 4.46699L12.25 3.98366C12.3722 3.86144 12.5222 3.80033 12.7 3.80033C12.8778 3.80033 13.0333 3.86699 13.1667 4.00033C13.2889 4.12255 13.35 4.2781 13.35 4.46699C13.35 4.65588 13.2889 4.81144 13.1667 4.93366L12.7 5.40033C13.1222 5.95588 13.4444 6.55033 13.6667 7.18366C13.8889 7.81699 14 8.4781 14 9.16699C14 9.98921 13.8418 10.7643 13.5253 11.4923C13.2084 12.2199 12.7778 12.8559 12.2333 13.4003C11.6889 13.9448 11.0529 14.3754 10.3253 14.6923C9.59733 15.0088 8.82222 15.167 8 15.167ZM8 13.8337C9.28889 13.8337 10.3889 13.3781 11.3 12.467C12.2111 11.5559 12.6667 10.4559 12.6667 9.16699C12.6667 7.8781 12.2111 6.7781 11.3 5.86699C10.3889 4.95588 9.28889 4.50033 8 4.50033C6.71111 4.50033 5.61111 4.95588 4.7 5.86699C3.78889 6.7781 3.33333 7.8781 3.33333 9.16699C3.33333 10.4559 3.78889 11.5559 4.7 12.467C5.61111 13.3781 6.71111 13.8337 8 13.8337Z"></path></svg>'},c281:function(e,n,i){"use strict";i.d(n,"g",(function(){return s})),i.d(n,"d",(function(){return m})),i.d(n,"a",(function(){return u})),i.d(n,"b",(function(){return v})),i.d(n,"c",(function(){return f})),i.d(n,"e",(function(){return _})),i.d(n,"f",(function(){return g}));i("caad"),i("14d9"),i("13d5"),i("e9f5"),i("910d"),i("ab43"),i("9485");var a=i("5a0c"),t=i.n(a),d=i("8f19"),l=i.n(d),r=i("7b67"),o=i("0613");t.a.extend(l.a);const s=(e,n=!1)=>
488{if(!e)return[];const i=e=>e&&e.location&&e.location.timezone?e.location.timezone:e&&e.locationObj&&e.locationObj.timezone?e.locationObj.timezone:e&&e.pitch&&e.pitch.location&&e.pitch.location.timezone?e.pitch.location.timezone:e&&e.pitchByPitch&&e.pitchByPitch.location&&e.pitchByPitch.location.timezone?e.pitchByPitch.location.timezone:"",a=e=>{if(!e||!e.date||!e.kick_off_time)return Number.NaN;const n=i(e);if(n)return Object(r["b"])(e.date,e.kick_off_time,n).valueOf();const a=new Date(e.date+" "+e.kick_off_time).getTime();return a};return e=n?[...e].sort((e,n)=>{const i=(n.date||"").localeCompare(e.date||"");if(0!==i)return i;const t=a(e),d=a(n);return Number.isNaN(t)||Number.isNaN(d)?(n.kick_off_time||"").localeCompare(e.kick_off_time||""):d-t}):[...e].sort((e,n)=>{const i=(e.date||"").localeCompare(n.date||"");if(0!==i)return i;const t=a(e),d=a(n);return Number.isNaN(t)||Number.isNaN(d)?(e.kick_off_time||"").localeCompare(n.kick_off_time||""):t-d}),e};function m(e,n=!1){const i=s(e,n),a=i.reduce((e,n)=>{const i=n.postponed?"postponed":n.date;return e[i]||(e[i]=[]),e[i].push(n),e},{});if(a["postponed"]){const e=a["postponed"];delete a["postponed"],a["postponed"]=e}return a}function u(e,n){const i={played:0,won:0,lost:0,drawn:0,goalsScored:0,goalsConceded:0,goalDiff:0,points:0};let a=e.reduce((e,n)=>{const{awayTeam:a,away_score:t,homeTeam:d,home_score:l,placeholder_home_team:r,placeholder_away_team:o}=n,s=null!==l&&null!==t,m=d||r,u=a||o,c=m&&m.name,v=u&&u.name,f=m&&m.id,_=u&&u.id,g=e[c],p=e[v],N=k(m?m.id:null,n);return!g&&c&&(e[c]={...i,name:c,id:f}),!p&&v&&(e[v]={...i,name:v,id:_}),s&&(c&&e[c].played++,v&&e[v].played++,c&&(e[c].goalsScored=(e[c].goalsScored||0)+(l||0),e[c].goalsConceded=(e[c].goalsConceded||0)+(t||0),e[c].goalDiff=(e[c].goalsScored||0)-(e[c].goalsConceded||0)),v&&(e[v].goalsScored=(e[v].goalsScored||0)+(t||0),e[v].goalsConceded=(e[v].goalsConceded||0)+(l||0),e[v].goalDiff=(e[v].goalsScored||0)-(e[v].goalsConceded||0)),"W"===N&&(c&&e[c].won++,v&&e[v].lost++,c&&(e[c].points+=3)),"L"===N&&(c&&e[c].lost++,v&&e[v].won++,v&&(e[v].points+=3)),"D"===N&&(c&&e[c].drawn++,c&&e[c].points++,v&&e[v].drawn++,v&&e[v].points++)),e},{});return a=Object.values(a),n&&n.length&&a.map((e,i)=>{n.map(n=>{const t=n.team.name;t===e.name&&(a[i].points=parseInt(a[i].points)+(parseInt(n.points_carried)||0),a[i].drawn=parseInt(a[i].drawn)+(parseInt(n.drawn_carried)||0),a[i].goalDiff=parseInt(a[i].goalDiff)+(parseInt(n.gd_carried)||0),a[i].goalsConceded=parseInt(a[i].goalsConceded)+(parseInt(n.gc_carried)||0),a[i].goalsScored=parseInt(a[i].goalsScored)+(parseInt(n.gs_carried)||0),a[i].lost=parseInt(a[i].lost)+(parseInt(n.lost_carried)||0),a[i].played=parseInt(a[i].played)+(parseInt(n.played_carried)||0),a[i].won=parseInt(a[i].won)+(parseInt(n.won_carried)||0))})}),a.sort((e,n)=>{const i=n.points-e.points,a=n.goalDiff-e.goalDiff,t=n.goalsScored-e.goalsScored;if(0===i){if(0===a){if(0===t){const i=e.name?e.name.toUpperCase():e.name,a=n.name?n.name.toUpperCase():n.name;return i<a?-1:i>a?1:0}return t}return a}return i}),a=c(a,e),a=a.reduce((n,i,a)=>{const t=a+1;return e[0].finals_group?[...n,{...i,position:t,group:e[0].finals_group}]:[...n,{...i,position:t}]},[]),a=a.filter(e=>null!==e.name),a}function c(e,n){const i=[],a=[];return n.map(e=>{e.deleted_team&&i.push(e.deleted_team)}),i.length&&e.map(e=>{i.includes(e.id)||a.push(e)}),a.length?a:e}function k(e,n){if(!e||!n||!n.homeTeam||!n.homeTeam.id)return"";const i=n.homeTeam.id===e,a=i?n.home_score:n.away_score,t=i?n.away_score:n.home_score,d=a>t,l=a<t;return d?"W":l?"L":"D"}function v(e,n){const i=n.home_team===e,a=i?n.home_score:n.away_score,t=i?n.away_score:n.home_score,d=a>t,l=a<t;return d?"W":l?"L":"D"}function f(e,n){return n.reduce((n,i)=>{const a=v(e,i),t="W"===a,d="L"===a,l="D"===a;return n.hasOwnProperty("played")?{played:n.played+1,drawn:l?n.drawn+1:n.drawn,lost:d?n.lost+1:n.lost,won:t?n.won+1:n.won}:{played:1,drawn:l?1:0,lost:d?1:0,won:t?1:0}},{})}function _(e,n){const i=s(e,n);return i.reduce((e,n)=>{const i=n.name.split("-")[0],a={...n,roundName:i};return e[i]||(e[i]=[]),e[i].push(a),e},{})}function g(e){const n=o["a"].getters.getPlayerTeamIds;return n.includes(e)}},c4cb:function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-standings" stroke="none" stroke-width="1" fill-rule="evenodd">
488<g id="Group" transform="translate(1.000000, 1.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M13,0 C14.1045695,0 15,0.8954305 15,2 L15,2 L15,6 C15,7.1045695 14.1045695,8 13,8 L13,8 L11.998,8 L12,8.028 L12,10.258 L17,10.258 C17.5128358,10.258 17.9355072,10.6440402 17.9932723,11.1413789 L18,11.258 L18,13.751 C18,13.8372032 17.9890926,13.9208588 17.9685826,14.000662 L20,14 C21.1045695,14 22,14.8954305 22,16 L22,16 L22,20 C22,21.1045695 21.1045695,22 20,22 L20,22 L16,22 C14.8954305,22 14,21.1045695 14,20 L14,20 L14,16 C14,14.8954305 14.8954305,14 16,14 L16,14 L16.0314174,14.000662 C16.0202934,13.9573789 16.0119941,13.9129625 16.0067277,13.8676211 L16,13.751 L16,12.258 L5.887,12.258 L5.888,13.751 C5.888,13.8372032 5.87709257,13.9208588 5.85658257,14.000662 L6,14 C7.1045695,14 8,14.8954305 8,16 L8,16 L8,20 C8,21.1045695 7.1045695,22 6,22 L6,22 L2,22 C0.8954305,22 0,21.1045695 0,20 L0,20 L0,16 C0,14.8954305 0.8954305,14 2,14 L2,14 L3.91941743,14.000662 C3.90829336,13.9573789 3.89999407,13.9129625 3.89472773,13.8676211 L3.888,13.751 L3.888,11.258 C3.888,10.7451642 4.27404019,10.3224928 4.77137887,10.2647277 L4.888,10.258 L9.887,10.258 L9.888,8.028 L9.889,8 L9,8 C7.9456382,8 7.08183488,7.18412221 7.00548574,6.14926234 L7,6 L7,2 C7,0.8954305 7.8954305,0 9,0 L9,0 Z M20,16 L16,16 L16,20 L20,20 L20,16 Z M6,16 L2,16 L2,20 L6,20 L6,16 Z M13,2 L9,2 L9,6 L13,6 L13,2 Z"></path></g></g></g></svg>'},c535:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTeamById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"players_limit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_active"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zendesk_id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"players"},name:{kind:"Name",value:"join_players_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"PlayersDetails"},name:{kind:"Name",value:"playerByPlayer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"join_team_leagues"},name:{kind:"Name",value:"league_teams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"league"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"locationObj"},name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"join_team_finals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"player_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"locationObj"},name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:963}};i.loc.source={body:"query GetTeamById($id: uuid!) {\n\tteams(where: { id: { _eq: $id } }) {\n\t\tid\n\t\tname\n\t\tlogo_url\n\t\tplayers_limit\n\t\tis_active\n\t\tzendesk_id\n\t\tplayers: join_players_teams {\n\t\t\tid\n\t\t\tplayer\n\t\t\tPlayersDetails : playerByPlayer{\n\t\t\t\tid\n\t\t\t\tfirst_name\n\t\t\t\tlast_name\n\t\t\t}\n\t\t}\n\t\t\tjoin_team_leagues: league_teams {\n\t\t\t\t\t\t\t\tleague {\n\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\tdisplay_name\n\t\t\t\t\t\t\t\t\tstatus\n\t\t\t\t\t\t\t\t\tplayer_type\n\t\t\t\t\t\t\t\t\tteam_size\n\t\t\t\t\t\t\t\t\tkick_off_date\n\t\t\t\t\t\t\t\t\tlocationObj: locationByLocation {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\ttimezone\n\t\t\t\t\t\t\t\t\t\tcity {\n\t\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjoin_team_finals {\n\t\t\t\t\t\t\t\tfinal {\n\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\tdisplay_name\n\t\t\t\t\t\t\t\t\tstatus\n\t\t\t\t\t\t\t\t\tplayer_type\n\t\t\t\t\t\t\t\t\tteam_size\n\t\t\t\t\t\t\t\t\tkick_off_date\n\t\t\t\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t\t\tlocationObj: locationByLocation {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\ttimezone\n\t\t\t\t\t\t\t\t\t\tcity {\n\t\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetTeamById"]=l(i,"GetTeamById")},c54c:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLocationsByCountry"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locationId"}},type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"locations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"city"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"country"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"locationId"}}}]}}]}}]}}]}},{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"city"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"EnumValue",value:"asc"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone_number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"longitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pwa_publish"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"incremental_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minimum_duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cancellation_notice_period"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"cityObj"},name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"countryObj"},name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"pitches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"monFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"monPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"monTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tueFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tuePrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tueTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wedFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wedPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wedTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thursTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thursPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thursFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"satFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"satPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"satTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sunFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sunPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sunTo"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:1128}};i.loc.source={body:"query GetLocationsByCountry($locationId: uuid) {\n locations(\n where: { city: { country: { id: { _eq: $locationId } } } }\n order_by: { city: { name: asc } }\n ) {\n id\n name\n address\n email\n phone_number\n latitude\n longitude\n city_id\n currency\n logo_url\n pwa_publish\n incremental_time\n minimum_duration\n cancellation_notice_period\n cityObj: city {\n id\n name\n countryObj: country {\n id\n name\n }\n }\n pitches {\n id\n name\n type\n location_id\n monFrom\n monPrice\n monTo\n tueFrom\n tuePrice\n tueTo\n wedFrom\n wedPrice\n wedTo\n thursTo\n thursPrice\n thursFrom\n friFrom\n friPrice\n friTo\n satFrom\n satPrice\n satTo\n sunFrom\n sunPrice\n sunTo\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetLocationsByCountry"]=l(i,"GetLocationsByCountry")},c70c:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_multiple_player_booking_schedules"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objects"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"jsonb"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_player_booking_schedule_if_available"},arguments:[{kind:"Argument",name:{kind:"Name",value:"args"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"payload"},value:{kind:"Variable",name:{kind:"Name",value:"objects"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:156}};i.loc.source={body:"mutation insert_multiple_player_booking_schedules($objects: jsonb!) {\n\tinsert_player_booking_schedule_if_available(args: { payload: $objects }) {\n\t\tid\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_multiple_player_booking_schedules"]=l(i,"insert_multiple_player_booking_schedules")},c80d:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetStandingLeaguesForAllTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leagues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"matches"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"join_team_finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:399}};i.loc.source={body:"query GetStandingLeaguesForAllTeams($teamId: [uuid!]!) {\n\tleagues(\n\t\twhere: { matches: { _or: [{ home_team: { _in: $teamId } }, { away_team: { _in: $teamId } }] } }\n\t) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tleague_type\n\t\tstatus\n\t\tkick_off_date\n\t}\n\tfinals(where: { join_team_finals: { team: { _in: $teamId } } }) {\n\t\tid\n\t\tname: display_name\n\t\ttype: __typename\n\t\tstatus\n\t\tkick_off_date\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetStandingLeaguesForAllTeams"]=l(i,"GetStandingLeaguesForAllTeams")},c898:function(e,n,i){"use strict";i.d(n,"a",(function(){return a}));const a=e=>String(e||"").trim().toLowerCase()},cac4:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPlayerBookingScheduleOnLocationDatePublic"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"location_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"player_booking_schedules"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitchId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_to"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:272}};i.loc.source={body:"query GetPlayerBookingScheduleOnLocationDatePublic($location_id: uuid!, $date: String!) {\n player_booking_schedules(\n where: { location_id: { _eq: $location_id }, date: { _eq: $date } }\n ) {\n id\n date\n location_id\n pitchId\n time_from\n time_to\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetPlayerBookingScheduleOnLocationDatePublic"]=l(i,"GetPlayerBookingScheduleOnLocationDatePublic")},cd49:function(e,n,i){"use strict";i.r(n);var a=i("2b0e"),t=i("3dfd"),d=(i("1236"),i("e9c4"),i("8c4f")),l=i("0613"),r=i("4f42");a["a"].use(d["a"]);const o=[{path:"/",name:"welcome",component:()=>
488i.e("chunk-15a9a8d0").then(i.bind(null,"1ddd")),meta:{redirectIfLoggedIn:!0}},{path:"/playfooty-req",name:"playfootyReq",component:()=>i.e("chunk-2d0da3c3").then(i.bind(null,"6b78"))},{path:"/signup:id?",name:"signup",component:()=>i.e("chunk-1c81f9ce").then(i.bind(null,"b05b")),meta:{requiresAuth:!1}},{path:"/.well-known/apple-developer-merchantid-domain-association",name:"apple-verification",meta:{redirectIfLoggedIn:!1}},{path:"/join/:id?",name:"join",component:()=>i.e("chunk-7eba0cf5").then(i.bind(null,"9327")),meta:{redirectIfLoggedIn:!1}},{path:"/pick-location/:locationId?",name:"pick-location",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-24879b62"),i.e("chunk-1a01640d"),i.e("chunk-a2718870")]).then(i.bind(null,"b5b8")),meta:{redirectIfLoggedIn:!1}},{path:"/book-field/:locationId",name:"book-field",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-45b0e98e"),i.e("chunk-24879b62"),i.e("chunk-1a01640d"),i.e("chunk-7731d828")]).then(i.bind(null,"be9a")),meta:{redirectIfLoggedIn:!1}},{path:"/field-booking/:locationId",name:"field-booking",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-45b0e98e"),i.e("chunk-24879b62"),i.e("chunk-1a01640d"),i.e("chunk-7731d828")]).then(i.bind(null,"be9a")),meta:{redirectIfLoggedIn:!1}},{path:"/edit-booking",name:"edit-booking",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-45b0e98e"),i.e("chunk-24879b62"),i.e("chunk-1a01640d"),i.e("chunk-7731d828")]).then(i.bind(null,"be9a")),meta:{redirectIfLoggedIn:!1}},{path:"/booking-payment",name:"booking-payment",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-45b0e98e"),i.e("chunk-24879b62"),i.e("chunk-7d942eb9")]).then(i.bind(null,"e17f")),meta:{redirectIfLoggedIn:!1,requiresAuth:!0}},{path:"/booking-ideal",name:"booking-ideal",component:()=>Promise.all([i.e("chunk-45b0e98e"),i.e("chunk-409a2271")]).then(i.bind(null,"c45c")),meta:{redirectIfLoggedIn:!1,requiresAuth:!0}},{path:"/booking-success",name:"booking-success",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-45b0e98e"),i.e("chunk-8005fce8")]).then(i.bind(null,"d977")),meta:{redirectIfLoggedIn:!1}},{path:"/upcoming-booking",name:"upcoming-booking",component:()=>i.e("chunk-2d0c55c7").then(i.bind(null,"3f86")),meta:{redirectIfLoggedIn:!1}},{path:"/booking-cancel",name:"booking-cancel",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-d5bb38b4")]).then(i.bind(null,"647d")),meta:{redirectIfLoggedIn:!1}},{path:"/booking-loading",name:"booking-loading",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-6d1d8999")]).then(i.bind(null,"105d")),meta:{redirectIfLoggedIn:!1}},{path:"/booking-cancel-notice",name:"booking-cancel-notice",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-d5bb38b4")]).then(i.bind(null,"647d")),meta:{redirectIfLoggedIn:!1}}
488,{path:"/login",name:"signin",component:()=>i.e("chunk-426f669e").then(i.bind(null,"5326")),meta:{requiresAuth:!1}},{path:"/new-signup",name:"new-signup",redirect:e=>({name:"signup",query:{...e.query,returnTo:Object(r["h"])(e.query.returnTo)||"/booking-payment"}})},{path:"/clubhouse",name:"clubhouse",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-6973150a"),i.e("chunk-14ee6927")]).then(i.bind(null,"c64a")),meta:{requiresAuth:!0}},{path:"/bookings",name:"bookings",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-399b31df")]).then(i.bind(null,"64c2")),meta:{requiresAuth:!0}},{path:"/newclubhouse",name:"newclubhouse",component:()=>i.e("chunk-3e871c10").then(i.bind(null,"091e")),meta:{requiresAuth:!0}},{path:"/menu",name:"menu",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-50cf76b4")]).then(i.bind(null,"9a0b")),meta:{requiresAuth:!0}},{path:"/forgot-password",name:"forgot-password",component:()=>i.e("chunk-2d742f66").then(i.bind(null,"afe5"))},{path:"/reset-password",name:"reset-password",component:()=>i.e("chunk-b14b0bbe").then(i.bind(null,"d227"))},{path:"/profile",name:"profile",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-9e85b3e4")]).then(i.bind(null,"7c54")),meta:{requiresAuth:!0}},{path:"/find-fixtures",name:"find fixtures",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-2d208dfc")]).then(i.bind(null,"a73c")),meta:{requiresAuth:!0}},{path:"/fixtures",name:"fixtures",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-48dfe681")]).then(i.bind(null,"c714")),meta:{requiresAuth:!0}},{path:"/fixtures/:id",name:"fixturesId",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-48dfe681")]).then(i.bind(null,"c714")),meta:{requiresAuth:!0}},{path:"/results",name:"results",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-6973150a"),i.e("chunk-2d0bb29c")]).then(i.bind(null,"39ff")),meta:{requiresAuth:!0}},{path:"/results/:id",name:"resultsId",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-6973150a"),i.e("chunk-2d0bb29c")]).then(i.bind(null,"39ff")),meta:{requiresAuth:!0}},{path:"/standings",name:"standings",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-140d91de")]).then(i.bind(null,"7d8b")),meta:{requiresAuth:!0}},{path:"/team/:id",name:"team",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-798bff43")]).then(i.bind(null,"74b5")),meta:{requiresAuth:!0}},{path:"/team-profile/:id",name:"team-profile",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-3773dd0a")]).then(i.bind(null,"7884")),meta:{requiresAuth:!0}},{path:"/player-profile",name:"player-profile",component:()=>Promise.all([i.e("chunk-4281452e"),i.e("chunk-66ab0318")]).then(i.bind(null,"5408")),meta:{requiresAuth:!0}},{path:"*",redirect:"/clubhouse"}],s=new d["a"]({mode:"history",routes:o});s.beforeEach(async(e,n,i)=>{var a,t,d,o;const s=async()=>{const e=localStorage.getItem("stripe_id");if(e)try{await fetch("https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/lm/release-provisional-player-booking",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({stripe_id:e})})}catch(n){console.error("[router.releaseProvisionalBooking] Error:",n)}finally{localStorage.removeItem("stripe_id"),localStorage.removeItem("checkoutSessionId"),localStorage.removeItem("goolepay_cs"),localStorage.removeItem("payment_method")}},m=e=>"string"===typeof e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);if(n.name&&n.path){const e={name:n.name,path:n.path};l["a"].commit("updatePreviousRoute",e)}if("booking-cancel"==e.name){const e=JSON.parse(localStorage.getItem("temp_selectedBooking"));if(null!=e)return await s(),l["a"].state.Customerbooking.selectedBooking=JSON.parse(localStorage.getItem("temp_selectedBooking")),l["a"].state.Customerbooking.country_id=localStorage.getItem("country_id"),i({name:"booking-payment",path:"/booking-payment"})}if("booking-cancel-notice"==e.name&&await s(),"booking-success"==e.name){let e=window.location.href;if(e=e.substring(e.indexOf("redirect_status=")+16),"failed"==e)return i({name:"booking-cancel",path:"/booking-cancel"});l["a"].state.Customerbooking.selectedBooking=JSON.parse(localStorage.getItem("temp_selectedBooking"))}if("edit-booking"==e.name){const e=JSON.parse(localStorage.getItem("temp_selectedBooking"));return l["a"].state.Customerbooking.country_id=JSON.parse(localStorage.getItem("country_id")),l["a"].state.Customerbooking.selectedBooking=null,e&&m(e.location_id)?i({name:"book-field",path:"/book-field",params:{locationId:e.location_id}}):i({name:"pick-location",path:"/pick-location",params:{locationId:localStorage.getItem("country_code")||"nl"}})}l["a"].state.Customerbooking.country_id;const u=l["a"].state.Customerbooking.selectedBooking,c=localStorage.getItem("country_code")||"nl",k=await Object(r["i"])(l["a"],{correlationId:"route-"+Date.now()});if("join"==e.name&&null!==(a=e.params)&&void 0!==a&&a.id&&!m(String(e.params.id)))return i({name:"join",path:"/join"});if(("book-field"==e.name||"field-booking"==e.name)&&!m(String((null===(t=e.params)||void 0===t?void 0:t.locationId)||"")))return i({name:"pick-location",path:"/pick-location",params:{locationId:c}});if(("booking-payment"==e.name||"booking-paypal"==e.name||"booking-ideal"==e.name)&&"authenticated_ready"===k.status&&!u)return i({name:"pick-location",path:"/pick-location",params:{locationId:c}});const v="signup"===e.name,f="signin"===e.name,_="profile"===e.name,g=v||f||"forgot-password"===e.name||"reset-password"===e.name,p=Boolean(null===(d=e.meta)||void 0===d?void 0:d.requiresAuth);return"signed_out"===k.status?p?i({name:"signin",path:"/login",query:Object(r["a"])(e)}):i():"authenticated_unprovisioned"===k.status?v?i():i({name:"signup",path:"/signup",query:Object(r["c"])(e)}):"authenticated_profile_incomplete"===k.status?_||v?i():i({name:"profile",path:"/profile",query:Object(r["b"])(e)}):null!==(o=e.meta)&&void 0!==o&&o.redirectIfLoggedIn&&"authenticated_ready"===k.status||"authenticated_ready"===k.status&&g&&!Object(r["h"])(e.query.returnTo)?i({path:"/clubhouse"}):"authenticated_ready"===k.status&&(f||v)&&Object(r["h"])(e.query.returnTo)?i({path:Object(r["g"])(e,"/clubhouse")}):i()});var m=s,u=i("a684"),c=i("55b6"),k=i("8a39"),v=i("fefd"),f=i("688d");const _="https://[email protected]/1";function g(e){let n;if("undefined"!==typeof window&&(n=window.location.hostname,"localhost"===n||"127.0.0.1"===n))return;const i=Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"sk_live_51OPnRUHAjp8lYa2zINPTGDZRSKcS
488ZRLT8RSFFUK5QKy7qqq4f0wo0PxrLlnJq2KNYGpa3UWKyoC9jepZWN6NUxNh002ujUQUqv",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_GLITCHTIP_DSN||_,t=Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SENTRY_ENVIRONMENT||("footy-dev.netlify.app"===n?"dev":"footy.netlify.app"===n?"prod":void 0)||"production",d=Object({VUE_APP_STRIPE_SK_NL:"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",VUE_APP_STRIPE_PK_US:"pk_live_51OPnRUHAjp8lYa2z4Z7m3bYD18c54PnhI4NJZflFLhgVQX583xdSyJzTo6bmHRuSbWiCFrWAi9jYHfapmS9CaKcu00GnkmCgfu",VUE_APP_STRIPE_SK_US:"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",VUE_APP_GRAPHQL_API:"https://api.footy.eu/v1/graphql",VUE_APP_STRIPE_LINEITEMS1_NL:"price_1N5Nn9BgO1YxL7uomFlhexZt",VUE_APP_STRIPE_LINEITEMS2_NL:"price_1N5O11BgO1YxL7uoS5QJ3GJR",VUE_APP_SLS_URL:"https://vewt6yn7kk.execute-api.eu-central-1.amazonaws.com/production/",VUE_APP_STRIPE_PK_NL:"pk_live_51N4MPJBgO1YxL7uofTnspj6X9O6pKNitzqMoQHcDyLlxekqGGZiCV16Vpwq7z2Lo4Hc5CfvtOhUBdpfClXwn3LmA00ogkohxtq",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SENTRY_RELEASE;k["a"]({Vue:a["a"],dsn:i,environment:t,release:d,denyUrls:["localhost"],sampleRate:1,autoSessionTracking:!0,integrations:[new f["a"].BrowserTracing({routingInstrumentation:v["a"](e)})],tracesSampleRate:.01,logErrors:!0})}i("d9e2"),i("e9f5"),i("ab43");var p=i("49c4");const N="c094a4b710bd53ccb389e855588e2c5cd57f3be2-2026-09-19T13:26:38.265Z",h="/version.json",y=6e4,b="footy_app_reload_"+N,S=[/ChunkLoadError/i,/Loading CSS chunk/i,/Loading chunk [\w-]+ failed/i];let F=!1,w=0;const O=()=>"undefined"===typeof window?null:`${window.location.pathname}${window.location.search}${window.location.hash}`.slice(0,240),j=(e,n)=>{const i="string"===typeof e?e:e instanceof Error||e&&"string"===typeof e.message?e.message:"",a="string"===typeof n?n:"";return!!S.some(e=>e.test(i))||!(!/Unexpected token '</i.test(i)||!/chunk-[\w-]+\./i.test(a))},V=async e=>{if("undefined"===typeof window)return!1;let n=!1;try{if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistrations();n=e.length>0||Boolean(navigator.serviceWorker.controller),await Promise.all(e.map(e=>e.unregister().catch(()=>!1)))}if(e&&"caches"in window){const e=await caches.keys();await Promise.all(e.map(e=>caches.delete(e).catch(()=>!1)))}}catch(i){}return n},E=()=>"undefined"!==typeof window&&Boolean(window.sessionStorage.getItem(b)),T=()=>{"undefined"!==typeof window&&window.sessionStorage.removeItem(b)},P=async(e,n,i)=>"undefined"!==typeof window&&!E()&&(window.sessionStorage.setItem(b,JSON.stringify({category:e,message:n,at:Date.now()})),await Object(p["b"])({category:e,severity:"warning",message:n,route:O(),extras:i},{sendToSentry:!1}),await V(!0),window.setTimeout(()=>{window.location.reload()},50),!0),L=async(e=!1)=>{if("undefined"===typeof window)return;const n=Date.now();if(e||!(n-w<y)){w=n;try{const e=await window.fetch(h,{cache:"no-store",headers:{"cache-control":"no-store"}});if(!e.ok)return;const n=await e.json(),i=n&&"string"===typeof n.version?n.version:null;if(!i)return;if(i===N)return void T();await P("app_version_mismatch","A newer app version is available",{localVersion:N,remoteVersion:i})}catch(i){}}},D=e=>{F||"undefined"===typeof window||(F=!0,(async()=>{const e=await V(!1);e?await P("legacy_service_worker_cleanup","Refreshing once to detach an old cached app shell"):await L(!0)})(),e&&"function"===typeof e.afterEach&&e.afterEach(()=>{L()}),document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&L(!0)}),window.addEventListener("pageshow",()=>{L(!0)}),window.addEventListener("error",e=>{const n=e.filename?`${e.filename}:${e.lineno||0}:${e.colno||0}`:null;j(e.error||e.message,n)&&P("stale_asset_error",e.message||"Stale asset load error",{source:n})}),window.addEventListener("unhandledrejection",e=>{const n=e.reason,i="string"===typeof n?n:n instanceof Error||n&&"string"===typeof n.message?n.message:"Unhandled promise rejection",a=n instanceof Error&&"string"===typeof n.stack?n.stack:null;j(n,a)&&P("stale_asset_rejection",i,{source:a})}),window.setInterval(()=>{L(!0)},3e5))},B=async(e,n)=>{const i=e instanceof Error||e&&"string"===typeof e.message?e.message:"Router navigation error",a=e instanceof Error&&"string"===typeof e.stack?e.
488stack:null;return!!j(e,a)&&P("router_navigation_recovery",i,{route:n||O()})};i("0242");var q=i("260b");i("ea7b"),i("9c9e"),i("a899"),i("5363");a["a"].config.productionTip=!1,g(m),Object(p["a"])(),D(m),a["a"].config.errorHandler=(e,n,i)=>{var a;const t=(null===n||void 0===n?void 0:n.$options)||{};Object(p["b"])({category:"vue_component_error",message:i||"Vue component error",error:e,route:(null===(a=m.currentRoute)||void 0===a?void 0:a.fullPath)||null,source:t.name||t._componentTag||null,extras:{info:i,componentName:t.name||null,componentTag:t._componentTag||null}})},m.onError(e=>{var n;Object(p["b"])({category:"router_navigation_error",message:(null===e||void 0===e?void 0:e.message)||"Router navigation error",error:e,route:(null===(n=m.currentRoute)||void 0===n?void 0:n.fullPath)||null}),B(e,m.currentRoute&&m.currentRoute.fullPath||null)});let I=!1;q["a"].auth().onAuthStateChanged(()=>{I||(I=!0,new a["a"]({router:m,store:l["a"],apolloProvider:u["b"],i18n:c["a"],render:e=>e(t["a"])}).$mount("#app"))})},cf1c:function(e,n,i){e.exports=i.p+"img/loading.94c13ee0.gif"},d703:function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-chevron-down" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(5.000000, 7.000000)" fill-rule="nonzero"><g id="Path"><polygon transform="translate(7.235000, 4.858000) rotate(-270.000000) translate(-7.235000, -4.858000) " points="3 10.1 8.235 4.858 3 -0.388 4.612 -2 11.47 4.858 4.612 11.716"></polygon></g></g></g></svg>'},e4d1:function(e,n){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'},e8e6:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLeagueFixtures"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_neq"},value:{kind:"StringValue",value:"finished",block:!1}}]}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"EnumValue",value:"asc"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1274}};i.loc.source={body:'query GetLeagueFixtures($leagueId: uuid!, $teamId: uuid, $currentDate: date!) {\n\tmatches(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ league: { _eq: $leagueId } }\n\t\t\t\t{ _or: [{ date: { _gte: $currentDate } }, { date: { _is_null: true } }] }\n\t\t\t\t{ home_score: { _is_null: true } }\n\t\t\t\t{ away_score: { _is_null: true } }\n\t\t\t\t{ leagueByLeague: { status: { _neq: "finished" } } }\n\t\t\t]\n\t\t\t_or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }]\n\t\t}\n\t) {\n\t\tid\n\t\tdate\n\t\tpostponed\n\t\tkick_off_time\n\t\tnumber_of_halves\n\t\thalf_length\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t\tleague_teams(order_by: { placeholder_team: { name: asc } }) {\n\t\t\t\tid\n\t\t\t\tdeleted_at\n\t\t\t\tteam_id\n\t\t\t\tplaceholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t\tlocationByLocation {\n\t\t\t\ttimezone\n\t\t\t\tcity {\n\t\t\t\t\tcountry {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmatch_comments {\n\t\t\ttext\n\t\t\tprivate\n\t\t}\n\t\taway_team: team {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\thome_team: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tplaceholder_away_team: placeholder_team {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\treferee: refereeByReferee {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tpitch: pitchByPitch {\n\t\t\tname\n\t\t\tpitch_name\n\t\t\tlocation {\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetLeagueFixtures"]=l(i,"GetLeagueFixtures")},eb6e:function(e,n){e.exports='<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="icon-menu" stroke="none" stroke-width="1" fill-rule="evenodd"><g id="Group" transform="translate(4.000000, 5.000000)" fill-rule="nonzero"><g id="Combined-Shape"><path d="M15.675,12.037 C16.2272847,12.037 16.675,12.4847153 16.675,13.037 C16.675,13.5498358 16.2889598,13.9725072 15.7916211,14.0302723 L15.675,14.037 L1,14.037 C0.44771525,14.037 1.24344979e-14,13.5892847 1.24344979e-14,13.037 C1.24344979e-14,12.5241642 0.38604019,12.1014928 0.883378875,12.0437277 L1,12.037 L15.675,12.037 Z M15.675,6.019 C16.2272847,6.019 16.675,6.46671525 16.675,7.019 C16.675,7.53183584 16.2889598,7.95450716 15.7916211,8.01227227 L15.675,8.019 L1,8.019 C0.44771525,8.019 1.24344979e-14,7.57128475 1.24344979e-14,7.019 C1.24344979e-14,6.50616416 0.38604019,6.08349284 0.883378875,6.02572773 L1,6.019 L15.675,6.019 Z M15.675,0 C16.2272847,0 16.675,0.44771525 16.675,1 C16.675,1.51283584 16.2889598,1.93550716 15.7916211,1.99327227 L15.675,2 L1,2 C0.44771525,2 1.24344979e-14,1.55228475 1.24344979e-14,1 C1.24344979e-14,0.487164161 0.38604019,0.0644928393 0.883378875,0.00672773133 L1,0 L15.675,0 Z"></path></g></g></g></svg>'},ec28:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_customer_bookings_cancled"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}
488,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"location_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"customer_booking_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitch_type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"price"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"split"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time_from"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time_to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"deleted_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"created_at"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"players"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"venu"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"booker"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"payment"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"city_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"country"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"display_date"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"is_public"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"edited_on"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_customer_bookings_cancled"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objects"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}},{kind:"ObjectField",name:{kind:"Name",value:"location_id"},value:{kind:"Variable",name:{kind:"Name",value:"location_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"pitch_type"},value:{kind:"Variable",name:{kind:"Name",value:"pitch_type"}}},{kind:"ObjectField",name:{kind:"Name",value:"customer_booking_id"},value:{kind:"Variable",name:{kind:"Name",value:"customer_booking_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"price"},value:{kind:"Variable",name:{kind:"Name",value:"price"}}},{kind:"ObjectField",name:{kind:"Name",value:"split"},value:{kind:"Variable",name:{kind:"Name",value:"split"}}},{kind:"ObjectField",name:{kind:"Name",value:"time_from"},value:{kind:"Variable",name:{kind:"Name",value:"time_from"}}},{kind:"ObjectField",name:{kind:"Name",value:"time_to"},value:{kind:"Variable",name:{kind:"Name",value:"time_to"}}},{kind:"ObjectField",name:{kind:"Name",value:"deleted_id"},value:{kind:"Variable",name:{kind:"Name",value:"deleted_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"created_at"},value:{kind:"Variable",name:{kind:"Name",value:"created_at"}}},{kind:"ObjectField",name:{kind:"Name",value:"players"},value:{kind:"Variable",name:{kind:"Name",value:"players"}}},{kind:"ObjectField",name:{kind:"Name",value:"booker"},value:{kind:"Variable",name:{kind:"Name",value:"booker"}}},{kind:"ObjectField",name:{kind:"Name",value:"venu"},value:{kind:"Variable",name:{kind:"Name",value:"venu"}}},{kind:"ObjectField",name:{kind:"Name",value:"payment"},value:{kind:"Variable",name:{kind:"Name",value:"payment"}}},{kind:"ObjectField",name:{kind:"Name",value:"city_id"},value:{kind:"Variable",name:{kind:"Name",value:"city_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"country"},value:{kind:"Variable",name:{kind:"Name",value:"country"}}},{kind:"ObjectField",name:{kind:"Name",value:"display_date"},value:{kind:"Variable",name:{kind:"Name",value:"display_date"}}},{kind:"ObjectField",name:{kind:"Name",value:"pitch_id"},value:{kind:"Variable",name:{kind:"Name",value:"pitch_id"}}},{kind:"ObjectField",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"ObjectField",name:{kind:"Name",value:"is_public"},value:{kind:"Variable",name:{kind:"Name",value:"is_public"}}},{kind:"ObjectField",name:{kind:"Name",value:"edited_on"},value:{kind:"Variable",name:{kind:"Name",value:"edited_on"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:1042}};i.loc.source={body:"mutation insert_customer_bookings_cancled(\n\t$date: String!\n\t$location_id: uuid!\n\t$customer_booking_id: String!\n\t$pitch_type: String!\n\t$price: String!\n\t$split: String!\n\t$time_from: String!\n\t$time_to: String!\n\t$deleted_id: String!\n\t$created_at: String!\n\t$players: String!\n\t$venu: String!\n\t$booker: String!\n\t$payment: String!\n\t$city_id: String!\n\t$country: String!\n\t$pitch_id: uuid!\n\t$display_date: String!\n\t$email: String!\n\t$is_public: Boolean!\n\t$edited_on: String!\n) {\n\tinsert_customer_bookings_cancled(\n\t\tobjects: {\n\t\t\tdate: $date\n\t\t\tlocation_id: $location_id\n\t\t\tpitch_type: $pitch_type\n\t\t\tcustomer_booking_id: $customer_booking_id\n\t\t\tprice: $price\n\t\t\tsplit: $split\n\t\t\ttime_from: $time_from\n\t\t\ttime_to: $time_to\n\t\t\tdeleted_id: $deleted_id\n\t\t\tcreated_at: $created_at\n\t\t\tplayers: $players\n\t\t\tbooker: $booker\n\t\t\tvenu: $venu\n\t\t\tpayment: $payment\n\t\t\tcity_id: $city_id\n\t\t\tcountry: $country\n\t\t\tdisplay_date: $display_date\n\t\t\tpitch_id: $pitch_id\n\t\t\temail: $email\n\t\t\tis_public: $is_public\n\t\t\tedited_on: $edited_on\n\t\t}\n\t) {\n\t\treturning {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
488else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_customer_bookings_cancled"]=l(i,"insert_customer_bookings_cancled")},eedc:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetResultFinals"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"finalId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"finalId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group_stage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pens_winner"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1778}};i.loc.source={body:"query GetResultFinals($finalId: uuid!, $teamId: uuid!, $currentDate: date!) {\n\tfinals(where: { _and: [{ id: { _eq: $finalId } }] }
488) {\n\t\tgroup_stage\n\t\tfinals_groups {\n\t\t\tmatches(\n\t\t\t\twhere: {\n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t\t\t\t{ deleted_at: { _is_null: true } }\n\t\t\t\t\t]\n\t\t\t\t\t_or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t}\n\t\t}
488\n\t\tfinals_knockouts {\n\t\t\tmatches(\n\t\t\t\twhere: {\n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t\t\t]\n\t\t\t\t\t_or: [{ home_team: { _eq: $teamId } }, { away_team: { _eq: $teamId } }]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tman_of_the_match: player {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tpens_winner\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetResultFinals"]=l(i,"GetResultFinals")},f25f:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"insert_player_statistics"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objects"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"player_statistics_insert_input"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insert_player_statistics"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objects"},value:{kind:"Variable",name:{kind:"Name",value:"objects"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"returning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:163}};i.loc.source={body:"mutation insert_player_statistics ($objects: [player_statistics_insert_input!]!){\n insert_player_statistics(objects: $objects){\n returning {\n\t\t\tid\n\t\t}\n }\n}\n\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;
488n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["insert_player_statistics"]=l(i,"insert_player_statistics")},f622:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAllFixtureFinals"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"finalId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"finalId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group_stage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finals_groups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"finals_knockouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postponed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locationByLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:2149}};i.loc.source={body:"query GetAllFixtureFinals($finalId: uuid!, $currentDate: date!) {\n\tfinals(where: { id: { _eq: $finalId } }) {\n\t\tgroup_stage\n\t\tfinals_groups {\n\t\t\tmatches(\n\t\t\t\twhere: {\
488n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ date: { _gte: $currentDate } }\n\t\t\t\t\t\t{ away_score: { _is_null: true } }\n\t\t\t\t\t\t{ home_score: { _is_null: true } }\n\t\t\t\t\t\t{ deleted_at: { _is_null: true } }\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\thome_score\n\t\t\t\taway_score\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t\tlocationByLocation {\n\t\t\t\t\t\ttimezone\n\t\t\t\t\t\tcity {\n\t\t\t\t\t\t\tcountry {\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\tplaceholder_away_team: placeholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tpitch: pitchByPitch {\n\t\t\t\t\tname\n\t\t\t\t\tpitch_name\n\t\t\t\t\tlocation {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}
488\n\t\tfinals_knockouts {\n\t\t\tmatches(\n\t\t\t\twhere: {\n\t\t\t\t\tdate: { _gte: $currentDate }\n\t\t\t\t\t_and: [{ away_score: { _is_null: true } }, { home_score: { _is_null: true } }]\n\t\t\t\t}\n\t\t\t) {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tdate\n\t\t\t\tkick_off_time\n\t\t\t\tpostponed\n\t\t\t\tnumber_of_halves\n\t\t\t\thalf_length\n\t\t\t\tleague: leagueByLeague {\n\t\t\t\t\tid\n\t\t\t\t\tdisplay_name\n\t\t\t\t\tlocationByLocation {\n\t\t\t\t\t\ttimezone\n\t\t\t\t\t\tcity {\n\t\t\t\t\t\t\tcountry {\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmatch_comments {\n\t\t\t\t\ttext\n\t\t\t\t\tprivate\n\t\t\t\t}\n\t\t\t\taway_team: team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\thome_team: teamByHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tlogo_url\n\t\t\t\t}\n\t\t\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\tplaceholder_away_team: placeholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\ttype\n\t\t\t\t}\n\t\t\t\treferee: refereeByReferee {\n\t\t\t\t\tfirst_name\n\t\t\t\t\tlast_name\n\t\t\t\t}\n\t\t\t\tpitch: pitchByPitch {\n\t\t\t\t\tname\n\t\t\t\t\tpitch_name\n\t\t\t\t\tlocation {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetAllFixtureFinals"]=l(i,"GetAllFixtureFinals")},f68f:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetClubhouseMatches"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"upcomingMatches"},name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_gte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"teamByHomeTeam"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}]}}]}}]}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_neq"},value:{kind:"StringValue",value:"finished",block:!1}}]}}]}}]}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finalsGroupByFinalsGroup"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"is_friendly"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"EnumValue",value:"asc"}}]}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_friendly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"EnumValue",value:"asc"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_knockout"},name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_home_team"},name:{kind:"Name",value:"placeholderTeamByPlaceholderHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"placeholder_away_team"},name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"pastMatches"},name:{kind:"Name",value:"matches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"}
488,value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_lte"},value:{kind:"Variable",name:{kind:"Name",value:"currentDate"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"home_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"away_score"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!0}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"teamByHomeTeam"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_in"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}]}}]}}]}]}}]}]}},{kind:"ObjectField",name:{kind:"Name",value:"_or"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"leagueByLeague"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finalsGroupByFinalsGroup"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"final"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"published"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"is_friendly"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"BooleanValue",value:!0}}]}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"2"}},{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"date"},value:{kind:"EnumValue",value:"desc"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kick_off_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"away_score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_friendly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_halves"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"half_length"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"match_comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"private"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"league"},name:{kind:"Name",value:"leagueByLeague"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order_by"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"placeholder_team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"EnumValue",value:"asc"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder_team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_group"},name:{kind:"Name",value:"finalsGroupByFinalsGroup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"finals_knockout"},name:{kind:"Name",value:"finalsKnockoutByFinalsKnockout"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"final"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"display_name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"away_team"},name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"home_team"},name:{kind:"Name",value:"teamByHomeTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_url"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"referee"},name:{kind:"Name",value:"refereeByReferee"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"pitch"},name:{kind:"Name",value:"pitchByPitch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pitch_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"man_of_the_match"},name:{kind:"Name",value:"player"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:3509}};i.loc.source={body:'query GetClubhouseMatches($ids: [uuid!]!, $currentDate: date!) {\n\tupcomingMatches: matches(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ date: { _gte: $currentDate } }\n\t\t\t\t{ published: { _is_null: false } }\n\t\t\t\t{ home_score: { _is_null: true } }\n\t\t\t\t{ away_score: { _is_null: true } }\n\t\t\t\t{ deleted_at: { _is_null: true } }\n\t\t\t\t{ _or: [{ team: { id: { _in: $ids } } }, { teamByHomeTeam: { id: { _in: $ids } } }] }\n\t\t\t]\n\t\t\t_or: [\n\t\t\t\t{\n\t\t\t\t\t_and: [\n\t\t\t\t\t\t{ leagueByLeague: { published: { _eq: true } } }\n\t\t\t\t\t\t{ leagueByLeague: { status: { _neq: "finished" } } }\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t\t{ finalsGroupByFinalsGroup: { final: { published: { _eq: true } } } }\n\t\t\t\t{ finalsKnockoutByFinalsKnockout: { final: { published: { _eq: true } } } }\n\t\t\t\t{ is_friendly: { _eq: true } }\n\t\t\t]\n\t\t}\n\t\torder_by: { date: asc }\n\t\tlimit: 10\n\t) {\n\t\tid\n\t\tdate\n\t\tkick_off_time\n\t\tis_friendly\n\t\tnumber_of_halves\n\t\thalf_length\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t\ttype: __typename\n\t\t\tleague_type\n\t\t\tleague_teams(order_by: { placeholder_team: { name: asc } }) {\n\t\t\t\tid\n\t\t\t\tdeleted_at\n\t\t\t\tteam_id\n\t\t\t\tplaceholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfinals_group: finalsGroupByFinalsGroup {\n\t\t\tfinal {\n\t\t\t\tid\n\t\t\t\tdisplay_name\n\t\t\t\ttype: __typename\n\t\t\t}\n\t\t}\n\t\tfinals_knockout: finalsKnockoutByFinalsKnockout {\n\t\t\tfinal {\n\t\t\t\tid\n\t\t\t\tdisplay_name\n\t\t\t\ttype: __typename\n\t\t\t}\n\t\t}\n\t\tmatch_comments {\n\t\t\ttext\n\t\t\tprivate\n\t\t}\n\t\taway_team: team {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\thome_team: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\tplaceholder_home_team: placeholderTeamByPlaceholderHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\tplaceholder_away_team: placeholder_team {\n\t\t\tid\n\t\t\tname\n\t\t\ttype\n\t\t}\n\t\treferee: refereeByReferee {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tpitch: pitchByPitch {\n\t\t\tname\n\t\t\tpitch_name\n\t\t\tlocation {\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t\tman_of_the_match: player {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t}
488\n\tpastMatches: matches(\n\t\twhere: {\n\t\t\t_and: [\n\t\t\t\t{ date: { _lte: $currentDate } }\n\t\t\t\t{ published: { _is_null: false } }\n\t\t\t\t{ home_team: { _is_null: false } }\n\t\t\t\t{ away_team: { _is_null: false } }\n\t\t\t\t{ home_score: { _is_null: false } }\n\t\t\t\t{ away_score: { _is_null: false } }\n\t\t\t\t{ deleted_at: { _is_null: true } }\n\t\t\t\t{ _or: [{ team: { id: { _in: $ids } } }, { teamByHomeTeam: { id: { _in: $ids } } }] }\n\t\t\t]\n\t\t\t_or: [\n\t\t\t\t{ _and: [{ leagueByLeague: { published: { _eq: true } } }] }\n\t\t\t\t{ finalsGroupByFinalsGroup: { final: { published: { _eq: true } } } }\n\t\t\t\t{ finalsKnockoutByFinalsKnockout: { final: { published: { _eq: true } } } }\n\t\t\t\t{ is_friendly: { _eq: true } }\n\t\t\t]\n\t\t}\n\t\tlimit: 2\n\t\torder_by: { date: desc }\n\t) {\n\t\tid\n\t\tname\n\t\tdate\n\t\tkick_off_time\n\t\thome_score\n\t\taway_score\n\t\tis_friendly\n\t\tnumber_of_halves\n\t\thalf_length\n\t\tmatch_comments {\n\t\t\ttext\n\t\t\tprivate\n\t\t}\n\t\tleague: leagueByLeague {\n\t\t\tid\n\t\t\tdisplay_name\n\t\t\ttype: __typename\n\t\t\tleague_type\n\t\t\tleague_teams(order_by: { placeholder_team: { name: asc } }) {\n\t\t\t\tid\n\t\t\t\tdeleted_at\n\t\t\t\tteam_id\n\t\t\t\tplaceholder_team {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfinals_group: finalsGroupByFinalsGroup {\n\t\t\tfinal {\n\t\t\t\tid\n\t\t\t\tdisplay_name\n\t\t\t\ttype: __typename\n\t\t\t}\n\t\t}\n\t\tfinals_knockout: finalsKnockoutByFinalsKnockout {\n\t\t\tfinal {\n\t\t\t\tid\n\t\t\t\tdisplay_name\n\t\t\t\ttype: __typename\n\t\t\t}\n\t\t}\n\t\taway_team: team {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\thome_team: teamByHomeTeam {\n\t\t\tid\n\t\t\tname\n\t\t\tlogo_url\n\t\t}\n\t\treferee: refereeByReferee {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t\tpitch: pitchByPitch {\n\t\t\tname\n\t\t\tpitch_name\n\t\t\tlocation {\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t\tman_of_the_match: player {\n\t\t\tfirst_name\n\t\t\tlast_name\n\t\t}\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetClubhouseMatches"]=l(i,"GetClubhouseMatches")},fa3e:function(e,n){e.exports='<svg enable-background="new 0 0 512 512" id="Layer_1" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M42.4,145.9c15.5-32.3,37.4-59.6,65-82.3c37.4-30.9,80.3-49.5,128.4-55.2c56.5-6.7,109.6,4,158.7,33.4 c12.2,7.3,23.6,15.6,34.5,24.6c2.7,2.2,2.4,3.5,0.1,5.7c-22.3,22.2-44.6,44.4-66.7,66.8c-2.6,2.6-4,2.4-6.8,0.3 c-64.8-49.9-159.3-36.4-207.6,29.6c-8.5,11.6-15.4,24.1-20.2,37.7c-0.4,1.2-1.2,2.3-1.8,3.5c-12.9-9.8-25.9-19.6-38.7-29.5 C72.3,169,57.3,157.5,42.4,145.9z" fill="#E94335"></path><path d="M126,303.8c4.3,9.5,7.9,19.4,13.3,28.3c22.7,37.2,55.1,61.1,97.8,69.6c38.5,7.7,75.5,2.5,110-16.8 c1.2-0.6,2.4-1.2,3.5-1.8c0.6,0.6,1.1,1.3,1.7,1.8c25.8,20,51.7,40,77.5,60c-12.4,12.3-26.5,22.2-41.5,30.8 c-43.5,24.8-90.6,34.8-140.2,31C186.3,501.9,133,477.5,89,433.5c-19.3-19.3-35.2-41.1-46.7-66c10.7-8.2,21.4-16.3,32.1-24.5 C91.6,329.9,108.8,316.9,126,303.8z" fill="#34A853"></path><path d="M429.9,444.9c-25.8-20-51.7-40-77.5-60c-0.6-0.5-1.2-1.2-1.7-1.8c8.9-6.9,18-13.6,25.3-22.4 c12.2-14.6,20.3-31.1,24.5-49.6c0.5-2.3,0.1-3.1-2.2-3c-1.2,0.1-2.3,0-3.5,0c-40.8,0-81.7-0.1-122.5,0.1c-4.5,0-5.5-1.2-5.4-5.5 c0.2-29,0.2-58,0-87c0-3.7,1-4.7,4.7-4.7c74.8,0.1,149.6,0.1,224.5,0c3.2,0,4.5,0.8,5.3,4.2c6.1,27.5,5.7,55.1,2,82.9 c-3,22.2-8.4,43.7-16.7,64.5c-12.3,30.7-30.4,57.5-54.2,80.5C431.6,443.8,430.7,444.3,429.9,444.9z" fill="#4285F3"></path><path d="M126,303.8c-17.2,13.1-34.4,26.1-51.6,39.2c-10.7,8.1-21.4,16.3-32.1,24.5C34,352.1,28.6,335.8,24.2,319 c-8.4-32.5-9.7-65.5-5.1-98.6c3.6-26,11.1-51,23.2-74.4c15,11.5,29.9,23.1,44.9,34.6c12.9,9.9,25.8,19.7,38.7,29.5 c-2.2,10.7-5.3,21.2-6.3,32.2c-1.8,20,0.1,39.5,5.8,58.7C125.8,301.8,125.9,302.8,126,303.8z" fill="#FABB06"></path></g></svg>'},fa7d:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOtherFinalTeams"}
488,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"playerTeams"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"teams"},name:{kind:"Name",value:"join_team_finals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_and"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"finals"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"team"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_nin"},value:{kind:"Variable",name:{kind:"Name",value:"playerTeams"}}}]}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"distinct_on"},value:{kind:"EnumValue",value:"team"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"team"},name:{kind:"Name",value:"teamByTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:302}};i.loc.source={body:"query GetOtherFinalTeams($leagueId: uuid!, $playerTeams: [uuid!]!) {\n\tteams: join_team_finals(\n\t\twhere: {\
488n\t\t\t_and: [\n\t\t\t\t{ finals: { _eq: $leagueId } }\n\t\t\t\t{ team: { _is_null: false } }\n\t\t\t\t{ team: { _nin: $playerTeams } }\n\t\t\t]\n\t\t},\n\t\tdistinct_on: team\n\t) {\n\t\tteam: teamByTeam {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetOtherFinalTeams"]=l(i,"GetOtherFinalTeams")},ffce:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDeletedTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"leagueId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"uuid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"join_league_teams"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"league_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_eq"},value:{kind:"Variable",name:{kind:"Name",value:"leagueId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"deleted_at"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"_is_null"},value:{kind:"BooleanValue",value:!1}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted_at"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:180}};i.loc.source={body:"query GetDeletedTeams($leagueId: uuid!) {\n\tjoin_league_teams(where: { league_id: { _eq: $leagueId }, deleted_at: { _is_null: false } }) {\n\t\tid\n\t\tdeleted_at\n\t\tteam {\n\t\t\tid\n\t\t}\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function a(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){a(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){a(e,n)})),e.definitions&&e.definitions.forEach((function(e){a(e,n)}))}var t={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function l(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,l=new Set,r=new Set;a.forEach((function(e){r.add(e)}));while(r.size>0){var o=r;r=new Set,o.forEach((function(e){if(!l.has(e)){l.add(e);var n=t[e]||new Set;n.forEach((function(e){r.add(e)}))}}))}return l.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;a(e,n),t[e.name.value]=n}}))})(),e.exports=i,e.exports["GetDeletedTeams"]=l(i,"GetDeletedTeams")}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.