PageSourceSearch

https://dominobet.gg/build/assets/HotPickGames-BXKX5wGo.js

js dominobet.gg collected 2026-09-25 12:23:59 UTC 5,213 bytes, 1 lines download raw bytes

1import{o as R,z as H,A as V,f as n,j as o,H as L,B as d,x as b,I as D,y,F as _,l as x,L as S,Q as U,M as Z,p as W,a as M,b as p,q as i}from"./@vue-4474Gfnj.js";import{l as w,u as X}from"./@inertiajs-7zqq8wgj.js";const q={class:"ourgames-box !w-full col red-box-cus hotpickgames"},Q={class:"ourgames-title bg-theme"},Y={class:"flex gap-2"},K={class:"pad20tp pad20bp"},$={key:0,class:"provider-games-wrapper"},J={key:1,class:"pad20tp"},ee={class:"ourgames-box !w-full col red-box-cus Providergames"},te={class:"ourgames-title bg-theme"},oe={class:"filter-games"},se={class:"prov-search"},re={class:"pad20tp pad20bp"},ae={class:"provider-games",id:"providerGamesContainer"},le={class:"game-icon thumb-provicon prov-thumb"},ue={__name:"HotPickGames",props:{popularGames:{type:Array,default:()=>[]},slotlist:{type:Object,default:()=>({})},providerThumbs:{type:Object,default:()=>({})}},setup(g){const h=g,u=M(null),m=M(""),v=X(),B=p(()=>{var e;return(e=v.props.auth)==null?void 0:e.user}),k=p(()=>!!B.value);function f(e){const t=typeof route=="function"?route("lobby.slots"):"/lobby/slots",a=typeof route=="function"?route("slots.rule"):"/slotsrule";if(e&&k.value){if(typeof route=="function")try{return route("lobby.slots",{activetabs:e})}catch{}return t+"?activetabs="+encodeURIComponent(e)}return k.value?t:a}function P(e){return`/assets/images/game/prov-thumb/${String(e||"").toLowerCase().replace(/%/g,"")}.webp`}function A(){const e=u.value;e&&e.scrollBy({left:-(e.clientWidth*.8),behavior:"smooth"})}function E(){const e=u.value;e&&e.scrollBy({left:e.clientWidth*.8,behavior:"smooth"})}function N(){m.value=""}function G(e){const t=(m.value||"").toLowerCase().trim();return t?String(e||"").toLowerCase().includes(t):!0}function C(e){const t=u.value;t&&Math.abs(e.deltaY)>Math.abs(e.deltaX)&&(e.preventDefault(),t.scrollLeft+=e.deltaY)}R(()=>{u.value&&u.value.addEventListener("wheel",C,{passive:!1})}),H(()=>{u.value&&u.value.removeEventListener("wheel",C)});function I(e){return!e||typeof e!="string"?"":e.replace("object-d001-cloud.akucloud.com","landingsplash.xyz")}function T(e,t){const a=[];for(let r=0;r<e.length;r+=t)a.push(e.slice(r,r+t));return a}const j=p(()=>{const e=h.popularGames||[];if(!e.length)return[];const t=Math.ceil(e.length/2);return T(e,t)}),O=p(()=>{const t=["idnslot","pgsoft","pragmatic","slot mania","no limit city","fa chai","habanero","jili gaming","jdb","microgaming"].reduce((s,l,c)=>(s[l]=c,s),{}),a=Object.entries(h.slotlist||{}).filter(([s,l])=>{var c;return s&&s.toLowerCase()!=="popular"&&s.toLowerCase()!=="idn lottery"&&((c=l==null?void 0:l.games)==null?void 0:c.length)>0}).map(([s])=>s);a.sort((s,l)=>{const c=t[s]??Number.MAX_SAFE_INTEGER,F=t[l]??Number.MAX_SAFE_INTEGER;return c-F});const r={};for(const s of a)r[s]=h.slotlist[s];return r}),z=p(()=>{try{return["grid","grid-cols-2",(v.props&&v.props.agent)==="NPOAA"?"gap-3":"gap-2"]}catch{return["grid","grid-cols-2","gap-2"]}});return(e,t)=>{const a=V("image-component");return i(),n("div",{class:W(z.value)},[o("div",q,[o("div",Q,[o("b",Y,[t[1]||(t[1]=L("HOT PICK ",-1)),d(a,{"image-src":"/assets/images/hotmatch.webp",width:"18px",height:"15px",alt:"Hot Match",lazy:"none"})]),d(y(w),{href:f(),class:"more-link"},{default:b(()=>[L("more("+D(g.popularGames.length)+")",1)]),_:1},8,["href"])]),o("div",K,[g.popularGames.length?(i(),n("div",$,[(i(!0),n(_,null,x(j.value,(r,s)=>(i(),n("div",{class:"game-row",key:s},[(i(!0),n(_,null,x(r,(l,c)=>(i(),n("div",{class:"ourgames-box",key:c},[d(y(w),{href:f()},{default:b(()=>[d(a,{"image-src":I(l.img),class:"rounded w-[80px] h-[75px]",width:"80px",height:"75px",alt:"Hot Match",lazy:"none"},null,8,["image-src"])]),_:2},1032,["href"])]))),128))]))),128))])):(i(),n("div",J,"No hot pick games"))])]),o("div",ee,[o("div",te,[t[5]||(t[5]=o("b",null,"SLOT PROVIDER",-1)),o("div",oe,[o("div",se,[t[2]||(t[2]=o("svg",{class:"prov-search__icon","aria-hidden":"true",viewBox:"0 0 24 24"},[o("path",{d:"M10 18a8 8 0 1 1 5.293-14.293A8 8 0 0 1 10 18Zm11 3-5.2-5.2a10 10 0 1 0-1.4 1.4L19.6 22 21 21Z"})],-1)),S(o("input",{style:{color:"#000"},type:"text","onUpdate:modelValue":t[0]||(t[0]=r=>m.value=r),placeholder:"Search Provider..."},null,512),[[U,m.value]])])]),o("div",{class:"arrows-prov"},[o("button",{type:"button",class:"prov-btn bg-theme",onClick:N},"All"),o("button",{type:"button",class:"prov-btn prov-btn--icon",onClick:A,"aria-label":"Scroll left"},[...t[3]||(t[3]=[o("svg",{viewBox:"0 0 24 24","aria-hidden":"true"},[o("path",{d:"M15.5 19.5 8 12l7.5-7.5 1.4 1.4L10.8 12l6.1 6.1-1.4 1.4Z"})],-1)])]),o("button",{type:"button",class:"prov-btn prov-btn--icon",onClick:E,"aria-label":"Scroll right"},[...t[4]||(t[4]=[o("svg",{viewBox:"0 0 24 24","aria-hidden":"true"},[o("path",{d:"M8.5 19.5 7.1 18.1 13.2 12 7.1 5.9 8.5 4.5 16 12l-7.5 7.5Z"})],-1)])])])]),o("div",re,[o("div",ae,[o("div",{class:"prov-scroll",id:"provScroll",ref_key:"provScroll",ref:u},[(i(!0),n(_,null,x(O.value,(r,s)=>S((i(),n("div",{class:"ourgames-box prov-item",key:s},[o("div",le,[d(y(w),{href:f(s)},{default:b(()=>[d(a,{"image-src":P(r.info.imgname),class:"fit-size",alt:s,lazy:"none"},null,8,["image-src","alt"])]),_:2},1032,["href"])])])),[[Z,G(s)]])),128))],512)])])])],2)}}};export{ue as _};

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.