1import{g as S,a as U,h as K,i as V,_ as z}from"./CsX76yAE.js";import{o as J}from"./B3hQc8YD.js";import{N as O,X as e,E as P,J as R}from"./DgrxDae8.js";const X=S({fetchKey(){const{$i18n:n}=U();return`champd-up-slam-down-rules-${n.locale.value}`},data(){return{isError:!1,isLoading:!1,content:null,sections:{}}},async asyncData({$cms:n,$i18n:o}){let s,i;const t={isError:!1,isLoading:!1,content:null,sections:{}};try{const r=o.locale.value,d=r!=="en"?`champd-up-slam-down-rules-${r}`:"champd-up-slam-down-rules",l=([s,i]=K(()=>n.fetchOne("generic-contents",d,{populate:["sections"],locale:o.locale.value})),s=await s,i(),s);t.content=l,t.content&&t.content.sections&&(t.sections=t.content.sections.reduce((c,a)=>(c[a.key]=a,c),{})),t.sections.howtoplay.content=([s,i]=K(()=>J(t.sections.howtoplay.content)),s=await s,i(),s)}catch{t.isError=!0}finally{t.isLoading=!1}return t},head({$i18n:n}){var o,s,i;return{title:(o=this.content)==null?void 0:o.title,meta:[{name:"description",content:(i=(s=this.content)==null?void 0:s.seo)==null?void 0:i.metaDescription}]}}},"$i4Tv3bv3zP"),q={class:"slamdown"},F={class:"hero"},G={class:"padded instructions"},Q=["innerHTML"],W=["innerHTML"],Y=["innerHTML"],Z=["innerHTML"],j=["innerHTML"],x=["innerHTML"],nn=["innerHTML"],en=["innerHTML"],sn=["innerHTML"],tn=["innerHTML"],on=["innerHTML"],cn=["innerHTML"],an=["innerHTML"],rn=["innerHTML"];function ln(n,o,s,i,t,r){var l,c,a,u,m,_,p,h,T,L,g,H,M,v,f,w,y,$,C,D,E,N,k,B,b,A,I;const d=z;return R(),O("div",q,[e("div",F,[P(d,{src:"/images/slamdown/slamdown-logo.png",alt:"Champ'd Up Slam Down"})]),e("div",G,[e("div",{class:"inst",innerHTML:(l=n.content)==null?void 0:l.content},null,8,Q),e("div",{class:"images",innerHTML:(a=(c=n.sections)==null?void 0:c.imgCardTypes)==null?void 0:a.content},null,8,W),e("div",{class:"inst",innerHTML:(m=(u=n.sections)==null?void 0:u.setup)==null?void 0:m.content},null,8,Y),e("div",{class:"images",innerHTML:(p=(_=n.sections)==null?void 0:_.imgDiagram)==null?void 0:p.content},null,8,Z),e("div",{class:"inst",innerHTML:(T=(h=n.sections)==null?void 0:h.playing)==null?void 0:T.content},null,8,j),e("div",{class:"images",innerHTML:(g=(L=n.sections)==null?void 0:L.imgCardDiagram)==null?void 0:g.content},null,8,x),e("div",{class:"inst",innerHTML:(M=(H=n.sections)==null?void 0:H.endingTurn)==null?void 0:M.content},null,8,nn),e("div",{class:"images",innerHTML:(f=(v=n.sections)==null?void 0:v.imgCards)==null?void 0:f.content},null,8,en),e("div",{class:"inst",innerHTML:(y=(w=n.sections)==null?void 0:w.winning)==null?void 0:y.content},null,8,sn),e("div",{class:"images",innerHTML:(C=($=n.sections)==null?void 0:$.imgExhausted)==null?void 0:C.content},null,8,tn),e("div",{class:"inst",innerHTML:(E=(D=n.sections)==null?void 0:D.recruiting)==null?void 0:E.content},null,8,on),e("div",{class:"images",innerHTML:(k=(N=n.sections)==null?void 0:N.imgThreeCards)==null?void 0:k.content},null,8,cn),e("div",{class:"inst",innerHTML:(b=(B=n.sections)==null?void 0:B.trainers)==null?void 0:b.content},null,8,an),e("div",{class:"images",innerHTML:(I=(A=n.sections)==null?void 0:A.imgTrainer)==null?void 0:I.content},null,8,rn)])])}const _n=V(X,[["render",ln],["__scopeId","data-v-eeb04603"]]);export{_n as default}; 2//# sourceMappingURL=BpJhAwKR.js.map
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.