PageSourceSearch

https://anadoluefessk.org/_next/static/chunks/2727-2c64cd6a0c094bbc.js

js anadoluefessk.org collected 2026-09-24 10:07:26 UTC 9,286 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2727],{197:()=>{},3204:(e,t,a)=>{"use strict";a.d(t,{$J:()=>l,Ac:()=>y,B9:()=>d,EZ:()=>w,PE:()=>N,Ri:()=>m,Yq:()=>r,j0:()=>_,oU:()=>g,uJ:()=>i,ut:()=>v,xK:()=>h});var n=a(22758),o=a.n(n),c=(a(6495),a(21891)),s=a.n(c);const r=(e,t)=>o()(e).locale(t).format("D MMMM YYYY"),l=e=>e.replace(/<\/?[^>]+(>|$)/g,"").replace(/&ccedil;/g,"ç").replace(/&Ccedil;/g,"Ç").replace(/&ouml;/g,"ö").replace(/&Ouml;/g,"Ö").replace(/&uuml;/g,"ü").replace(/&Uuml;/g,"Ü").replace(/&iacute;/g,"í").replace(/&Iacute;/g,"Í").replace(/&rsquo;/g,"'").replace(/&lsquo;/g,"'").replace(/&ldquo;/g,'"').replace(/&rdquo;/g,'"').replace(/&nbsp;/g," ").replace(/&amp;/g,"&"),i=e=>null===e||"null"===e||void 0===e||""===e||0===e.length||"Invalid date"===e||"object"==typeof e&&0===Object.keys(e).length,d=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),m=async e=>{const t=new Date(e.date),a=new Date(t.getTime()+72e5),n=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent),o=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(n)if(o){const n="data:text/calendar;charset=utf8,BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nDTSTART:".concat(t.toISOString().replace(/-|:|\.\d+/g,""),"\nDTEND:").concat(a.toISOString().replace(/-|:|\.\d+/g,""),"\nSUMMARY:").concat(e.homeTeam.name," vs ").concat(e.awayTeam.name,"\nLOCATION:").concat(e.stadiumName,"\nDESCRIPTION:").concat(e.tournamentName," - ").concat(e.stadiumName,"\nEND:VEVENT\nEND:VCALENDAR"),o=document.createElement("a");o.href=encodeURI(n),o.setAttribute("download","match.ics"),document.body.appendChild(o),o.click(),document.body.removeChild(o)}else{const n=t.getTime(),o=a.getTime(),c=encodeURIComponent("".concat(e.homeTeam.name," vs ").concat(e.awayTeam.name)),s=encodeURIComponent(e.stadiumName),r=encodeURIComponent("".concat(e.tournamentName," - ").concat(e.stadiumName)),l="content://com.android.calendar/time/".concat(n,"?title=").concat(c,"&location=").concat(s,"&description=").concat(r,"&end=").concat(o);window.location.href=l,setTimeout(()=>{const e="https://calendar.google.com/calendar/render?action=TEMPLATE&text=".concat(c,"&dates=").concat(t.toISOString().replace(/-|:|\.\d+/g,""),"/").concat(a.toISOString().replace(/-|:|\.\d+/g,""),"&location=").concat(s,"&details=").concat(r);window.open(e,"_blank")},1e3)}else{const n="https://calendar.google.com/calendar/render?action=TEMPLATE&text=".concat(encodeURIComponent("".concat(e.homeTeam.name," vs ").concat(e.awayTeam.name)),"&dates=").concat(t.toISOString().replace(/-|:|\.\d+/g,""),"/").concat(a.toISOString().replace(/-|:|\.\d+/g,""),"&location=").concat(encodeURIComponent(e.stadiumName),"&details=").concat(encodeURIComponent("".concat(e.tournamentName," - ").concat(e.stadiumName)));window.open(n,"_blank")}},h=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return t=e.substring(1).split(""),3===t.length&&(t=[t[0],t[0],t[1],t[1],t[2],t[2]]),t="0x"+t.join(""),"rgba(".concat([Number(t)>>16&255,Number(t)>>8&255,255&Number(t)].join(","),",").concat(a,")");throw new Error("Bad Hex")},p=(e,t,a)=>Math.abs(e-t)<30&&Math.abs(t-a)<30&&Math.abs(e-a)<30,u=(e,t,a)=>{const n=Math.max(e,t,a),o=Math.min(e,t,a);return 0===n?0:(n-o)/n},g=async e=>{try{const t=await(async e=>new Promise((t,a)=>{const n=document.createElement("img");n.crossOrigin="Anonymous",n.onload=()=>{const e=document.createElement("canvas"),o=e.getContext("2d");e.width=n.width,e.height=n.height,null==o||o.drawImage(n,0,0);try{const a=null==o?void 0:o.getImageData(0,0,e.width,e.height),n={};if(a){for(let e=0;e<a.data.length;e+=4)if(a.data[e+3]>128){const t=a.data[e],o=a.data[e+1],c=a.data[e+2];if(!p(t,o,c)&&t+o+c>0&&t+o+c<765){const e=u(t,o,c);if(e>.15){const a="".concat(t,",").concat(o,",").concat(c);n[a]?n[a][3]++:n[a]=[t,o,c,1,e]}}}const e=Object.values(n).sort((e,t)=>{const a=.7*e[3]+.3*e[4]*1e3;return.7*t[3]+.3*t[4]*1e3-a});0===e.length&&e.push([41,63,143,1,1]);const o=(e,t,a)=>"#"+[e,t,a].map(e=>{const t=Math.floor(e).toString(16);return 1===t.length?"0"+t:t}).join(""),c={dominant:o(e[0][0],e[0][1],e[0][2]),vibrant:o(Math.min(255,1.2*e[0][0]),Math.min(255,1.2*e[0][1]),Math.min(255,1.2*e[0][2])),darkVibrant:o(Math.floor(.7*e[0][0]),Math.floor(.7*e[0][1]),Math.floor(.7*e[0][2])),lightVibrant:o(Math.min(255,1.3*e[0][0]),Math.min(255,1.3*e[0][1]),Math.min(255,1.3*e[0][2])),muted:o(Math.floor(.8*e[0][0]),Math.floor(.8*e[0][1]),Math.floor(.8*e[0][2]))};t(c)}}catch(e){a("#939393")}},n.onerror=e=>{a("#939393")},n.src=e}))(e);return t.darkVibrant}catch(e){return"#939393"}};const _=e=>s()(e,{allowedTags:["b","i","em","strong","span","br","p","img","div","ul","li","a","h1","h2","h3","h4","h5","h6"],allowedAttributes:{"*":["class","style"],img:["src","alt","width","height","loading","class","style"],a:["href","target","rel"],li:["style","class","type"]},allowedStyles:{"*":{color:[/.*/],"text-align":[/.*/],"font-size":[/.*/],"font-weight":[/.*/],margin:[/.*/],"margin-left":[/.*/],"margin-bottom":[/.*/],"padding-left":[/.*/],"list-style":[/.*/],"list-style-type":[/.*/],display:[/.*/],"line-height":[/.*/],"font-family":[/.*/]}},allowedSchemes:["http","https","data"],allowedSchemesByTag:{img:["http","https","data"]}}),y=e=>{const t=e.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return t&&11===t[7].length?t[7]:null},w=e=>"https://img.youtube.com/vi/".concat(e,"/maxresdefault.jpg"),N=(e,t)=>{const a=document.createElement("a");a.href=e,a.download="".concat(t,".").concat(e.split(".").pop()),document.body.appendChild(a),a.click(),document.body.removeChild(a)};function v(e){let t=encodeURIComponent("".concat(e.Latitude,",").concat(e.Longitude));navigator.userAgent.match(/iPhone|iPad|iPod/i)?window.open("http://maps.apple.com/?daddr=".concat(t)):window.open("http://maps.google.com/?daddr=".concat(t))}},19977:()=>{},21866:()=>{},47856:e=>{e.exports={matchLeadersContainer:"style_matchLeadersContainer__FEDBq",titleWrapper:"style_titleWrapper__o8o2R",title:"style_title__P3vFP",tournamentSelector:"style_tournamentSelector__S_Z7l",selectedTournament:"style_selectedTournament__C1CaG",nameWrapper:"style_nameWrapper__deeFn",chevron:"style_chevron__KQOTr",open:"style_open__ga86h",dropdown:"style_dropdown__GGsYU",dropdownItem:"style_dropdownItem__vCI3Z",leadersGrid:"style_leadersGrid__uRk4a",leaderCard:"style_leaderCard__DhfNe",leaderHeader:"style_leaderHeader__O8mx7",leaderType:"style_leaderType__zO236",playerName:"style_playerName__HL6UI",statValue:"style_statValue__qmcWJ",playerImage:"style_playerImage__LHtdZ",image:"style_image__JkF5D",showOnMobile:"style_showOnMobile__3qwh_"}},49746:()=>{},50901:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var n=a(20643),o=a(23203),c=a(47856),s=a.n(c),r=a(27814),l=a(3204);const i=e=>{let{teamLeaders:t,tournaments:a,onTournamentSelect:c,currentTournamentId:i,showOnMobile:d=!1}=e;var m;const h=(0,r.c)("Content"),[p,u]=(0,o.useState)(!1),[g,_]=(0,o.useState)(null===(m=a[0])||void 0===m?void 0:m.id),y=a.find(e=>e.id===g)||a[0],w=(a.findIndex(e=>e.id===(null==y?void 0:y.id)),e=>{switch(e.type){case"Point":case"Rebound":case"Assist":return e.average.toFixed(1);default:return 0}}),N=e=>{switch(e.type){case"Point":return(0,l.$J)(h.raw("point"));case"Rebound":return(0,l.$J)(h.raw("total_rebound"));case"Assist":return(0,l.$J)(h.raw("total_assist"));default:return 0}};return(0,o.useEffect)(()=>{i&&_(i)},[i]),(0,n.jsx)("div",{className:"".concat(s().matchLeadersContainer," ").concat(d?s().showOnMobile:""),children:(0,n.jsxs)("div",{style:{maxWidth:1440,margin:"0 auto"},children:[(0,n.jsxs)("div",{className:s().titleWrapper,children:[(0,n.jsx)("div",{className:s().title,children:(0,l.$J)(h.raw("leader_table_title"))}),(0,n.jsxs)("div",{className:s().tournamentSelector,children:[(0,n.jsxs)("div",{className:s().selectedTournament,onClick:()=>u(!p),children:[(0,n.jsxs)("div",{className:s().nameWrapper,children:[(0,n.jsx)("img",{src:"EUL"===y.shortName?"/images/statistics/tournament1.png":"/images/statistics/tournament2.png",width:24,height:24,alt:"Tournament"}),(0,n.jsx)("span",{children:null==y?void 0:y.name})]}),(0,n.jsx)("img",{src:"/images/icons/chevron-down.svg",width:24,height:24,alt:"Dropdown",className:"".concat(s().chevron," ").concat(p?s().open:"")})]}),p&&(0,n.jsx)("div",{className:s().dropdown,children:a.map((e,t)=>(0,n.jsxs)("button",{className:s().dropdownItem,onClick:()=>(async e=>{u(!1),_(e),await c(e)})(e.id),children:[(0,n.jsx)("img",{src:"EUL"===e.shortName?"/images/statistics/tournament1.png":"/images/statistics/tournament2.png",width:24,height:24,alt:"Tournament"}),(0,n.jsx)("span",{children:e.name})]},e.id))})]})]}),(0,n.jsx)("div",{className:s().leadersGrid,children:t.map((e,t)=>(0,n.jsxs)("div",{className:s().leaderCard,children:[(0,n.jsxs)("div",{className:s().leaderHeader,children:[(0,n.jsx)("div",{className:s().leaderType,children:N(e)}),(0,n.jsx)("div",{className:s().playerName,children:e.playerFullName}),(0,n.jsx)("div",{className:s().statValue,children:w(e)})]}),(0,n.jsx)("div",{className:s().playerImage,children:(0,n.jsx)("img",{src:e.playerImageUrl||"/images/players/
1default.png",alt:e.playerKnownName,className:s().image})})]},e.teamPlayerId+t))})]})})};try{i.displayName="TeamLeaders"}catch(e){}const d=i}}]);

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.