1import{_ as N}from"./Dl9XEbwO.js";import B from"./9pjYCGkJ.js";import{_ as D}from"./V1CGmUic.js";import{_ as H}from"./0TAyzOoh.js";import{d as $,Z as I,W as A,Q as P,R as V,b as m,o as a,e as t,c as v,f as z,z as s,X as F,A as r,t as _,F as L,h as R,B as b,a as U}from"./Bcc8-a-q.js";import{u as j}from"./_bZiThFm.js";const q={class:"max-w-full mt-8"},E={class:"flex flex-col gap-10 pt-4 max-sm:gap-8 max-sm:pt-2"},Q={class:"mb-5"},S={class:"flex flex-col"},T={class:"text-gray-500 text-md"},W={class:"mt-5 text-gray-500"},X={class:"flex flex-col gap-5 p-2 border-2 dark:border-gray-600 rounded-card"},Z={class:"flex items-center justify-between"},G={class:"mt-2 text-sm text-gray-500"},J=$({__name:"CollectionsDetail",props:{baseUrl:{}},async setup(k){let e,c;const{params:i,path:w}=I(),{data:o,pending:O,error:Y}=([e,c]=A(()=>P(w,()=>j(V("help_collections",{filter:{slug:{_eq:i.slug}},fields:["*","articles.slug","articles.title","articles.id","articles.summary"]})),{transform:n=>n[0]})),e=await e,c(),e);return(n,tt)=>{var u,f,h,x,g,y;const d=B,p=D,C=H;return a(),m("section",q,[t("div",E,[t("div",null,[t("div",Q,[(u=s(o))!=null&&u.icon?(a(),v(d,{key:0,name:("convertIconName"in n?n.convertIconName:s(F))((f=s(o))==null?void 0:f.icon),class:"h-9 w-9 sm:h-10 sm:w-10 text-primary"},null,8,["name"])):z("",!0)]),t("div",S,[r(p,{content:(h=s(o))==null?void 0:h.title},null,8,["content"]),t("div",T,[t("p",null,_((x=s(o))==null?void 0:x.description),1)])]),t("div",W,_((g=s(o))==null?void 0:g.articles.length)+" artigos",1)]),t("div",X,[(a(!0),m(L,null,R((y=s(o))==null?void 0:y.articles,l=>(a(),v(C,{key:l.id,to:`${n.baseUrl}/help/articles/${l.slug}`,class:"flex flex-col p-3 transition duration-150 rounded-card hover:bg-primary/10 dark:hover:bg-gray-900"},{default:b(()=>[t("div",Z,[t("div",null,[r(p,{content:l.title,size:"sm"},null,8,["content"]),t("p",G,_(l.summary),1)]),r(d,{name:"heroicons:arrow-right",class:"w-6 h-6 dark:text-gray-300"})])]),_:2},1032,["to"]))),128))])])])}}}),K={};function M(k,e){const c=N,i=J;return a(),m("div",null,[r(c,{title:"Help Center",breadcrumbs:[{title:"Portal",href:"/portal"},{title:"Help Center"}]},{actions:b(()=>e[0]||(e[0]=[])),_:1}),r(i,{"base-url":"/portal"})])}const ct=U(K,[["render",M]]);export{ct 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.