1import{_ as v}from"./_HvQFxYU.js";import{l as B,b as C,w as N,c as s,k as a,F as D,f as i,t as P,h as _,v as V,u as A,q as F,d as r,i as L}from"./BENF4lR-.js";import"./DxYySpaB.js";import"./CogQdSpL.js";const S={class:"support"},$={class:"support__header"},q={class:"support-header__wrapper"},E={key:0,class:"support-header__title"},H={key:1,class:"support-header__subtitle"},I={class:"support__personas"},z={__name:"index",async setup(K){let o,p;const{client:w}=A(),{locale:x,t:u}=B();C({title:u("support.meta.title"),meta:[{name:"description",content:u("support.meta.description")}]});const{data:e}=([o,p]=N(async()=>F(async()=>{try{const t=await w.getSingle("personas_list",{lang:x.value}),l=t==null?void 0:t.data.body.map(n=>({...n.primary,subPersonas:n.items.map(c=>c.sub_persona.uid)}));return{supportPageData:t==null?void 0:t.data,mainPersonas:l}}catch(t){console.warn(t),error({statusCode:404,message:"Page not found"})}},"$8OBXfs3KU6")),o=await o,p(),o);return(t,l)=>{var c,d,m,h,y,g,f,b;const n=v;return r(),s("div",S,[a(e)?(r(),s(D,{key:0},[i("section",$,[i("div",q,[(d=(c=a(e).supportPageData)==null?void 0:c.header_title)!=null&&d.length?(r(),s("h1",E,P((h=(m=a(e).supportPageData)==null?void 0:m.header_title)==null?void 0:h[0].text),1)):_("",!0),(g=(y=a(e).supportPageData)==null?void 0:y["header_sub-title"])!=null&&g.length?(r(),s("p",H,P((b=(f=a(e).supportPageData)==null?void 0:f["header_sub-title"])==null?void 0:b[0].text),1)):_("",!0)])]),i("ul",I,[(r(!0),s(D,null,V(a(e).mainPersonas,k=>(r(),s("li",{key:k.uri},[L(n,{content:k},null,8,["content"])]))),128))])],64)):_("",!0)])}}};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.