PageSourceSearch

https://statz.ai/build/assets/Show-sYMOlLq8.js

js statz.ai collected 2026-10-05 12:41:36 UTC 10,529 bytes, 1 lines download raw bytes

1import{s as D}from"./app-DFbVDG80.js";import{i as s,f as n,m as u,t as c,g as h,e as x,k as p,H as A,o as a,q as S,Z as C,v as f,w as _,F as y,l as w,n as H}from"./vendor-BAoEexYP.js";import{L as N}from"./Legacy-C2rVpDD_.js";import{_ as T}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{B as O}from"./BookmakerBanner-Bv2f0f_q.js";import{A as P}from"./AdBanner-BLztFUR7.js";import{_ as F}from"./AccaOfTheDayCard-DzM9Txlq.js";import{P as j}from"./PredictedLineupPitch-DM4FVLYx.js";import{L as z}from"./LineupAvailabilityLists-7zNIYa3D.js";import"./v-click-outside.umd-H-xAVeMD.js";/* empty css            */import"./Footer-CS9ul_5C.js";import"./StoreBadge-BtfK6WJg.js";import"./BottomNav-BvWjvpCl.js";import"./BookmakerBannerCard-BvIqeANy.js";import"./ProjectionsPromoBanner-vWWg6mjL.js";import"./HubAccaOfTheDayCard-Caai8xC3.js";import"./homeModuleTracking-Bl6tUoTm.js";import"./bet365Link-BEP65qhi.js";import"./kickoff-DWneztst.js";const I={props:{seo:Object},watch:{seo:{immediate:!0,handler(t){t&&this.updateMetaTags(t)}}},methods:{updateMetaTags(t){if(t.title&&(document.title=t.title),document.querySelectorAll("meta[data-vue-seo]").forEach(i=>i.remove()),t.description&&this.setMetaTag("description",t.description),t.canonical){const i=document.querySelector('link[rel="canonical"]')||document.createElement("link");i.setAttribute("rel","canonical"),i.setAttribute("href",t.canonical),i.setAttribute("data-vue-seo","true"),document.head.appendChild(i)}t.og_title&&this.setMetaTag("og:title",t.og_title,"property"),t.og_description&&this.setMetaTag("og:description",t.og_description,"property"),t.og_image&&t.og_image[0]&&t.og_image[0].url&&this.setMetaTag("og:image",t.og_image[0].url,"property"),t.og_url&&this.setMetaTag("og:url",t.og_url,"property"),t.og_type?this.setMetaTag("og:type",t.og_type,"property"):this.setMetaTag("og:type","article","property"),t.twitter_card&&this.setMetaTag("twitter:card",t.twitter_card),t.twitter_title&&this.setMetaTag("twitter:title",t.twitter_title),t.twitter_description&&this.setMetaTag("twitter:description",t.twitter_description),t.twitter_image&&this.setMetaTag("twitter:image",t.twitter_image),t.article_published_time&&this.setMetaTag("article:published_time",t.article_published_time,"property"),t.article_modified_time&&this.setMetaTag("article:modified_time",t.article_modified_time,"property"),t.robots&&this.setMetaTag("robots",t.robots)},setMetaTag(t,i,e="name"){let l=document.querySelector(`meta[${e}="${t}"]`);l||(l=document.createElement("meta"),l.setAttribute(e,t),l.setAttribute("data-vue-seo","true"),document.head.appendChild(l)),l.setAttribute("content",i)}}};function q(t,i,e,l,d,o){return null}const V=T(I,[["render",q]]),W={class:"rounded-[16px] border border-[#E4E5E9] bg-white overflow-hidden"},G={class:"px-4 py-3 border-b border-[#E4E5E9] flex items-center gap-3"},Z=["src","alt"],U={class:"min-w-0"},X={class:"text-sm font-extrabold text-[#0F123F] leading-tight"},Y={key:0,class:"text-xs font-semibold text-[#6B7280]"},J={class:"ml-auto px-2.5 py-0.5 rounded-full bg-[#EEF2FF] text-[#3730A3] text-[11px] font-black"},K={class:"px-4 py-4 space-y-4"},Q={__name:"ArticleLineupEmbed",props:{lineup:{type:Object,required:!0}},setup(t){const i=t,e=A(()=>i.lineup.fixtures.find(o=>o.primary)||i.lineup.fixtures[0]||null),l=A(()=>i.lineup.out.length||i.lineup.doubts.length||i.lineup.banned.length);function d(o){const m=new Date(o);return isNaN(m)?"":m.toLocaleString("en-GB",{timeZone:"Europe/London",weekday:"short",day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"})}return(o,m)=>(a(),s("div",W,[n("div",G,[t.lineup.team.badge?(a(),s("img",{key:0,src:t.lineup.team.badge,class:"w-7 h-7 object-contain",alt:t.lineup.team.name,loading:"lazy"},null,8,Z)):u("",!0),n("div",U,[n("p",X,c(t.lineup.team.name)+" predicted XI — GW"+c(t.lineup.gameweek.fpl_id),1),e.value?(a(),s("p",Y,c(e.value.venue==="H"?"vs":"at")+" "+c(e.value.opponent.name)+" · "+c(d(e.value.kickoff)),1)):u("",!0)]),n("span",J,c(t.lineup.formation),1)]),n("div",K,[h(j,{rows:t.lineup.rows,colours:t.lineup.team.colours,theme:"dark",size:"embed","team-fpl-code":t.lineup.team.fpl_code,"show-xpts":!!t.lineup.show_xpts},null,8,["rows","colours","team-fpl-code","show-xpts"]),l.value?(a(),x(z,{key:0,out:t.lineup.out,doubts:t.lineup.doubts,banned:t.lineup.banned,dense:"",theme:"light"},null,8,["out","doubts","banned"])):u("",!0),m[0]||(m[0]=n("p",{class:"text-[11px] font-semibold text-[#9CA3AF]"},[p(" Predicted, not confirmed · "),n("a",{href:"/fpl/team-news",class:"text-[#3730A3] underline font-bold"},"All predicted lineups →")],-1))])]))}},R={components:{YoastSeoHead:V,AppLayout:N,Head:C,Link:S,BookmakerBanner:O,AdBanner:P,AccaOfTheDayWidget:F,ArticleLineupEmbed:Q},props:{post:Object,userCountry:Object,related:{type:Array,default:()=>[]},widgets:{type:Object,default:()=>({})},lineups:{type:Object,default:()=>({})}},computed:{heroImage(){var t,i;return((t=this.post)==null?void 0:t.featured_image_large)||((i=this.post)==null?void 0:i.featured_image)||null},primaryCategory(){var i;const t=((i=this.post)==null?void 0:i.category_names)||[];return t.length?t[t.length-1]:null},categoryTrail(){var i;const t=((i=this.post)==null?void 0:i.category_names)||[];return Array.isArray(t)?t.filter(e=>typeof e=="string"&&e.length):[]},contentParts(){var o;const t=((o=this.post)==null?void 0:o.content)||"",i=/<!--\s*statz-(banner|widget|lineup):([\w,\-]+)\s*-->/g,e=[];let l=0,d;for(;(d=i.exec(t))!==null;){if(d.index>l&&e.push({type:"html",content:t.slice(l,d.index)}),d[1]==="widget")e.push({type:"widget",widget:d[2].trim()});else if(d[1]==="lineup")e.push({type:"lineup",team:d[2].trim()});else{const m=d[2].split(",").map(g=>
1g.trim()).filter(Boolean);m.length&&e.push({type:"banner",slugs:m})}l=d.index+d[0].length}return l<t.length&&e.push({type:"html",content:t.slice(l)}),e}},methods:{route:D,formatDate(t){return new Date(t).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}}},$={class:"na-page"},tt={class:"container mx-auto px-4 py-6 md:py-8"},et={"aria-label":"Breadcrumb",class:"text-xs text-gray-500 mb-3"},it={class:"flex flex-wrap items-center gap-1"},at={class:"na-card max-w-4xl mx-auto",itemscope:"",itemtype:"https://schema.org/NewsArticle"},nt=["src","alt"],st={class:"na-body"},ot={class:"na-header"},rt={class:"na-h1",itemprop:"headline"},lt={class:"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm"},dt={key:0,class:"flex items-center not-italic",itemprop:"author",itemscope:"",itemtype:"https://schema.org/Person"},ct=["src","alt"],ut={key:2,class:"font-medium text-gray-900",itemprop:"name"},mt={key:1,class:"text-gray-300"},pt={key:2,class:"text-gray-500"},ht=["datetime"],gt={key:3,class:"text-gray-400 text-xs"},ft=["datetime"],yt={itemprop:"articleBody",class:"na-prose"},_t=["innerHTML"],xt={key:1,class:"my-6 not-prose"},bt=["src","title"],wt={key:0,class:"na-related"},kt={class:"space-y-2"};function vt(t,i,e,l,d,o){const m=f("Head"),g=f("Link"),L=f("AccaOfTheDayWidget"),B=f("ArticleLineupEmbed"),M=f("BookmakerBanner"),k=f("AdBanner"),E=f("AppLayout");return a(),x(E,null,{default:_(()=>{var v;return[h(m,{title:((v=e.post.yoast_seo)==null?void 0:v.title)||e.post.title},null,8,["title"]),n("div",$,[n("div",tt,[h(g,{href:o.route("blog.index"),class:"na-back"},{default:_(()=>[...i[0]||(i[0]=[p(" ← Back to News ",-1)])]),_:1},8,["href"]),n("nav",et,[n("ol",it,[n("li",null,[h(g,{href:"/",class:"hover:underline"},{default:_(()=>[...i[1]||(i[1]=[p("Home",-1)])]),_:1})]),o.categoryTrail.length?(a(!0),s(y,{key:0},w(o.categoryTrail,(r,b)=>(a(),s(y,{key:`cat-${b}`},[i[2]||(i[2]=n("li",{class:"text-gray-300"},"/",-1)),n("li",{class:H(b===o.categoryTrail.length-1?"font-medium text-gray-700":"")},c(r),3)],64))),128)):(a(),s(y,{key:1},[i[4]||(i[4]=n("li",{class:"text-gray-300"},"/",-1)),n("li",null,[h(g,{href:o.route("blog.index"),class:"hover:underline"},{default:_(()=>[...i[3]||(i[3]=[p("News",-1)])]),_:1},8,["href"])])],64))])]),n("article",at,[o.heroImage?(a(),s("img",{key:0,src:o.heroImage,alt:e.post.title,class:"na-hero",itemprop:"image"},null,8,nt)):u("",!0),n("div",st,[n("header",ot,[n("h1",rt,c(e.post.title),1),n("div",lt,[e.post.author?(a(),s("address",dt,[e.post.author.avatar?(a(),s("img",{key:0,src:e.post.author.avatar,class:"w-8 h-8 rounded-full mr-2",alt:e.post.author.name},null,8,ct)):u("",!0),i[5]||(i[5]=n("span",{class:"text-gray-500 mr-1"},"By",-1)),e.post.author.slug?(a(),x(g,{key:1,href:o.route("blog.author",e.post.author.slug),class:"font-medium text-gray-900 hover:text-indigo-600 hover:underline",itemprop:"name"},{default:_(()=>[p(c(e.post.author.name),1)]),_:1},8,["href"])):(a(),s("span",ut,c(e.post.author.name),1))])):u("",!0),e.post.author&&e.post.date?(a(),s("span",mt,"·")):u("",!0),e.post.date?(a(),s("span",pt,[i[6]||(i[6]=p(" Published ",-1)),n("time",{datetime:e.post.date,itemprop:"datePublished"},c(o.formatDate(e.post.date)),9,ht)])):u("",!0),e.post.modified&&e.post.modified!==e.post.date?(a(),s("span",gt,[i[7]||(i[7]=p(" (updated ",-1)),n("time",{datetime:e.post.modified,itemprop:"dateModified"},c(o.formatDate(e.post.modified)),9,ft),i[8]||(i[8]=p(") ",-1))])):u("",!0)])]),n("div",yt,[(a(!0),s(y,null,w(o.contentParts,(r,b)=>(a(),s(y,{key:b},[r.type==="html"?(a(),s("div",{key:0,class:"prose max-w-none",innerHTML:r.content},null,8,_t)):r.type==="widget"?(a(),s("div",xt,[r.widget==="acca-of-the-day"&&e.widgets["acca-of-the-day"]?(a(),x(L,{key:0,acca:e.widgets["acca-of-the-day"],"track-context":"article_widget"},null,8,["acca"])):r.widget!=="acca-of-the-day"?(a(),s("iframe",{key:1,src:`/widgets/${r.widget}/embed`,title:`Statz ${r.widget} widget`,width:"100%",height:"520",style:{"max-width":"420px",border:"0","border-radius":"12px",display:"block"},loading:"lazy"},null,8,bt)):u("",!0)])):r.type==="lineup"&&e.lineups[r.team]?(a(),x(B,{key:2,lineup:e.lineups[r.team],class:"my-6 not-prose"},null,8,["lineup"])):r.type==="lineup"?(a(),s(y,{key:3},[],64)):(a(),x(M,{key:4,slugs:r.slugs,page:e.post.slug||""},null,8,["slugs","page"]))],64))),128))]),h(k,{placement:"news-article-mid"}),e.related&&e.related.length?(a(),s("section",wt,[i[9]||(i[9]=n("h2",{class:"na-h2"},"More from Statz",-1)),n("ul",kt,[(a(!0),s(y,null,w(e.related,r=>(a(),s("li",{key:r.href},[h(g,{href:r.href,class:"text-indigo-700 font-medium hover:underline"},{default:_(()=>[p(c(r.text),1)]),_:2},1032,["href"])]))),128))])])):u("",!0)])]),h(k,{placement:"news-article-bottom"})])])]}),_:1})}const Gt=T(R,[["render",vt],["__scopeId","data-v-d1b9fca7"]]);export{Gt as default};

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.