PageSourceSearch

https://bo3.gg/_nuxt/DobTLWq-.js

js bo3.gg collected 2026-09-24 18:42:33 UTC 4,687 bytes, 1 lines download raw bytes

1import{b as Z}from"#entry";import q from"./JYFHGhNg.js";import J from"./BhEMgriT.js";import{a as Q,c as tt,Z as et}from"./DH8UUVDx.js";import{m as P}from"./lJLXlcUT.js";import{u as at,o as nt}from"./BDbHy1Cw.js";import{bM as T,P as w,bn as st,a as A,bj as ot,bk as rt}from"./C6VA06jA.js";import{u as it}from"./D7OHGuRx.js";import{u as lt}from"./H4aSmp5G.js";import{u as ct,a as mt}from"./owl4hcbb.js";import{w as $,K as ut,n as _t,y as pt,A as t,V as B,M as W,R as dt,X as m,S as i,a3 as D,Y as I,Z as u,a7 as R,k as g,j as l}from"./CR7AoSgS.js";import"./5JIYIruf.js";import"./C2zdcYYL.js";import"./DIuss_n5.js";import"./IUD6sLmJ.js";import"./DneBRVoK.js";import"./DK-XwjNs.js";import"./DAR0xSAx.js";import"./C5EeRGv0.js";import"./Cirpkg8u.js";const gt={class:"banner-container"},vt={class:"banner-container__text"},ht={class:"banner-container"},ft={class:"banner-container__text"},G=1536,Et=1439,bt=311,Xt={__name:"XbitCasinoYellow",setup(Nt){const{$config:v}=at(),{trackGaEvent:M}=lt(),{gameTitle:S,locale:U}=it(),{trackBannerImpression:X}=ct(),r=`c-${st}-partner-branding`,_=g(0),k=g(1264),x=()=>{_.value=window.innerWidth;const e=document.querySelector(".js-global-wrapper");e&&(k.value=e.offsetWidth)},y=l(()=>({width:`${(_.value-k.value)/2}px`})),p=l(()=>_.value>=Et),{partnersBanners:H,currentBannerIndex:K,navigationCounter:Y,bannersLoaded:C}=nt(Q()),a=l(()=>H?.value?.[A.STAKE_BACKGROUND]?.[K.value]),o=l(()=>a.value?.ad_campaign?.title?.toLowerCase()),c=l(()=>{if(!a.value||P(a.value))return null;const e="left",s="right",n="bg-banner/games/casino-yellow/",b=_.value<=G?`${v.public.imageProxyUrl}assets/onexbit/${n}left-slim.png.webp`:`${v.public.imageProxyUrl}assets/onexbit/${n}${e}.png.webp?h=1240`,N=_.value<=G?`${v.public.imageProxyUrl}assets/onexbit/${n}right-slim.png.webp`:`${v.public.imageProxyUrl}assets/onexbit/${n}${s}.png.webp?h=1240`;return{...a.value,left_image_url:b,right_image_url:N}}),h=l(()=>!a.value||P(a.value)?null:{...a.value,image_url:a.value?.image_versions?.original||a.value?.image_url||null}),{mixpanelTrackEvent:V}=tt(),z=()=>{const e=a.value?.version?.toLowerCase()||"default",s=`${a.value?.ad_campaign?.title}-${e}`;M({event:ot.AD_BANNER,ad_campaign:s,locale:U,discipline:S,game_title:S,spot:A.STAKE_BRANDING}),V(rt.AD_BANNER,{ad_campaign:s,spot:A.STAKE_BRANDING})},f=g(0),F=l(()=>L.value?{top:`${f.value<=0?f.value:0}px`}:{}),L=g(!1),O=()=>{const e=window.scrollY||document.documentElement.scrollTop,s=document.documentElement.scrollHeight,n=document.documentElement.clientHeight;f.value=s-e-n-bt,L.value=f.value<=5},d=g(!1),E=()=>{C.value&&X({bannerData:c.value,spot:A.STAKE_BRANDING})};return $(C,e=>{e&&d.value&&p.value&&E()}),$(p,e=>{d.value&&e&&c.value&&E()}),$(Y,e=>{d.value&&e&&p.value&&E()}),ut(()=>{x(),window.addEventListener("resize",x),window.addEventListener("scroll",O),p.value&&E(),_t(()=>{d.value=!0})}),pt(()=>{window.removeEventListener("resize",x),window.removeEventListener("scroll",O)}),mt(()=>{d.value=!1}),(e,s)=>{const n=Z,b=q,N=J,j=et;return t(c)?(B(),W("div",{key:0,class:u(`${r} ${r}--1xbit-casino-yellow`),style:R(t(F))},[t(p)?(B(),W(dt,{key:0},[m("div",{class:u(`${r}__left`),style:R(t(y))},[m("div",gt,[i(n,{class:"main-bg",src:t(c).left_image_url,alt:t(o),width:"328",height:"620",fetchpriority:"high"},null,8,["src","alt"]),m("div",vt,[t(h)?(B(),D(n,{key:0,class:"partner-logo",src:t(h).image_url,alt:t(o),fetchpriority:"high"},null,8,["src","alt"])):I("",!0),i(b,{class:u(`${r}-text--small`),"ad-campaign-title":t(o),theme:t(w).XBIT_CASINO_YELLOW,"custom-translations":t(T)},null,8,["class","ad-campaign-title","theme","custom-translations"]),i(N,{"ad-campaign-title":t(o),theme:t(w).XBIT_CASINO_YELLOW,"custom-translations":t(T),"is-small":!0},null,8,["ad-campaign-title","theme","custom-translations"])])])],6),m("div",{style:R(t(y)),class:u(`${r}__right`)},[m("div",ht,[i(n,{class:"main-bg",src:t(c).right_image_url,alt:t(o),width:"328",height:"620",fetchpriority:"high"},null,8,["src","alt"]),m("div",ft,[t(h)?(B(),D(n,{key:0,class:"partner-logo",src:t(h).image_url,alt:t(o),fetchpriority:"high"},null,8,["src","alt"])):I("",!0),i(b,{class:u(`${r}-text--small`),"ad-campaign-title":t(o),theme:t(w).XBIT_CASINO_YELLOW,"custom-translations":t(T),"use-secondary-text":!0},null,8,["class","ad-campaign-title","theme","custom-translations"]),i(N,{"ad-campaign-title":t(o),theme:t(w).XBIT_CASINO_YELLOW,"custom-translations":t(T),"is-small":!0},null,8,["ad-campaign-title","theme","custom-translations"])])])],6),i(j,{class:u(`${r}__link`),to:`/goto?link=${encodeURIComponent(t(c).link)}`,target:"_blank",onClick:s[0]||(s[0]=()=>z())},null,8,["class","to"])],64)):I("",!0)],6)):I("",!0)}}};export{Xt 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.