import{p as a,r as s,R as e,a4 as t,G as i,j as n,a3 as o,u as A,o as l,b as r,q as d,I as c,F as m,n as u,i as h,e as g,f as v,h as p,y,al as Q,am as f}from"./vendor-jA_NIjzi.js";import{_ as j,q}from"./common-store-kFD1YPwN.js";import{i as w,q as B,F}from"./common-utils-RDWuRZ1M.js";import"./vendor-mqtt-lYGapirz.js";import"./vendor-crypto-Vtl7-GZS.js";const I={key:0,class:"anyDoor",style:{width:"80px"}},k=["src","onClick"],G={key:0,class:"line"},R={class:"close-wrap"},U=j({__name:"index",setup(j){const U=["/home","/uhome","/wghome","/entertainment","/recharge","/activity","/mine","/bettingRecords"],S=a({}),N=s([]),b=e(),J=t(),C=async a=>{let s=await q({showLocation:a});N.value=s.data},M=i((()=>{var a;return(null==(a=N.value)?void 0:a.length)>0&&U.includes(b.path)}));n((()=>{for(let a of U)S[a]=!0}));return o((()=>b.path),(a=>{["/home","/uhome","wghome"].includes(a)?C(1):"/bettingRecords"==a?C(4):"/recharge"==a?C(3):"/activity"==a?C(2):"/mine"==a&&C(5)}),{immediate:!0}),(a,s)=>{const e=Q,t=f;return S[A(b).path]&&M.value?(l(),r("div",I,[d(t,{width:80,autoplay:3e3},{indicator:c((({active:a})=>{var s;return[M.value&&(null==(s=N.value)?void 0:s.length)>1?(l(),r("div",G,[(l(!0),r(m,null,g(N.value,((s,e)=>(l(),r("div",{class:u([e==a?"active":"noactive"]),key:e,style:h({width:"calc(100% / ".concat(N.value.length,")")})},null,6)))),128))])):v("",!0)]})),default:c((()=>[(l(!0),r(m,null,g(N.value,((a,s)=>(l(),y(e,{key:s},{default:c((()=>[p("img",{class:"slide-img",src:a.windowH5ImgUrl,onClick:s=>(a=>{w()?B()?F("anyDoorActivity",{id:a.id}):J.push({path:"/anyDoorActivity",query:{id:a.id,r:b.path}}):B()?F("login"):J.push({path:"/login",query:{r:b.path}})})(a),alt:""},null,8,k)])),_:2},1024)))),128))])),_:1}),p("div",R,[p("img",{class:"delany",onClick:s[0]||(s[0]=a=>S[A(b).path]=!1),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJXSURBVHgBtZYhk9pAFMdfNhUIRCSSOgQzpQ7DNLhKKqsaSV1dDQxk4EPgmrq6uw/ATHOu7nIekTqqGoFAwf3f3uYmF5JNFrj/TNglednfvpe3u8+iGppMJq4QYmRZ1gf8beNy1KMEV3Q8Hh8Oh8PtcrkMq8aydA+n06kH0ExB6igG2F8sFgGZAOfzeRuzvkG3R+cpRjSGGCfOPxD5G77vfwHs/gIYiyd8j08xyj944SEb2LZ9Q1cUPok3m81+ngBVGNkzh66rBOF9n4b3OaSA/X4FGMtR+UDPQM5GKsjERqNBruuS41TPo9VqSdsS9RTjCahS/0Q8AF/j8VgOqIN5nidt+/1+oU3KsBFbF+23IqPdbkfdbld6yu1ms5H3imBskyQJrddr2u/3RcM5g8HgTmChjspmvt1uKQgCOQAPyANnPc3D2JbbMvFuZSMM30mzk7BH7Fne02azaQRjIVsbFtbIf6qRnVlv0pCZwJQSQTWXQj68Z8BYjqALlIJNxMBa08snSFkiVUiGNK6yKspGXfaWic9NgZ87Uxi3VUumRBGWhrg1haUyhXJVILDThFQS1k6nU5mNeagGGHMJ8oZ7WJA+QvsjbxGGoYTEcaxNfYauVis5wSiKCm2YIdv0BjaAS095nWJUEm+5IzIz+EQ1l4ih+AAepn/stIPwJcPh8B+6I7qiAPuMPPlzAlTQCNAHdD/iMttCTsWefQXs14sJFFmq+oZLjjadp4g/UVGZqC2E8YIHsFEhzNmI94IyAy0wA3bVQd3DgO8oU+pjQn/RhryBqDWt1SP17Vn09mTMmwAAAABJRU5ErkJggg=="})])])):v("",!0)}}},[["__scopeId","data-v-32971b72"],["__file","index.vue"]]);export{U as default};
