PageSourceSearch

https://www.casinoenligne.ca/_nuxt/BHKmzfVL.js

js casinoenligne.ca collected 2026-10-07 18:53:29 UTC 4,021 bytes, 1 lines download raw bytes

1import{c as T,t as z,r as L,o as V}from"./CidTSYvP.js";import{a as R,b as F}from"./vxQvCPc2.js";import{d as D,G as E,c as h,a as p,o as r,l as d,b as N,u as o,t as y,w as H,g as U,_ as q,y as S,i as K,s as Q,aH as W,z as $,k as C,e as A,F as X,m as Y,H as Z,T as ee}from"./B54ZLeMa.js";import{a as ae}from"./Bxcal1jS.js";import{a as te,b as oe,u as se}from"./BnyMU3f4.js";const ne={class:"flex justify-between items-center flex-wrap"},re={class:"flex gap-xs w-3/4"},ce={key:0,class:"shrink-0 w-2xl"},le={key:1,class:"skeleton-bg animate-skeleton-animation-big shrink-0 w-2xl h-2xl"},me={class:"mr-md"},ie={class:"text-2xs leading-md"},de={class:"text-sm leading-md font-bold"},pe=D({__name:"JackpotGameBannerRow",props:{game:{default:void 0}},emits:["open-modal"],setup(x,{emit:m}){const c=x,{opOrganismsJackpotGamesBannerPlayNow:b="Play now"}=E(),u=h(()=>{const{images:s}=c.game;if(!Array.isArray(s))return;const l=s.find(({tags:f})=>f.includes("logo"));return l==null?void 0:l.hash}),t=h(()=>{var s;return!!c.game.jackpots.length&&ae((s=c.game.jackpots[0])==null?void 0:s.id.toString())}),k=m;function n(){k("open-modal",c.game)}return(s,l)=>{const f=T,i=R;return r(),p("div",null,[d("div",ne,[d("div",re,[o(u)?(r(),p("div",ce,[N(f,{src:o(u),alt:s.game.name,class:"w-2xl h-2xl background-elevation-3 rounded-ui-xs overflow-hidden",width:"64",height:"64",loading:"lazy"},null,8,["src","alt"])])):(r(),p("span",le)),d("div",me,[d("p",ie,y(s.game.name),1),d("p",de,y(o(t)),1)])]),N(i,{size:"sm",class:"target button-primary text-xs mt-sm min-w-[80px]",onClick:n},{default:H(()=>[U(y(o(b)),1)]),_:1})])])}}}),ue=q(pe,[["__scopeId","data-v-e313101f"]]),fe={key:0,class:"border border-sm color-stroke-elevation border-opacity-[0.12] rounded-ui-sm p-md"},_e={key:0,class:"text-md font-bold leading-md foreground-1"},ge={class:"flex flex-col gap-md"},be=D({__name:"JackpotGamesBanner",props:{title:{default:""},gamesSelector:{default:void 0}},async setup(x){let m,c;const b=x,u=S([]),{formattedPartner:t}=z(),k=h(()=>{var a,e,v,_,g,P,M,B,J,O,G,I;return{name:(a=t.value)==null?void 0:a.casinoName,logo:(e=t.value)==null?void 0:e.logo,titlePreview:(v=t.value)==null?void 0:v.titlePreview,offerType:(_=t.value)==null?void 0:_.offerType,partnerUrl:(g=t.value)==null?void 0:g.afflinkProxy,hasBonus:!!((P=t.value)!=null&&P.afflinkProxy)&&!!((M=t.value)!=null&&M.offerType)&&!!((B=t.value)!=null&&B.titlePreview),toplistAfflinkAttrs:(J=t.value)==null?void 0:J.toplistAfflinkAttrs,tnc:(O=t.value)==null?void 0:O.tnc,tncLinkProxy:(G=t.value)==null?void 0:G.tncLinkProxy,complianceInfo:(I=t.value)==null?void 0:I.complianceInfo}}),n=S(),s=F("toplist-games"),l=te(),f=oe();l.setCurrencyCode(s,f);const{data:i}=([m,c]=K(()=>se().setSelector({...b.gamesSelector,pageSize:3}).includeOnlyJackpotGames().includeJackpotAttachment().getGames("OpMoleculesCardCarouselGame")),m=await m,c(),m),j=h(()=>{var a,e;return((e=(a=i.value)==null?void 0:a.associations)==null?void 0:e.jackpots)||{}});Q(()=>{const a=W(document.documentElement);$(n,e=>{a.value=!!e}),$(j,e=>{e&&(u.value=Object.keys(j.value).map(Number),l.fetchJackpots(s,u.value))},{immediate:!0,deep:!0})});async function w(a){if(a){const e=await V(a);n.value={gameData:a,gameCards:(e==null?void 0:e.relatedGames)??[],partnerPromoObject:k,jackpotArcadeData:a.jackpots[0]??null}}else n.value=void 0}return(a,e)=>{const v=ue;return o(i).games.length?(r(),p("div",fe,[a.title?(r(),p("p",_e,y(a.title),1)):C("",!0),d("div",ge,[(r(!0),p(X,null,Y(o(i).games,(_,g)=>(r(),A(v,{key:g,game:_,class:Z(["mt-md",[{"border-b border-b-sm color-stroke-2 border-opacity-[0.12] pb-md":g<o(i).games.length-1}]]),onOpenModal:w},null,8,["game","class"]))),128))]),(r(),A(ee,{to:"body"},[o(n)?(r(),A(o(L),{key:0,"game-data":o(n).gameData,"jackpot-arcade-data":o(n).jackpotArcadeData,"partner-promo":o(k),"popular-games":o(n).gameCards,onCloseModal:e[0]||(e[0]=_=>w()),onOpenModal:w},null,8,["game-data","jackpot-arcade-data","partner-promo","popular-games"])):C("",!0)]))])):C("",!0)}}});export{be 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.