import{_ as x}from"./nuxt-link.b2da41b9.js";import{a as y,e as v,f as S}from"./states.cfb7ba36.js";import{x as P}from"./xiao.e564bded.js";import{_ as m,o as t,c as n,a as e,b as c,w as p,j as L,v as A,d as a,f as d,n as k,F as f,r as C,t as g,E as $}from"./entry.ce3f3eb9.js";import"./lottery.4d08e246.js";const b=""+globalThis.__publicAssetsURL("logo.png"),D={data(){return{menuShow:!1,menu:[],showSearch:y(),keywork:v(),refreshSearch:S()}},created(){this.menu=P.menu.map(i=>(i.title=i.title.replace("香港",config.hkname),i));const r=window.location.search,o=new URLSearchParams(r);this.keywork=o.get("key")?o.get("key"):""},methods:{handelClickMenu(){this.menuShow=!this.menuShow}}},M=e("div",null,[e("img",{src:b})],-1),T=e("div",null,[e("div",null,"49六合网"),e("div",null,"49LHW.COM")],-1),N={key:0,class:"search"},V=e("span",{class:"icon-search"},null,-1),F={class:"menu"},H=e("span",null,null,-1),R=[H],U={class:""};function W(r,o,i,_,s,u){const h=x;return t(),n("div",null,[e("header",null,[c(h,{class:"logo",to:"/"},{default:p(()=>[M,T]),_:1}),s.showSearch?(t(),n("div",N,[V,L(e("input",{"onUpdate:modelValue":o[0]||(o[0]=l=>s.keywork=l),type:"search",placeholder:"站内搜索"},null,512),[[A,s.keywork]]),c(h,{class:"btn-search",to:`/search?key=${s.keywork}`,onClick:o[1]||(o[1]=l=>s.refreshSearch++)},{default:p(()=>[a("搜索")]),_:1},8,["to"])])):d("",!0)]),e("div",F,[e("div",{class:k(["spacer-line nav-icon",{click:s.menuShow}]),id:"click-run-menu",onClick:o[2]||(o[2]=(...l)=>u.handelClickMenu&&u.handelClickMenu(...l))},R,2),e("ul",{class:k(["link",{show:s.menuShow}])},[(t(!0),n(f,null,C(s.menu,l=>(t(),n("li",U,[c(h,{to:l.to,onClick:o[3]||(o[3]=he=>this.menuShow=!1)},{default:p(()=>[a(g(l.title),1)]),_:2},1032,["to"])]))),256))],2)])])}const B=m(D,[["render",W]]),w=""+globalThis.__publicAssetsURL("app.png"),O={data(){return{appLink:null,showDownApp:!0}},mounted(){this.appLink=this.iOS()?"https://app.tpxiaoshimei.com/ios/49lhw.mobileconfig":"https://app.tpxiaoshimei.com/apk/49lhw.apk"},methods:{iOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}}},z={key:0,class:"app-download"},E=["href"],j=e("img",{src:w},null,-1),q=["href"],K=e("img",{src:w},null,-1),Y=["href"],G=e("img",{src:w},null,-1),I={class:"copy-right"},J=["href"],Q=e("span",{style:{"font-size":"16px"}},"49LHW导航APP上线了",-1),X=e("span",{class:"btn"},"点击下载",-1),Z=[Q,X],ee={viewport:"0 0 30 30",version:"1.1",xmlns:"http://www.w3.org/2000/svg",style:{width:"28px",height:"28px",margin:"6px"}},se=e("line",{x1:"1",y1:"26",x2:"26",y2:"1",stroke:"white","stroke-width":"3"},null,-1),oe=e("line",{x1:"1",y1:"1",x2:"27",y2:"26",stroke:"white","stroke-width":"3"},null,-1),te=[se,oe];function ne(r,o,i,_,s,u){return t(),n("footer",null,[s.appLink?(t(),n("ul",z,[e("li",null,[e("a",{href:s.appLink},[j,a("下载APP 1")],8,E)]),e("li",null,[e("a",{href:s.appLink},[K,a("下载APP 2")],8,q)]),e("li",null,[e("a",{href:s.appLink},[G,a("下载APP 3")],8,Y)])])):d("",!0),e("div",I," ©2023-"+g(new Date().getFullYear())+" 49LHW网址大全 版权所有 ",1),s.showDownApp?(t(),n(f,{key:1},[e("a",{id:"downloadApp",href:s.appLink,class:"dnw-bar"},Z,8,J),e("a",{id:"downloadAppClose",class:"dnw-close",onClick:o[0]||(o[0]=h=>{s.showDownApp=!1})},[(t(),n("svg",ee,te))])],64)):d("",!0)])}const ie=m(O,[["render",ne]]),le={},re={class:"body-app"},ce={class:"default"};function ae(r,o){const i=B,_=ie;return t(),n("main",re,[e("section",ce,[c(i),$(r.$slots,"default"),c(_)])])}const we=m(le,[["render",ae]]);export{we as default};
