1import{e as R,v as S,g as q,f as w,x as l,H as N,k as s,o,z as y,j as u,l as g,F as c,n as h,q as p,m,t as k,w as j,_ as D}from"./vendor-Dwc1bMxH.js";import{N as P}from"./NtbHeader-DYWcKRG0.js";import{u as U,a5 as $,I as L}from"./index-BH8HRDDl.js";import{_ as T}from"./COBModal.vue_vue_type_style_index_0_lang-BrOLLLq0.js";import"./Logo-D2kw8B6v.js";import"./BackIcon-Dfg56pLW.js";import"./HomeIcon-2z5xACO2.js";import"./DownArrow-BHiEJ0GJ.js";const V={class:"act_wrap"},A=["src","onClick"],E={key:0,class:"act_btns"},F=["src","onClick"],H={class:"ivc_rules"},M=R({__name:"Activity",setup(W){const C=S(),{t:I}=q(),f=U(),_=w(),i=l(!1);l(f.imgPrefix+"images/activity/");const a=l({});N(()=>{B()});const B=async()=>{const t=await $({tlcUkey:String(C.params.type).toLowerCase()});t.errCode===0&&t.obj&&t.obj.configBean&&(a.value=t.obj.configBean)},d=t=>{if(typeof t=="string"&&(t.startsWith("http://")||t.startsWith("https://")))location.href=t;else if(typeof t=="string"&&t.includes("?")){const[n,e]=t.split("?"),r={};new URLSearchParams(e).forEach((b,x)=>{r[x]=b}),_.push({path:n,query:{...r}})}else typeof t=="string"&&_.push(t)};return(t,n)=>(o(),s(c,null,[y(P),u("div",V,[(o(!0),s(c,null,h(a.value.tlcContent,(e,r)=>(o(),s("img",{key:r,src:m(f).devType===m(L).mob?e.wapImg:e.pcImg,alt:"img",width:"100%",style:{"margin-top":"-2rem"},onClick:p(v=>d(e.url),["stop"])},null,8,A))),128))]),a.value.tlcButtonContent?(o(),s("div",E,[(o(!0),s(c,null,h(a.value.tlcButtonContent,(e,r)=>(o(),s("img",{key:r,class:"btn",src:e.img,onClick:p(v=>d(e.url),["stop"])},null,8,F))),128))])):g("",!0),a.value.tlcRuleDesc?(o(),s(c,{key:1},[u("div",{class:"act_rules",onClick:n[0]||(n[0]=p(e=>i.value=!0,["stop"]))},k(m(I)("msp.rules_entry")),1),y(T,{show:i.value,"onUpdate:show":n[1]||(n[1]=e=>i.value=e)},{default:j(()=>[u("div",H,k(a.value.tlcRuleDesc),1)]),_:1},8,["show"])],64)):g("",!0)],64))}}),Z=D(M,[["__scopeId","data-v-2912bc54"]]);export{Z 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.