PageSourceSearch

https://winspirit-de.com/dist/StaticPage-Bcu1ky2h.js

js winspirit-de.com collected 2026-10-05 07:07:01 UTC 5,003 bytes, 2 lines download raw bytes

1import{h as Q,c1 as X}from"./sentry-B8SiaOqR.js";import{ag as M,k as V,l as I,a as Z,ai as tt,c as e,w as et,ae as at,b as c,j as f,f as n,q as h,F as P,z as st,g as i,h as b,y as ot,m as nt,B as x,x as O,s as G,H as lt,J as rt}from"./vendors-D6_U1cxw.js";import{aI as ct,j as it,a7 as ut,N as gt,a1 as mt,cc as p,R as pt,x as dt,_ as vt}from"./main-k9EyBD-L.js";import{o as _t}from"./observeContentChanged-B-da6vRh.js";import{b as ft,t as ht}from"./floating-ui-Bv8lmiPa.js";import{a as yt}from"./parseSegments-DbYu_G5X.js";import{u as St,R as Ct,i as kt}from"./RawHtml-c0tnGXgI.js";import"./zod-mSUfeT8K.js";import"./vue-recaptcha-DyvulmQb.js";import"./vue3-touch-events-BftI5NW8.js";import"./body-scroll-lock-upgrade-CmWMI3F6.js";import"./livechat-BavU3_q5.js";import"./firebase-K-rWttj5.js";import"./vee-validate-BoCWXGUL.js";/* empty css                               *//* empty css                                     *//* empty css                                */import"./overlayscrollbars-Cua63DhK.js";const Tt=".domainCopy",wt=1500;function Pt(){const y=M(),u=V(),r=()=>{const s=location.hostname;navigator.clipboard.writeText(s).then(()=>{ct.show({text:y.t("TOAST.LINK_COPIED"),time:wt})})},S=()=>{var g;const s=(g=u.value)==null?void 0:g.querySelectorAll(Tt);s!=null&&s.length&&s.forEach(m=>{m.addEventListener("click",r)})};return I(()=>{u.value&&_t({target:u.value,callback:S})}),{content:u}}const xt={key:0,"data-test":"static-page",class:"static-page grid grid-cols-1 gap-x-6 gap-4 m-auto auto-cols-auto max-w-layout md:grid-cols-8 lg:grid-cols-12 md:gap-6 min-h-[75vh]"},Ot={class:"static-page__container grid grid-cols-4 col-span-full gap-4 md:grid-cols-8 md:col-span-8 lg:grid-cols-12 md:col-start-1 lg:col-start-3"},Et=["innerHTML"],Lt={key:0,class:"static-page__games grid grid-cols-4 col-span-full gap-4 md:grid-cols-8 md:col-span-8 lg:grid-cols-12 md:col-start-1 lg:col-start-3"},Nt={class:"w-full col-span-full grid gap-6"},Rt={class:"text-h2 text-light"},H=14,Wt=Z({__name:"StaticPage",props:{slug:{}},setup(y){const u=y,r=V(!1),S=M(),s=tt(),{content:g}=Pt(),{parseContent:m,replaceContentKeys:E}=it(),C=ut(),B=Q(),d=e(()=>u.slug||s.name),o=e(()=>C.currentStaticPage),_=e(()=>{var t,a;return((a=(t=o.value)==null?void 0:t.localisation)==null?void 0:a.variables)||{}}),D=e(()=>{var a;const t=((a=o.value)==null?void 0:a.button_text_for_game_list)||S.t("COMMON.SHOW_MORE");return m(t,_.value)}),L=e(()=>{var t;return m(((t=o.value)==null?void 0:t.game_list_title)??"",_.value)}),$=e(()=>{var t;return((t=o.value)==null?void 0:t.games)??[]}),A=e(()=>{const t=gt(),a=d.value?t.getPageGamesSlugData(d.value).items:[];return(a.length>0?a:mt()).slice(0,H)}),q=e(()=>{var t;return{games:A.value,path:{path:`/${(t=o.value)==null?void 0:t.slug}/games`}}}),N=e(()=>location.hostname),F=e(()=>{var t;return m(((t=o.value)==null?void 0:t.content)??"",_.value)}),j=e(()=>E(F.value,N.value)),k=e(()=>{var t;return C.cachedSegments?C.cachedSegments:yt((t=o.value)==null?void 0:t.content)}),K=e(()=>k.value.some(t=>t.type===p.Widget)),{resolveWidget:z}=St({getSlug:()=>d.value,getCurrentPageSlug:()=>{var t;return(t=o.value)==null?void 0:t.slug},getTitle:()=>L.value,getTag:()=>"",defaultGamesCount:H,isLogged:()=>B.isLogged}),{reinit:J}=X({autoInit:!1,onGtagClick:t=>{dt("event",...t)}}),T=e(()=>k.value.map(t=>t.type===p.Widget?z(t):null)),U=e(()=>k.value.map(t=>t.type===p.Content?{...t,content:E(m(t.content,_.value),N.value)}:t)),Y=()=>{var l;const t=s.hash,a=t?(l=g.value)==null?void 0:l.querySelector(t):null;a&&"checked"in a&&(a.checked=!0)},w=async()=>{d.value&&(await kt({pageSlug:d.value,routePath:s.path}),Y(),await rt(),J())};return et(()=>s.path,async()=>{r.value=!1,await w(),r.value=!0}),I(async()=>{r.value||(await w(),r.value=!0)}),at(async()=>{await w(),r.value=!0}),(t,a)=>o.value?(n(),c("div",xt,[h("div",Ot,[K.value?(n(),c("div",{key:0,ref_key:"content",ref:g,class:"static-page__content grid gap-4 md:gap-6 w-full col-span-full"},[(n(!0),c(P,null,st(U.value,(l,v)=>{var R,W;return n(),c(P,{key:l.type===i(p).Content?`${v}_${l.content}`:v},[l.type===i(p).Content?(n(),b(i(Ct),{key:0,html:l.content},null,8,["html"])):l.type===i(p).Widget?(n(),c(P,{key:1},[T.value[v]?(n(),b(ot((R=T.value[v])==null?void 0:R.component),nt({key:0,"data-widget":""},{ref_for:!0},(W=T.value[v])==null?void 0:W.props),null,16)):f("",!0)],64)):f("",!0)],64)}),128))],512)):(n(),c("div",{key:1,ref_key:"content",ref:g,class:"static-page__content w-full col-span-full",innerHTML:j.value},null,8,Et))]),o.value.content&&$.value.length>0?(n(),c("div",Lt,[h("div",Nt,[h("div",null,[x(i(pt),{params:q.value},{"title-slot":O(()=>[h("div",Rt,G(L.value),1)]),_:1},8,["params"])]),x(i(ht),{"data-test":"static-page-more-games",to:{path:`/${o.value.slug}/games`}},{default:O(()=>[x(i(ft),{class:"m-auto"},{default:O(()=>[lt(G(D.value),1)]),_:1})]),_:1},8,["to"])])])):f("",!0)])):f("",!0)}}),Qt=vt(Wt,[["__scopeId","data-v-e21dd223"]]);export{Qt as default};
2//# sourceMappingURL=StaticPage-Bcu1ky2h.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.