PageSourceSearch

https://legatiq.ai/_next/static/chunks/9536.8d09dc94bd0a08ce.js

js legatiq.ai collected 2026-10-05 01:34:52 UTC 13,432 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9236,9536],{812:(e,a,t)=>{t.d(a,{s:()=>r});function r(e,a){var t,r;null==(t=(r=window).gtag)||t.call(r,"event",e,{...a,page_path:window.location.pathname})}},38129:(e,a,t)=>{t.d(a,{HM:()=>o,Nh:()=>i,Th:()=>n,bO:()=>r,xs:()=>s});let r="mt-1 w-full border border-gray-300 px-3 py-2 text-sm text-gray-900 focus:border-gray-900 focus:outline-none",n="mt-1 w-full border border-gray-300 bg-white px-3 py-2 text-sm text-gray-900 focus:border-gray-900 focus:outline-none";function o(e){return"border px-3 py-2 text-left text-sm transition-colors ".concat(e?"border-gray-900 bg-gray-900 text-white":"border-gray-300 bg-white text-gray-800 hover:border-gray-500")}let i={kit:{label:"block text-sm text-gray-800",input:r,conHtmlFor:!1},primerCiclo:{label:"mb-1.5 block font-mono text-[10px] font-medium uppercase tracking-[0.18em] text-legatiq-black/55",input:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 font-opensans text-sm text-legatiq-black focus:border-legatiq-green focus:outline-none focus:ring-1 focus:ring-legatiq-green",conHtmlFor:!0},kitCompacto:{label:"block text-xs text-gray-700",input:r,conHtmlFor:!1},kitFondoBlanco:{label:"block text-sm text-gray-800",input:n,conHtmlFor:!1},textoGrande:{label:"block text-sm text-gray-700",input:"mt-1 w-full border border-gray-300 px-3 py-2 text-base text-gray-900 outline-none focus:border-gray-900",conHtmlFor:!0},celdaTabla:{label:"sr-only",input:"w-24 border border-gray-300 px-2 py-1 text-sm text-gray-900 outline-none focus:border-gray-900",conHtmlFor:!0},campoEstrecho:{label:"text-sm text-gray-700",input:"mt-1 block w-40 border border-gray-300 px-3 py-2 text-sm text-gray-900 outline-none focus:border-gray-900",conHtmlFor:!0},enTarjeta:{label:"mt-2 block font-opensans text-[13px] text-legatiq-black/80",input:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 font-opensans text-sm text-legatiq-black focus:border-legatiq-green focus:outline-none focus:ring-1 focus:ring-legatiq-green mt-1.5 max-w-[180px]",conHtmlFor:!0}},l={kit:{bloqueSeparado:"mt-5 block border-t border-gray-200 pt-4 text-sm text-gray-800",mt3:"mt-3 block text-sm text-gray-800",mt4:"mt-4 block text-sm text-gray-800",anchoCompleto:"block text-sm text-gray-800 sm:col-span-2"},primerCiclo:{},kitCompacto:{atenuado:"block text-xs text-gray-600"},kitFondoBlanco:{},textoGrande:{mt3:"mt-3 block text-sm text-gray-700",mt3Atenuado:"mt-3 block text-sm text-gray-600"},celdaTabla:{},campoEstrecho:{},enTarjeta:{}};function s(e){var a;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ninguna";return"ninguna"===t?i[e].label:null!=(a=l[e][t])?a:i[e].label}},49446:(e,a,t)=>{t.d(a,{j:()=>l,t:()=>c});var r=t(95155),n=t(52619),o=t.n(n),i=t(812);let l="Esta herramienta es orientativa y gen\xe9rica: usa Legatiq para examinar tu caso m\xe1s a fondo. En cualquier caso, ni Legatiq ni esta herramienta sustituyen el asesoramiento de un profesional.",s={separado:"mt-5 border-t border-gray-200 pt-5 text-sm leading-relaxed text-gray-700",mt6:"mt-6 border-t border-gray-200 pt-5 text-sm leading-relaxed text-gray-700",suelto:"text-sm leading-relaxed text-gray-700"};function c(e){let{slug:a,pregunta:t,enlace:n,alcance:c,variante:d="separado",continuacion:u}=e;return(0,r.jsxs)("p",{className:s[d],children:[c," ",(0,r.jsx)(o(),{href:"/auth?message=".concat(encodeURIComponent(t)),onClick:()=>(0,i.s)("cta_click_to_app",{surface:"artifact",artifact:a,page_path:window.location.pathname}),className:"font-semibold text-legatiq-green underline underline-offset-2",children:n}),u||"."," ",l]})}},79536:(e,a,t)=>{t.r(a),t.d(a,{BuscadorDeduccionesAutonomicas:()=>h,SITUACIONES:()=>d,filtrarCatalogo:()=>g,resumenComunidades:()=>p});var r=t(95155),n=t(12115),o=t(52619),i=t.n(o),l=t(49446),s=t(38129),c=t(93353);let d=[{clave:"hijos",etiqueta:"Hijos, nacimiento o familia numerosa"},{clave:"alquiler",etiqueta:"Vivo de alquiler"},{clave:"compra-vivienda",etiqueta:"Compro o reformo mi vivienda"},{clave:"jovenes",etiqueta:"Soy joven"},{clave:"mayores-cuidados",etiqueta:"Mayores, viudedad o empleada de hogar"},{clave:"discapacidad",etiqueta:"Discapacidad o dependencia"}
1,{clave:"educacion-cultura",etiqueta:"Estudios, colegio o cultura"},{clave:"salud-deporte",etiqueta:"Salud, deporte o mascotas"},{clave:"residencia-rural",etiqueta:"Vivo o me mudo a un pueblo"},{clave:"energia-movilidad",etiqueta:"Energ\xeda, coche el\xe9ctrico o suministros"},{clave:"donativos",etiqueta:"Donativos"},{clave:"trabajo-inversion",etiqueta:"Trabajo, autoempleo o inversi\xf3n"},{clave:"arrendador",etiqueta:"Alquilo una vivienda a otros"}],u={familia:"Por circunstancias personales y familiares",vivienda:"Relativas a la vivienda habitual",donativos:"Por donativos y donaciones",otros:"Otros conceptos deducibles"},m=["familia","vivienda","donativos","otros"],x=e=>e.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase();function g(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.CF,t=x(e.texto).split(/\s+/).filter(e=>e.length>1);return a.filter(a=>(!e.ccaa||a.ccaa===e.ccaa)&&(0===e.situaciones.length||a.situaciones.some(a=>e.situaciones.includes(a)))&&t.every(e=>x("".concat(a.titulo," ").concat(a.cuantia)).includes(e)))}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.CF;return c._l.map(a=>{let t=e.filter(e=>e.ccaa===a.clave);return{clave:a.clave,nombre:a.nombre,total:t.length,alquiler:t.filter(e=>e.situaciones.includes("alquiler")).length,hijos:t.filter(e=>e.situaciones.includes("hijos")).length}})}let b={madrid:"/guias/irpf/deducciones-autonomicas-madrid-renta-2026","comunidad-valenciana":"/guias/irpf/deducciones-autonomicas-comunidad-valenciana-renta-2026",andalucia:"/guias/irpf/deducciones-autonomicas-andalucia-renta-2026",cataluna:"/guias/irpf/deducciones-autonomicas-cataluna-renta-2026",canarias:"/guias/irpf/deducciones-autonomicas-canarias-renta-2026",asturias:"/guias/irpf/deducciones-autonomicas-asturias-renta-2026","castilla-la-mancha":"/guias/irpf/deducciones-autonomicas-castilla-la-mancha-renta-2026","castilla-y-leon":"/guias/irpf/deducciones-autonomicas-castilla-y-leon-renta-2026",galicia:"/guias/irpf/deducciones-autonomicas-galicia-renta-2026"};function h(){let[e,a]=(0,n.useState)(""),[t,o]=(0,n.useState)([]),[x,h]=(0,n.useState)(""),y=(0,n.useMemo)(()=>g({ccaa:e,situaciones:t,texto:x}),[e,t,x]),f=(0,n.useMemo)(()=>p(),[]),v=c._l.find(a=>a.clave===e),j=t.length>0||x.trim().length>1;return(0,r.jsxs)("div",{className:"my-10 border border-gray-200 bg-white",children:[(0,r.jsxs)("div",{className:"border-b border-gray-200 px-6 py-5",children:[(0,r.jsx)("p",{className:"font-mono text-[11px] uppercase tracking-[0.18em] text-gray-500",children:"Herramienta \xb7 sin registro"}),(0,r.jsxs)("h2",{className:"mt-2 font-serif text-2xl tracking-tight text-gray-900",children:["Las ",c.CF.length," deducciones auton\xf3micas de la renta 2025, comunidad por comunidad"]}),(0,r.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-gray-600",children:"Elige tu comunidad y marca lo que te pasa. Cada deducci\xf3n lleva su art\xedculo y la ficha oficial de la Agencia Tributaria, de donde sale este cat\xe1logo entero. Navarra y el Pa\xeds Vasco no est\xe1n: su IRPF es foral."})]}),(0,r.jsxs)("div",{className:"border-b border-gray-200 px-6 py-6",children:[(0,r.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,r.jsxs)("label",{className:"block text-sm text-gray-800",children:["Tu comunidad (donde viviste m\xe1s d\xedas del a\xf1o)",(0,r.jsxs)("select",{className:s.Th,value:e,onChange:e=>a(e.target.value),children:[(0,r.jsx)("option",{value:"",children:"Todas: compararlas"}),c._l.map(e=>(0,r.jsx)("option",{value:e.clave,children:e.nombre},e.clave))]})]}),(0,r.jsxs)("label",{className:"block text-sm text-gray-800",children:["Buscar una palabra",(0,r.jsx)("input",{className:s.bO,type:"search",value:x,onChange:e=>h(e.target.value),placeholder:"Por ejemplo, gafas, guarder\xeda, bicicleta"})]})]}),(0,r.jsxs)("div",{className:"mt-4 text-sm text-gray-800",children:["Lo que te pasa",(0,r.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:d.map(e=>{let a;return(0,r.jsx)("button",{type:"button","aria-pressed":t.includes(e.clave),className:(a=t.includes(e.clave),"border px-2.5 py-1.5 text-left text-xs transition-colors ".concat(a?"border-gray-900 bg-gray-900 text-white":"border-gray-300 bg-white text-gray-800 hover:border-gray-500")),onClick:()=>{let a;return a=e.clave,o(e=>e.includes(a)?e.filter(e=>e!==a):[...e,a])},children:e.etiqueta},e.clave)})})]})]}),e||j?(0,r.jsxs)("div",{className:"border-b border-gray-200 px-6 py-6","aria-live":"polite",children:[(0,r.jsxs)("p",{className:"font-mono text-[10px] uppercase tracking-[0.18em] text-gray-500",children:[y.length," ",1===y.length?"deducci\xf3n":"deducciones",v?" en ".concat(v.nombre):" en las 15 comunidades"]}),v&&b[v.clave]&&(0,r.jsxs)("p",{className:"mt-2 text-sm text-gray-700",children:["Para ",v.nombre," hay calculadora con tu base y el l\xedmite de cada una:"," ",(0,r.jsx)(i(),{href:b[v.clave],className:"font-semibold underline underline-offset-2",children:"calcula cu\xe1nto te deduces"}),"."]}),0===y.length?(0,r.jsx)("p",{className:"mt-3 text-sm text-gray-700",children:"Ninguna deducci\xf3n cumple esos filtros. Quita alguna situaci\xf3n o cambia la palabra."}):m.map(e=>{let a=y.filter(a=>a.categoria===e);return a.length?(0,r.jsxs)("section",{className:"mt-5",children:[(0,r.jsx)("h3",{className:"font-serif text-lg text-gray-900",children:u[e]}),(0,r.jsx)("ul",{className:"mt-2 divide-y divide-gray-200 border-t border-gray-200",children:a.map(e=>{var a;return(0,r.jsxs)("li",{className:"py-3",children:[(0,r.jsxs)("p",{className:"text-sm font-semibold text-gray-900",children:[e.titulo,!v&&(0,r.jsxs)("span",{className:"font-normal text-gray-500",children:[" \xb7 ",null==(a=c._l.find(a=>a.clave===e.ccaa))?void 0:a.nombre]})]}),e.cuantia&&(0,r.jsx)("p",{className:"mt-1 text-sm leading-relaxed text-gray-700",children:e.cuantia}),(0,r.jsx)("p",{className:"mt-1 font-mono text-[10px] uppercase tracking-[0.12em] text-gray-500",children:[e.limiteRenta?"La ficha fija un l\xedmite de renta":"",e.edades.length>0?"Edades citadas: ".concat(e.edades.join(", ")):"",e.normativa.length>90?"".concat(e.normativa.slice(0,88),"…"):e.normativa].filter(
1Boolean).join(" \xb7 ")}),(0,r.jsx)("a",{href:e.url,target:"_blank",rel:"noopener",className:"mt-1 inline-block text-sm text-gray-800 underline decoration-gray-300 underline-offset-2 hover:decoration-gray-900",children:"Ficha oficial en la Agencia Tributaria"})]},e.id)})})]},e):null})]}):(0,r.jsxs)("div",{className:"border-b border-gray-200 px-6 py-6",children:[(0,r.jsx)("p",{className:"font-mono text-[10px] uppercase tracking-[0.18em] text-gray-500",children:"Las 15 comunidades de r\xe9gimen com\xfan \xb7 renta 2025"}),(0,r.jsx)("div",{className:"mt-3 overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full min-w-[520px] text-sm text-gray-700",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"text-left font-mono text-[10px] uppercase tracking-[0.12em] text-gray-500",children:[(0,r.jsx)("th",{className:"py-2 pr-3",children:"Comunidad"}),(0,r.jsx)("th",{className:"py-2 pr-3 text-right",children:"Deducciones"}),(0,r.jsx)("th",{className:"py-2 pr-3 text-right",children:"De alquiler"}),(0,r.jsx)("th",{className:"py-2 text-right",children:"De hijos y familia"})]})}),(0,r.jsx)("tbody",{children:f.map(e=>(0,r.jsxs)("tr",{className:"border-t border-gray-200",children:[(0,r.jsx)("td",{className:"py-2 pr-3",children:(0,r.jsx)("button",{type:"button",className:"text-left underline decoration-gray-300 underline-offset-2 hover:
1decoration-gray-900",onClick:()=>a(e.clave),children:e.nombre})}),(0,r.jsx)("td",{className:"py-2 pr-3 text-right font-mono",children:e.total}),(0,r.jsx)("td",{className:"py-2 pr-3 text-right font-mono",children:e.alquiler}),(0,r.jsx)("td",{className:"py-2 text-right font-mono",children:e.hijos})]},e.clave))})]})}),(0,r.jsx)("p",{className:"mt-3 text-xs leading-relaxed text-gray-500",children:"Las columnas de alquiler y de hijos cuentan las deducciones cuyo t\xedtulo habla de eso. Casi todas tienen un l\xedmite de renta, pero cada comunidad lo mide con una base distinta y algunas lo fijan en un art\xedculo com\xfan: est\xe1 en la ficha."})]}),(0,r.jsxs)("div",{className:"px-6 py-6",children:[(0,r.jsxs)("p",{className:"border-l-2 border-gray-900 pl-4 text-sm leading-relaxed text-gray-900",children:[(0,r.jsx)("strong",{className:"font-semibold",children:"Revisa el anexo B antes de confirmar."})," Renta Web trae tus datos fiscales, pero las deducciones auton\xf3micas que dependen de gastos o de circunstancias que Hacienda no conoce hay que introducirlas con los datos que pide cada ficha. Si se te pas\xf3 una en la renta 2025, la rectificaci\xf3n de la autoliquidaci\xf3n se puede pedir mientras no prescriba el derecho a la devoluci\xf3n: cuatro a\xf1os."]}),(0,r.jsx)(l.t,{slug:"buscador-deducciones-autonomicas",pregunta:"\xbfQu\xe9 deducciones auton\xf3micas del IRPF me corresponden en mi comunidad?",enlace:"reg\xedstrate gratis y Legatiq te lo dice con la norma de tu comunidad",alcance:(0,r.jsxs)(r.Fragment,{children:["Fuente: ",(0,r.jsx)("a",{href:c.Bp.url,target:"_blank",rel:"noopener",className:"underline underline-offset-2",children:c.Bp.titulo}),". Si no sabes cu\xe1l te toca con tu situaci\xf3n,"]})})]})]})}}}]);

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.