1import{a as T}from"./chunk-X7WTUNHP.js";import{i as I}from"./chunk-UYODVI7O.js";import"./chunk-MOXDLQT4.js";import"./chunk-VLJ55T5Q.js";import"./chunk-ZACTTJ4S.js";import{j as S,k}from"./chunk-V2PPMFND.js";import{Da as x,Db as h,Ib as p,Lb as f,Mb as g,Nb as i,Ob as n,Wb as d,ba as s,db as o,fc as a,gc as m,hc as y,kd as v,oc as E,pb as b,pc as _,vb as c}from"./chunk-5SAOKRHL.js";import{g as C}from"./chunk-NZN5XTIE.js";var H=()=>["/ayuda"],D=e=>({categoria:e}),w=e=>["/ayuda",e],F=(e,r)=>r.slug;function P(e,r){if(e&1&&(i(0,"a",11)(1,"p",12),a(2),n(),i(3,"p",8),a(4),n()()),e&2){let t=d().$implicit;h("routerLink",E(4,H))("queryParams",_(5,D,t.slug)),o(2),m(t.name),o(2),y("",t.articleCount," gu\xEDas")}}function L(e,r){if(e&1&&c(0,P,5,7,"a",11),e&2){let t=r.$implicit;p(t.articleCount?0:-1)}}function $(e,r){if(e&1&&(i(0,"div",4),f(1,L,1,1,null,null,F),n()),e&2){let t=d();o(),g(t.categories())}}function A(e,r){if(e&1&&(i(0,"p",13),a(1),n()),e&2){let t=d().$implicit;o(),m(t.excerpt)}}function M(e,r){if(e&1&&(i(0,"a",7)(1,"p",12),a(2),n(),c(3,A,2,1,"p",13),n()),e&2){let t=r.$implicit;h("routerLink",_(3,w,t.slug)),o(2),m(t.title),o(),p(t.excerpt?3:-1)}}function R(e,r){e&1&&(i(0,"p",8),a(1,"A\xFAn no hay gu\xEDas publicadas."),n())}var N=(()=>{class e{constructor(){this.categories=x([]),this.articles=x([]),this.api=s(T),this.title=s(k),this.meta=s(S)}ngOnInit(){return C(this,null,function*(){this.title.setTitle("Centro de ayuda \u2014 ShephERP"),this.meta.updateTag({name:"description",content:"Gu\xEDas oficiales de ShephERP: primeros pasos, cat\xE1logo, facturaci\xF3n, inteligencia artificial y m\xE1s."}),this.meta.updateTag({name:"robots",content:"index, follow"});let[t,l]=yield Promise.all([this.api.categories(),this.api.articles()]);this.categories.set(t),this.articles.set(l)})}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275cmp=b({type:e,selectors:[["sh-help-index"]],decls:17,vars:2,consts:[[1,"mx-auto","max-w-4xl","px-4","py-16"],[1,"mb-10","text-center"],[1,"text-3xl","sm:text-4xl","font-bold","tracking-tight"],[1,"mt-3","text-base","opacity-70"],[1,"grid","sm:grid-cols-2","lg:grid-cols-3","gap-3","mb-10"],[1,"text-sm","font-semibold","uppercase","tracking-wide","opacity-60","mb-3"],[1,"flex","flex-col","gap-2"],[1,"block","rounded-xl","border","border-black/10","dark:border-white/10","p-4","hover:border-blue-400","transition-colors",3,"routerLink"],[1,"text-sm","opacity-60"],[1,"mt-10","text-center","text-sm","opacity-70"],["href","https://shepherp.app/app/help/support",1,"underline"],[1,"block","rounded-2xl","border","border-black/10","dark:border-white/10","p-4","hover:border-blue-400","transition-colors",3,"routerLink","queryParams"],[1,"font-medium"],[1,"text-sm","opacity-70","mt-1"]],template:function(l,u){l&1&&(i(0,"section",0)(1,"header",1)(2,"h1",2),a(3,"Centro de ayuda"),n(),i(4,"p",3),a(5," Gu\xEDas para sacarle partido a ShephERP "),n()(),c(6,$,3,0,"div",4),i(7,"h2",5),a(8," Todas las gu\xEDas "),n(),i(9,"div",6),f(10,M,4,5,"a",7,F),c(12,R,2,0,"p",8),n(),i(13,"p",9),a(14," \xBFEres cliente y necesitas ayuda personalizada? "),i(15,"a",10),a(16," Abre una petici\xF3n de soporte "),n()()()),l&2&&(o(6),p(u.categories().length?6:-1),o(4),g(u.articles()),o(2),p(u.articles().length?-1:12))},dependencies:[v,I],encapsulation:2,changeDetection:0})}}return e})();export{N as HelpIndexComponent};
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.