PageSourceSearch

https://aapresid.org.ar/revista/_next/static/chunks/7285-19d1d52d83812241.js

js aapresid.org.ar collected 2026-10-02 10:18:51 UTC 26,317 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c04484e9-a16f-46cc-990d-2e1f11c816f9",e._sentryDebugIdIdentifier="sentry-dbid-c04484e9-a16f-46cc-990d-2e1f11c816f9")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7285],{2211:(e,a,l)=>{l.d(a,{x:()=>s});let s=(e,a,l)=>{if(l)return"".concat(l,"/").concat(e,"/").concat(a);let s=window.location.origin;return"".concat(s,"/").concat(e,"/").concat(a)}},13435:(e,a,l)=>{l.d(a,{A:()=>s});let s={src:"/revista/_next/static/media/emptyIcon.2efd0cbc.svg",height:116,width:118,blurWidth:0,blurHeight:0}},22482:(e,a,l)=>{l.d(a,{n:()=>s,z:()=>t});var s=function(e){return e.STANDARD_NOTE="standardNote",e.ADDITIONAL_NOTE="additionalNote",e.FEATURED_NOTE="featuredNote",e.LEADING_NOTE="leadingNote",e.MAIN_NOTE="mainNote",e}({}),t=function(e){return e.INACTIVE="INACTIVE",e.ACTIVE="ACTIVE",e.DELETED="DELETED",e}({})},24827:(e,a,l)=>{l.d(a,{aY:()=>t,if:()=>s});var s=function(e){return e.JANUARY="January",e.FEBRUARY="February",e.MARCH="March",e.APRIL="April",e.MAY="May",e.JUNE="June",e.JULY="July",e.AUGUST="August",e.SEPTEMBER="September",e.OCTOBER="October",e.NOVEMBER="November",e.DECEMBER="December",e}({}),t=function(e){return e.JANUARY="Enero",e.FEBRUARY="Febrero",e.MARCH="Marzo",e.APRIL="Abril",e.MAY="Mayo",e.JUNE="Junio",e.JULY="Julio",e.AUGUST="Agosto",e.SEPTEMBER="Septiembre",e.OCTOBER="Octubre",e.NOVEMBER="Noviembre",e.DECEMBER="Diciembre",e}({})},57804:(e,a,l)=>{l.d(a,{Al:()=>r,K5:()=>t});var s=l(2211);let t=()=>window.location.host.includes("reddeinnovadores"),n={"other-magazines":"other-magazines","magazine-notes":"magazine-notes",publications:"publicaciones",news:"novedades"},r=function(e,a,l){let t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=window.location.host,o=n[e],c=l?"/".concat(l):"",i="magazine-notes"===e||"other-magazines"===e,d="reddeinnovadores.aapresid.org.ar"===r,u="aapresid.org.ar"===r||"www.aapresid.org.ar"===r;return i&&d||!i&&u||!d&&!u?t?(0,s.x)(null!=l?l:"es","".concat(o,"/").concat(a)):"/".concat(o,"/").concat(a):"".concat(i?"https://reddeinnovadores.aapresid.org.ar":"https://aapresid.org.ar").concat(c,"/").concat(o,"/").concat(a)}},62523:(e,a,l)=>{l.d(a,{p:()=>r});var s=l(95155),t=l(12115),n=l(98180);let r=t.forwardRef((e,a)=>{let{className:l,type:t,icon:r,...o}=e;return(0,s.jsxs)("div",{className:"relative",children:[r&&(0,s.jsx)("div",{className:"text-muted-foreground pointer-events-none absolute top-1/2 left-3 -translate-y-1/2",children:r}),(0,s.jsx)("input",{type:t,className:(0,n.cn)("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-[100px] border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r&&"pl-10",l),ref:a,...o})]})});r.displayName="Input"},72352:(e,a,l)=>{l.d(a,{y:()=>n});var s=l(95155),t=l(7050);let n=e=>{let{size:a=24,className:l,...n}=e;return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,...n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,t.cn)("animate-spin",l),children:(0,s.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}},76341:(e,a,l)=>{l.d(a,{A:()=>u});var s=l(95155),t=l(22279),n=l(13435),r=l(66766),o=l(30285),c=l(6874),i=l.n(c),d=l(17652);let u=e=>{let{showButton:a=!0}=e,{isMobile:l}=(0,t.A)(),c=(0,d.c3)();return(0,s.jsx)(s.Fragment,{children:l?(0,s.jsxs)("div",{className:"bg-background mt-5 flex h-[100vh] w-[100vw] flex-1 flex-col items-center justify-center py-30",children:[(0,s.jsx)(r.default,{src:n.A||"",alt:"empty-icon",height:118,width:115}),(0,s.jsx)("span",{className:"mt-6 text-xl font-semibold",children:c("EmptyPage.sin-resultados")}),(0,s.jsx)("span",{className:"mt-2 text-base font-normal",children:c("EmptyPage.otra-busqueda")})]}):(0,s.jsxs)("div",{className:"bg-background mt-5 flex h-[100vh] w-[100vw] flex-1 flex-col items-center justify-center p-10",children:[(0,s.jsx)(r.default,{src:n.A||"",alt:"empty-icon",height:118,width:115}),(0,s.jsx)("span",{className:"mt-6 text-xl font-semibold",children:c("EmptyPage.sin-resultados")}),(0,s.jsx)("span",{className:"mt-2 text-base font-normal",children:c("EmptyPage.otra-busqueda")}),a&&(0,s.jsx)(i(),{href:"https://www.aapresid.org.ar/",children:(0,s.jsx)(o.A,{outline:"outline",colorsClasses:"h-[54px] w-[215px] mt-10 border-2 hover:text-white cursor-pointer",children:c("Buttons.volver-al-inicio")})})]})})}},79916:(e,a,l)=>{l.d(a,{A:()=>x});var s=l(95155),t=l(12115),n=l(35695),r=l(6874),o=l.n(r),c=l(46453),i=l(17652);function d(){return(0,s.jsx)("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1.625 8.75L5.375 5L1.625 1.25",stroke:"#71717A",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})})}var u=l(22482),h=l(57804),m=function(e){return e.REVISTA="magazine-notes",e.PUBLICACIONES="publicaciones",e.NOVEDADES="novedades",e.EDICIONES_ANTERIORES="other-magazines",e.COLUMNAS="columns",e}(m||{});let x=e=>{var a,l,r,m,x,p;let{magazine:v,magazineNote:j,newTitle:f,publicationTitle:g,column:b}=e,N=(0,n.usePathname)(),w=(0,c.Ym)(),y=(0,i.c3)(),E=(0,t.useMemo)(()=>{let e=N.split("/"),a=null,l=null,s=null;switch(e[2]){case"magazine-notes":a={label:y("Routes.magazine-notes"),route:(0,h.K5)()?"/":"https://reddeinnovadores.aapresid.org.ar/".concat(null!=w?w:"")},j&&(j.magazineNoteType===u.n.LEADING_NOTE?(l={label:y("MagazineNotes.leading-note")},s={label:j.title}):j.magazineNoteType===u.n.FEATURED_NOTE?(l={label:y("MagazineNotes.featured-note")},s={label:j.title}):b?(l={label:b.name,route:"columns/".concat(b._id)},s={label:j.title}):l={label:j.title});break;case"publicaciones":a={label:y("Routes.publicaciones"),route:"publicaciones"},g&&(l={label:g});break;case"novedades":a={label:y("Routes.novedades"),route:"novedades"},f&&(l={label:f});break;case"other-magazines":a={label:y("Routes.magazine-notes"),route:"/"},l={label:y("Routes.other-magazines"),route:"other-magazines"},v&&(s={label:"".concat(y("Magazine.Edition")," N\xb0 ").concat(v.edition," - ").concat(y("Magazine.Months.".concat(v.month))," ").concat(v.year)});break;case"columns":a={label:y("Routes.magazine-notes"),route:"/"},l={label:null==b?void 0:b.name,route:"columns"}}return{firstLevel:a,secondLevel:l,thirdLevel:s}},[N,y,w,j,g,f,v,b]);return(0,s.jsxs)("div",{className:"bg-background flex h-[34px] w-full flex-row items-center gap-2.5 px-20",children:[(0,s.jsx)(o(),{href:"https://www.aapresid.org.ar/".concat(w),className:"text-muted-foreground cursor-pointer text-sm",children:"Aapresid"}),(0,s.jsx)(d,{}),(0,s.jsx)(o(),{href:(null==(a=E.firstLevel)?void 0:a.route.includes("http"))?E.firstLevel.route:"/".concat(w,"/").concat(null==(l=E.firstLevel)?void 0:l.route),className:"".concat(E.secondLevel?"text-muted-foreground":"font-bold"," cursor-pointer text-sm"),children:null==(r=E.firstLevel)?void 0:r.label}),E.secondLevel&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d,{}),E.secondLevel.route?(0,s.jsx)(o(),{href:"/".concat(w,"/").concat(E.secondLevel.route),className:"".concat(E.thirdLevel?"text-muted-foreground":"font-bold"," line-clamp-1 max-w-[50%] cursor-pointer text-sm"),children:null==(m=E.secondLevel)?void 0:m.label}):(0,s.jsx)("p",{className:"".concat(E.thirdLevel?"text-muted-foreground":"font-bold"," line-clamp-1 max-w-[50%] cursor-pointer text-sm"),children:null==(x=E.secondLevel)?void 0:x.label})]}),E.thirdLevel&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d,{}),(0,s.jsx)("span",{className:"line-clamp-1 max-w-[50%] cursor-pointer text-sm font-bold",dangerouslySetInnerHTML:{__html:null==(p=E.thirdLevel)?void 0:p.label}})]})]})}},86748:(e,a,l)=>{l.d(a,{F:()=>o});
1class s extends Error{constructor(e,a){super(e),this.name="ServerError",this.status=a}}var t=l(62105);let n=l(49509).env.API_BASE_URL||"https://revista-api.aapresid.org.ar",r=async(e,a,l,r)=>{var o;let c=((e,a)=>{let l=new URL("".concat(n).concat(e));return a&&Object.entries(a).forEach(e=>{let[a,s]=e;return l.searchParams.append(a,String(s))}),l.toString()})(a,null==r?void 0:r.queryParams);t.wd("Debug: url",{level:"info",extra:{url:c}});let i={method:e,headers:{"Content-Type":"application/json",...null!=(o=null==r?void 0:r.headers)?o:{}},...r};l&&(i.body=JSON.stringify(l));let d=await fetch(c,i);if(!d.ok){let e;try{e=await d.json()}catch(a){e={error:!0,message:"Error desconocido",details:a}}throw new s(e.message,d.status)}if("application/pdf"===d.headers.get("Content-Type")){let e=await d.blob(),a=d.headers.get("Content-Disposition"),l=null==a?void 0:a.match(/filename="(.+)"/),s=(null==l?void 0:l[1])||"file.pdf",t=window.URL.createObjectURL(e),n=document.createElement("a");return n.href=t,n.download=s,document.body.appendChild(n),n.click(),n.remove(),e}return d.json()},o={get:(e,a,l)=>r("GET",e,void 0,{...l,queryParams:a}),post:(e,a,l)=>r("POST",e,a,l),put:(e,a,l)=>r("PUT",e,a,l),patch:(e,a,l)=>r("PATCH",e,a,l),delete:(e,a,l)=>r("DELETE",e,a,l)}},94020:(e,a,l)=>{l.d(a,{A:()=>z});var s=l(95155),t=l(12115),n=l(62523),r=l(75074),o=l(35695),c=l(63974),i=l(17652);let d=e=>{let{searchValue:a,setSearchValue:l}=e,t=(0,o.useSearchParams)(),d=(0,o.usePathname)(),u=(0,o.useRouter)(),h=(0,i.c3)(),m=(0,c.YQ)(e=>{let a=new URLSearchParams(t.toString());a.set("page","1"),e?a.set("search",e):a.delete("search"),u.push(d+"?"+a.toString())},500);return(0,s.jsx)("div",{className:"flex h-10 flex-row items-center",children:(0,s.jsx)(n.p,{placeholder:h("News.buscar"),icon:(0,s.jsx)(r.A,{size:16,color:"#00000080"}),className:"w-[70vw] lg:w-[600px]",onChange:e=>(e=>{l(e),m(e)})(e.target.value),value:a,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.blur()}})})};var u=l(44715),h=l(79556),m=l(10518),x=l(77381),p=l(98180);function v(e){let{...a}=e;return(0,s.jsx)(u.bL,{"data-slot":"select",...a})}function j(e){let{...a}=e;return(0,s.jsx)(u.WT,{"data-slot":"select-value",...a})}function f(e){let{className:a,size:l="default",children:t,...n}=e;return(0,s.jsxs)(u.l9,{"data-slot":"select-trigger","data-size":l,className:(0,p.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-[100px] border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...n,children:[t,(0,s.jsx)(u.In,{asChild:!0,children:(0,s.jsx)(h.A,{className:"size-4 opacity-50"})})]})}function g(e){let{className:a,children:l,position:t="popper",...n}=e;return(0,s.jsx)(u.ZL,{children:(0,s.jsxs)(u.UC,{"data-slot":"select-content",className:(0,p.cn)("text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-[10000] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-white shadow-md","popper"===t&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:t,...n,children:[(0,s.jsx)(N,{}
1),(0,s.jsx)(u.LM,{className:(0,p.cn)("p-1","popper"===t&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:l}),(0,s.jsx)(w,{})]})})}function b(e){let{className:a,children:l,...t}=e;return(0,s.jsxs)(u.q7,{"data-slot":"select-item",className:(0,p.cn)("focus:bg-primary-foreground focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",a),...t,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(u.VF,{children:(0,s.jsx)(m.A,{className:"size-4"})})}),(0,s.jsx)(u.p4,{children:l})]})}function N(e){let{className:a,...l}=e;return(0,s.jsx)(u.PP,{"data-slot":"select-scroll-up-button",className:(0,p.cn)("flex cursor-default items-center justify-center py-1",a),...l,children:(0,s.jsx)(x.A,{className:"size-4"})})}function w(e){let{className:a,...l}=e;return(0,s.jsx)(u.wn,{"data-slot":"select-scroll-down-button",className:(0,p.cn)("flex cursor-default items-center justify-center py-1",a),...l,children:(0,s.jsx)(h.A,{className:"size-4"})})}var y=l(49838),E=l(24827);let A=()=>{let e=new Date().getFullYear(),a=[];for(let l=0;l<36;l++)a.push(e-l);return a};var C=l(43159);let k=()=>(0,s.jsx)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M2.5 4H14.5M5.16667 8H11.8333M7.16667 12H9.83333",stroke:"#1C656E",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})});var S=l(46453),L=l(30285);let R=[{value:"1",label:"Enero",labelEnglish:"January"},{value:"2",label:"Febrero",labelEnglish:"February"},{value:"3",label:"Marzo",labelEnglish:"March"},{value:"4",label:"Abril",labelEnglish:"April"},{value:"5",label:"Mayo",labelEnglish:"May"},{value:"6",label:"Junio",labelEnglish:"June"},{value:"7",label:"Julio",labelEnglish:"July"},{value:"8",label:"Agosto",labelEnglish:"August"},{value:"9",label:"Septiembre",labelEnglish:"September"},{value:"10",label:"Octubre",labelEnglish:"October"},{value:"11",label:"Noviembre",labelEnglish:"November"},{value:"12",label:"Diciembre",labelEnglish:"December"}],z=e=>{var a,l,n,r,u,h,m,x;let{wordingEntity:p,legacyEntities:N}=e,w="Magazines"===p,z="ColumnNotes"===p,T=(0,i.c3)(),M=(0,S.Ym)(),_=(0,o.useSearchParams)(),D=(0,o.usePathname)(),I=(0,o.useRouter)(),[O,V]=(0,t.useState)(null!=(n=_.get("program"))?n:""),[P,U]=(0,t.useState)(null!=(r=_.get("project"))?r:""),[B,J]=(0,t.useState)(null!=(u=_.get("ranchSystem "))?u:""),[Y,F]=(0,t.useState)(null!=(h=_.get("month"))?h:""),[H,q]=(0,t.useState)(null!=(m=_.get("year"))?m:""),[G,W]=(0,t.useState)(null!=(x=_.get("search"))?x:""),[K,Q]=(0,t.useState)(!1),Z=null==N?void 0:N.programs,X=null==N?void 0:N.regionals,$=null==N?void 0:N.certifications,ee=null==N?void 0:N.rem,ea=null==N?void 0:N.ranch,el=null==N?void 0:N.thematicNetworks,es=O===y.k9.Certificaciones,et=O===y.k9.REM,en=O===y.k9.Sistema_Chacras,er=O===y.k9.Regionales,eo=B===(null==(a=y.og[0])?void 0:a.value),ec=B===(null==(l=y.og[1])?void 0:l.value),ei=(0,c.YQ)((e,a)=>{let l=new URLSearchParams(_.toString());l.set("page","1"),a?("program"===e&&(l.delete("project"),l.delete("ranchSystem")),l.set(e,a)):l.delete(e),I.push(D+"?"+l.toString())},500),ed=(e,a)=>{switch(e){case"month":F(a);break;case"year":q(a);break;case"program":if(!N)return;V(a),J(""),U("");break;case"ranchSystem":J(a),U("");case"project":if(!N)return;U(a);break;default:return}ei(e,a)},eu=()=>{new URLSearchParams(_.toString()).set("page","1"),F(""),q(""),U(""),V(""),J(""),W(""),I.push(D)};return(0,s.jsxs)("div",{className:"flex items-end lg:flex-col lg:items-start",children:[(0,s.jsx)("div",{className:"mt-5 mr-5 lg:mr-0",children:(0,s.jsx)(d,{searchValue:G,setSearchValue:W})}),(0,s.jsxs)("div",{className:"mb-1",children:[!z&&(0,s.jsxs)("div",{className:"mt-4 hidden flex-col gap-3 lg:visible lg:flex",children:[(0,s.jsxs)("div",{className:"flex flex-row gap-5",children:[!w&&!z&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".programas"))}),(0,s.jsxs)(v,{value:O,onValueChange:e=>ed("program",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".programas"))})}),(0,s.jsx)(g,{children:null==Z?void 0:Z.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:T("".concat(p,".").concat(e.nombre))},e.id))})]})]}),er&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==X?void 0:X.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:e.titulo},e.titulo))})]})]}),es&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==$?void 0:$.map(e=>(0,s.jsx)(b,{value:e.value,children:T("".concat(p,".").concat(e.label))},e.value))})]})]}),et&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==ee?void 0:ee.map(e=>(0,s.jsx)(b,{value:e.value,children:T("".concat(p,".").concat(e.label))},e.value))})]})]}),en&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".tipo-de-sistemas"))}),(0,s.jsxs)(v,{value:B,onValueChange:e=>ed("ranchSystem",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".tipo-de-sistemas"))})}),(0,s.jsx)(g,{children:y.og.map(e=>(0,s.jsx)(b,{value:e.value,children:T("".concat(p,".").concat(e.label))},e.value))})]})]}),eo&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".sistema-chacras"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".sistema-chacras"))})}),(0,s.jsx)(g,{children:null==ea?void 0:ea.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:e.titulo},e.id))})]})]}),ec&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".redes-tematicas"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".redes-tematicas"))})}),(0,s.jsx)(g,{children:null==el?void 0:el.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:T("".concat(p,".").concat(e.titulo))},e.id))})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-row gap-5",children:[!z&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".meses"))}),(0,s.jsxs)(v,{value:Y,onValueChange:e=>ed("month",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".meses"))})}),(0,s.jsx)(g,{children:R.map(e=>(0,s.jsx)(b,{value:e.value,children:"es"===M?e.label:e.labelEnglish},e.value))})]})]}),!z&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".a\xf1o"))}),(0,s.jsxs)(v,{value:H,onValueChange:e=>ed("year",e),children:[(0,s.jsx)(f,{className:"w-[180px]",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".a\xf1o"))})}),(0,s.jsx)(g,{children:A().map(e=>(0,s.jsx)(b,{value:e.toString(),children:e},e))})]})]}),(G||Y||H||O||B||P)&&!z&&(0,s.jsx)("div",{onClick:eu,children:(0,s.jsx)("p",{className:"text-secondary mt-9 cursor-pointer text-sm font-bold",children:T("".concat(p,".limpiar-filtros"))})})]})]}),!z&&(0,s.jsxs)("div",{className:"flex items-center justify-center rounded-[100%] border-1 lg:hidden",children:[(0,s.jsx)("button",{onClick:()=>Q(!K),className:"flex h-8 w-8 cursor-pointer items-center justify-center text-xl transition",children:(0,s.jsx)(k,{})}),(0,s.jsxs)(C.c,{isOpen:K,onClose:()=>Q(!1),snapPoints:[600],initialSnap:0,tweenConfig:{ease:"easeInOut",duration:.2},children:[(0,s.jsxs)(C.c.Container,{className:"bg-background flex w-full flex-col gap-1",children:[(0,s.jsxs)(C.c.Header,{className:"flex flex-col gap-1 border-b-1 p-4",children:[(0,s.jsx)("div",{className:"bg-muted h-1 w-[20%] self-center rounded-full"}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("p",{className:"text-foreground font text-lg font-semibold",children:T("".concat(p,".filtrar-por"))}),(0,s.jsx)("p",{className:"text-muted-foreground text-sm font-light",children:T("".concat(p,".encontra-lo-que-buscas"))})]}),(0,s.jsx)("span",{className:"text-secondary self-center text-sm font-bold",onClick:()=>{(()=>{let e=[{key:"month",value:Y},{key:"year",value:H},{key:"program",value:O},{key:"project",value:P}].find(e=>""!==e.value);e&&(ei(e.key,e.value),F(Y),q(H),V(O),U(P),J(B))})(),Q(!1)},children:"Listo"})]})]}),(0,s.jsxs)(C.c.Content,{className:"flex w-full !flex-col items-start gap-5 px-5 pt-5",children:[!w&&!z&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".programas"))}),(0,s.jsxs)(v,{value:O,onValueChange:e=>ed("program",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".programas"))})}),(0,s.jsx)(g,{children:null==Z?void 0:Z.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:e.nombre},e.id))})]})]}),er&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==X?void 0:X.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:e.titulo},e.titulo))})]})]}),es&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==$?void 0:$.map(e=>(0,s.jsx)(b,{value:e.value,children:e.label},e.value))})]})]}),et&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==ee?void 0:ee.map(e=>(0,s.jsx)(b,{value:e.value,children:e.label},e.value))})]})]}),en&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:B,onValueChange:e=>ed("ranchSystem",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:y.og.map(e=>(0,s.jsx)(b,{value:e.value,children:e.label},e.value))})]})]}),eo&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==ea?void 0:ea.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:e.titulo},e.id))})]})]}),ec&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".proyectos"))}),(0,s.jsxs)(v,{value:P,onValueChange:e=>ed("project",e),children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".proyectos"))})}),(0,s.jsx)(g,{children:null==el?void 0:el.map(e=>(0,s.jsx)(b,{value:"".concat(e.id),children:e.titulo},e.id))})]})]}),!z&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".meses"))}),(0,s.jsxs)(v,{value:Y,onValueChange:F,children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".meses"))})}),(0,s.jsx)(g,{children:Object.entries("es"===M?E.aY:E.if).map(e=>{let[a,l]=e;return(0,s.jsx)(b,{value:a,children:l},a)})})]})]}),!z&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"text-secondary mb-2 text-sm font-semibold",children:T("".concat(p,".a\xf1o"))}),(0,s.jsxs)(v,{value:H,onValueChange:q,children:[(0,s.jsx)(f,{className:"w-full",children:(0,s.jsx)(j,{placeholder:T("".concat(p,".a\xf1o"))})}),(0,s.jsx)(g,{children:A().map(e=>(0,s.jsx)(b,{value:e.toString(),children:e},e))})]})]}),(G||Y||H||O||B||P)&&(0,s.jsx)("div",{className:"flex grow-1 flex-col justify-end self-center pb-5",children:(0,s.jsx)(L.A,{outline:"outline",colorsClasses:"h-[48px] w-[180px] border-2 hover:text-white cursor-pointer",onClick:()=>{eu(),Q(!1)},children:T("Buttons.limpiar-filtros")})})]})]}),(0,s.jsx)(C.c.Backdrop,{onTap:()=>Q(!1)})]})]})]})]})}}}]);
2//# sourceMappingURL=7285-19d1d52d83812241.js.map

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.