1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-U3FaD8rQ.js","assets/index-BO6Ka_k5.js","assets/index-5iStlh7B.css","assets/index-DXE9qYuN.css"])))=>i.map(i=>d[i]); 2import{Q as S,S as B,T as V,a as I,w as T,o as E,dz as y,av as D,t as O,s as R,_ as x,j as f,r as C,z as L,B as n,C as c,D as d,E as s,I as N,J as v,N as u,F as l,G as F,H,K as j,O as G}from"./index-BO6Ka_k5.js";import{F as K}from"./FeaturedArticle-ljPpROqb.js";import{A as M}from"./ArticleHtmlRenderer-CQxpH-c-.js";import{Q as A}from"./helpers-hubx5jx9.js";import"./embedded-media-BwI8LB1x.js";import"./useArticleLink-CPHqMmDl.js";import"./legacy-style-scoping-DLBkiVNm.js";import"./useListAdSlots-C7nMdGEr.js";import"./article.api-XzYG51Ba.js";import"./shop.api-CjL31cMY.js";import"./fetch-videos-utils-XC72frSD.js";import"./ecal.api-MGyifpoe.js";const P={name:"GameArticles",components:{FeaturedArticle:K,SyButton:B,ArticleHtmlRenderer:M,SdpSkeletonLoader:R(()=>x(()=>import("./index-U3FaD8rQ.js"),__vite__mapDeps([0,1,2,3]))),SyHeading:S},props:{sectionData:{type:Object,default:()=>{}},gameArticleData:{type:Object,default:()=>{}}},setup(m){const{gameArticleData:i}=V(m),a=f(()=>{var e,t;return parseInt(((t=(e=i.value)==null?void 0:e.articleVersion)==null?void 0:t.replace("v",""))??"",10)}),o=C(""),h=I(),_=f(()=>h.isLoggedIn);return T(i,async e=>{if(e!=null&&e.id){const{data:t,code:r}=await A(e.id,_.value);r===y.OK&&(o.value=t==null?void 0:t.body)}}),E(async()=>{var e;if((e=i==null?void 0:i.value)!=null&&e.id){const{data:t,code:r}=await A(i.value.id,_.value);r===y.OK&&(o.value=t==null?void 0:t.body)}}),{articleVersion:a,articleBody:o,isEmpty:O,getArticleViewRoute:D}}},z={key:0,class:"game-article-root"},Q={class:"game-article-section"},U={class:"grid grid-cols-1 @lg:grid-cols-2 my-8 @lg:gap-20 py-4"},q={class:"article-details mb-8 @lg:mb-0 order-2 @lg:order-1"},J={class:"article-header"},W={class:"article-intro"},X={key:0,class:"article-desc"},Y={key:1},Z={class:"mt-3"},$={class:"article-media order-1 @lg:order-2"};function ee(m,i,a,o,h,_){var g,p;const e=n("sy-heading"),t=n("article-html-renderer"),r=n("sdp-skeleton-loader"),b=n("sy-button"),w=n("featured-article");return o.isEmpty(a.gameArticleData)?v("",!0):(c(),d("div",z,[s("section",Q,[o.isEmpty((g=a.sectionData)==null?void 0:g.heading)?v("",!0):(c(),N(e,{key:0,primary:"","heading-label":(p=a.sectionData)==null?void 0:p.heading,heading:"heading 3","heading-level":"h2","is-section-heading":!0,uppercase:""},null,8,["heading-label"])),s("div",U,[s("div",q,[s("div",J,u(a.gameArticleData.header),1),s("div",W,u(a.gameArticleData.introRawText),1),o.articleBody?(c(),d("div",X,[l(t,{variant:"section",body:o.articleBody},null,8,["body"])])):(c(),d("div",Y,[s("div",Z,[(c(),d(F,null,H(11,k=>s("div",{key:k},[l(r,{type:"square",width:`${(Math.floor(Math.random()*10)+1)*10}%`,height:20,rounded:!0,animation:"wave",class:"mb-3"},null,8,["width"])])),64))])])),l(b,{primary:"",outlined:"",class:"mt-5",to:o.getArticleViewRoute(a.gameArticleData.id)},{default:j(()=>[G(u(m.$t("article.read_more")),1)]),_:1},8,["to"])]),s("div",$,[l(w,{"featured-article":a.gameArticleData,"is-show-video-title-intro":!1},null,8,["featured-article"])])])])]))}const ue=L(P,[["render",ee],["__scopeId","data-v-13f71f04"]]);export{ue 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.