1import{n as a,u as e,p as s,b as l,q as t,v as u,o as r,e as i,f as n,c,E as d,h as o,U as v,P as m,a as y,g,i as p,l as h,k as f,Z as b}from"./index.r80arqge.js";import{s as I}from"./subNav.BeR47RcV.js";const U=["innerHTML"],V="cms.webSite.cardIntroduced",q={__name:"index",setup(q){const w=a(),x=e(),A=f(0),M=f(!1),S=f(!1),_=f([]),j=f({}),k=async a=>{a&&(A.value=a.dictValue,x.push({path:"/member/cms/gold-card",query:{activeId:a.dictValue}}))},C=()=>{const a=w.query.activeId;(a||0==a)&&(A.value=a,(async a=>{try{S.value=!0;const e=await b({code:a,id:V});Array.isArray(e)&&e.length>0?j.value=e[0]:j.value={}}finally{S.value=!1}})(a))};s(()=>w.query.activeId,(a,e)=>{a!=e&&C()},{immediate:!0});return l(()=>{(async()=>{const a=sessionStorage.getItem("MemberGoldCard");if(a){const e=JSON.parse(a);_.value=e}else try{M.value=!0;const a=await h(V);Array.isArray(a.items)&&a.items.length>0?_.value=a.items:_.value=[]}finally{M.value=!1}})()}),(a,e)=>{const s=d,l=p,h=u;return t((r(),i(l,null,{sidebar:n(()=>[g(I,{modelValue:A.value,"onUpdate:modelValue":e[0]||(e[0]=a=>A.value=a),list:_.value,onChange:k},null,8,["modelValue","list"])]),main:n(()=>[t((r(),c("div",null,[j.value.imageUrl?(r(),i(s,{key:0,src:o(v).imgUrl(j.value.imageUrl),style:{width:"100%"}},null,8,["src"])):m("",!0),y("div",{innerHTML:j.value.content,class:"rich-text"},null,8,U)])),[[h,S.value]])]),_:1})),[[h,M.value]])}}};export{q 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.