PageSourceSearch

https://grupo-your.lovable.app/assets/SimuladorDesemprego-D7snFfew.js

js grupo-your.lovable.app collected 2026-10-03 03:29:27 UTC 16,123 bytes, 1 lines download raw bytes

1import{r as j,j as e,I as $,u as q,f as V,g as H,m as z,k as Y}from"./index-d4qdpMx4.js";import W from"./Footer-BTUKux87.js";import B from"./AnimatedSection-DOx5usY9.js";import{C as c,b as x,c as p,a as u}from"./card-Z9cyJXgn.js";import{S as E}from"./slider-ClIORchi.js";import{S as O}from"./switch-CX-Is6QM.js";import{I as P}from"./info-6IL8O6Is.js";import{T as F}from"./triangle-alert-XjQpEpkN.js";import{C as _}from"./circle-check-big-yUHQoyhh.js";import{b as J}from"./user-minus-5bztI8Dv.js";import{O as Q}from"./OtherSimulatorsSection-nQlbR-nQ.js";import K from"./ServicesNavSection-BUCsEOQD.js";import{S as X}from"./SimulatorShareCTA-BUMdx-xQ.js";import"./index-BdQq_4o_.js";import"./index-BaAf_mWC.js";import"./badge-CNHhfB3n.js";import"./trending-up-D9OwXLlm.js";import"./car-BvLRpb6b.js";import"./zap-DyjL2WZZ.js";import"./shield-alert-Db9wV9Rq.js";import"./receipt-CoFQHFrM.js";import"./utensils-crossed-Dd63uvBR.js";import"./copy-9KQW_HMe.js";const v=537.13,U=[[150,180,180,180,180,180],[150,240,300,300,300,300],[180,360,390,420,450,540],[180,360,420,480,540,720]],Z=["< 30 anos","30–39 anos","40–49 anos","≥ 50 anos"],ee=["12–23m","24–35m","36–47m","48–59m","60–71m","≥ 72m"];function se(t){return t<30?0:t<40?1:t<50?2:3}function te(t){return t<12?-1:t<24?0:t<36?1:t<48?2:t<60?3:t<72?4:5}const d=t=>t.toLocaleString("pt-PT",{minimumFractionDigits:2,maximumFractionDigits:2})+" €",re=()=>{const[t,g]=j.useState(""),[a,l]=j.useState(35),[n,S]=j.useState(18),[m,k]=j.useState(!1),[i,w]=j.useState(!1),b=typeof t=="number"?t:0,C=te(n),A=se(a),R=b>0&&n>=12,r=j.useMemo(()=>{if(!R)return null;const s=U[A][C],h=b;let o=h*.65,f=!1;(m||i)&&(o*=1.1,f=!0);const N=v,M=v*1.15,D=v*2.5;let y=null;b>=920&&o<M?(o=M,y="mínimo (≥ SMN)"):o<N&&(o=N,y="mínimo IAS"),o>D&&(o=D,y="máximo");const I=h*.766*.75;o>I&&I>N&&(o=I,y="75% do valor líquido da RR");const L=o/30,G=L*s,T=Math.round(s/30);return{subsidio:o,diario:L,dias:s,duracaoMeses:T,totalSubsidio:G,limiteAplicado:y,majoracao:f,RR:h}},[b,A,C,R,m,i]);return e.jsxs("div",{className:"space-y-6",children:[e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(p,{className:"text-sm font-medium text-muted-foreground uppercase tracking-wide",children:"Salário bruto mensal médio (últimos 12 meses)"})}),e.jsxs(u,{children:[e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground text-sm",children:"€"}),e.jsx($,{type:"number",className:"pl-8",placeholder:"ex: 1200",value:t,onChange:s=>g(s.target.value?Number(s.target.value):""),min:0})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"Inclua os subsídios de férias e de Natal mensalizados (salário × 14 ÷ 12)"})]})]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(p,{className:"text-sm font-medium text-muted-foreground uppercase tracking-wide",children:"Idade"})}),e.jsx(u,{children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(E,{value:[a],onValueChange:([s])=>l(s),min:18,max:70,step:1,className:"flex-1"}),e.jsxs("span",{className:"font-bold text-foreground min-w-[80px] text-right",children:[a," anos"]})]})})]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(p,{className:"text-sm font-medium text-muted-foreground uppercase tracking-wide",children:"Meses de descontos nos últimos 24 meses"})}),e.jsxs(u,{children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(E,{value:[n],onValueChange:([s])=>S(s),min:0,max:24,step:1,className:"flex-1"}),e.jsxs("span",{className:"font-bold text-foreground min-w-[80px] text-right",children:[n," meses"]})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"Mínimo obrigatório: 12 meses"})]})]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(p,{className:"text-sm font-medium text-muted-foreground uppercase tracking-wide",children:"Situação familiar"})}),e.jsxs(u,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium",children:"Cônjuge/união de facto também desempregado(a)?"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Com filhos a cargo com abono de família"})]}),e.jsx(O,{checked:m,onCheckedChange:k})]}),e.jsx("div",{className:"border-t border-border pt-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium",children:"Família monoparental?"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Progenitor único com filhos a cargo"})]}),e.jsx(O,{checked:i,onCheckedChange:w})]})})]})]}),b?n<12?e.jsxs("div",{className:"bg-red-50 dark:bg-red-950/30 text-red-700 dark:text-red-400 rounded-xl p-4 text-sm",children:[e.jsx(F,{className:"w-4 h-4 inline mr-1"}),"Não tem direito ao subsídio de desemprego — precisa de pelo menos 12 meses de descontos nos últimos 24 meses."]}):r?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"bg-foreground text-background rounded-xl p-6 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground uppercase tracking-wide mb-2",children:"Subsídio mensal estimado"}),e.jsx("p",{className:"text-4xl md:text-5xl font-extrabold",children:d(r.subsidio)}),e.jsxs("p",{className:"text-sm text-muted-foreground mt-2",children:[r.dias," dias de prestação (",r.duracaoMeses," meses)"]})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[e.jsxs("div",{className:"bg-muted rounded-xl p-4 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground uppercase tracking-wide mb-1",children:"Valor diário"}),e.jsx("p",{className:"text-lg font-bold text-foreground",children:d(r.diario
1)})]}),e.jsxs("div",{className:"bg-muted rounded-xl p-4 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground uppercase tracking-wide mb-1",children:"Duração"}),e.jsxs("p",{className:"text-lg font-bold text-primary",children:[r.duracaoMeses," meses"]})]}),e.jsxs("div",{className:"bg-muted rounded-xl p-4 text-center",children:[e.jsx("p",{className:"text-xs text-muted-foreground uppercase tracking-wide mb-1",children:"Total estimado"}),e.jsx("p",{className:"text-lg font-bold text-foreground",children:d(r.totalSubsidio)})]})]}),r.limiteAplicado?e.jsxs("div",{className:"bg-amber-50 dark:bg-amber-950/30 text-amber-700 dark:text-amber-400 rounded-xl p-4 text-sm",children:[e.jsx(F,{className:"w-4 h-4 inline mr-1"}),"O valor foi ajustado pelo limite do ",e.jsx("strong",{children:r.limiteAplicado}),". O subsídio não pode ser inferior a ",d(v)," nem superior a ",d(v*2.5),"."]}):e.jsxs("div",{className:"bg-green-50 dark:bg-green-950/30 text-green-700 dark:text-green-400 rounded-xl p-4 text-sm",children:[e.jsx(_,{className:"w-4 h-4 inline mr-1"}),"O subsídio de desemprego ",e.jsx("strong",{children:"não é tributável em IRS"}),". Não paga IRS sobre este valor."]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(p,{className:"text-base",children:"Como foi calculado"})}),e.jsx(u,{children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("th",{className:"text-left py-2 px-3 text-xs text-muted-foreground uppercase tracking-wide",children:"Passo"}),e.jsx("th",{className:"text-left py-2 px-3 text-xs text-muted-foreground uppercase tracking-wide",children:"Operação"}),e.jsx("th",{className:"text-left py-2 px-3 text-xs text-muted-foreground uppercase tracking-wide",children:"Valor"})]})}),e.jsxs("tbody",{className:"text-muted-foreground",children:[e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-3",children:"1"}),e.jsx("td",{className:"py-2 px-3",children:"Remuneração de referência (RR)"}),e.jsx("td",{className:"py-2 px-3 font-medium text-foreground",children:d(r.RR)})]}),e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-3",children:"2"}),e.jsx("td",{className:"py-2 px-3",children:"RR × 65%"}),e.jsx("td",{className:"py-2 px-3",children:d(r.RR*.65)})]}),r.majoracao&&e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-3",children:"3"}),e.jsx("td",{className:"py-2 px-3",children:"Majoração de 10% (família)"}),e.jsxs("td",{className:"py-2 px-3",children:["+",d(r.RR*.65*.1)]})]}),e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-3",children:r.majoracao?4:3}),e.jsx("td",{className:"py-2 px-3",children:"Aplicação de limites (mín/máx)"}),e.jsx("td",{className:"py-2 px-3",children:r.limiteAplicado??"—"})]}),e.jsxs("tr",{className:"bg-muted/50",children:[e.jsx("td",{className:"py-2 px-3 font-bold",colSpan:2,children:"Subsídio mensal estimado"}),e.jsx("td",{className:"py-2 px-3 font-bold text-foreground",children:d(r.subsidio)})]})]})]})})})]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(p,{className:"text-base",children:"Duração por idade e meses de desconto"})}),e.jsxs(u,{children:[e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-xs text-center border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{className:"bg-muted p-2 border border-border text-muted-foreground font-medium",children:"Meses"}),Z.map(s=>e.jsx("th",{className:"bg-muted p-2 border border-border text-muted-foreground font-medium",children:s},s))]})}),e.jsx("tbody",{children:ee.map((s,h)=>e.jsxs("tr",{children:[e.jsx("td",{className:"p-2 border border-border font-medium",children:s}),U.map((o,f)=>{const N=f===A&&h===C;return e.jsxs("td",{className:`p-2 border border-border ${N?"bg-primary text-primary-foreground font-bold":""}`,children:[o[h],"d"]},f)})]},s))})]})}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"A célula destacada corresponde à sua situação."})]})]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsxs(p,{className:"text-base flex items-center gap-2",children:[e.jsx(J,{className:"w-4 h-4 text-primary"}),"Como e quando pedir"]})}),e.jsx(u,{children:e.jsx("div",{className:"space-y-3",children:[{step:1,title:"Inscrever-se no Centro de Emprego (IEFP)",desc:"Pode ser feito online em iefp.pt. Faça isto imediatamente após o desemprego."},{step:2,title:"Requerer o subsídio — prazo de 90 dias",desc:"O pedido é presencial no Centro de Emprego. Cada dia de atraso é um dia de prestação perdido."},{step:3,title:"Documentos necessários",desc:"Declaração de Situação de Desemprego (modelo RP5044) entregue pelo empregador ou por si em papel."},{step:4,title:"Pagamento",desc:"Após deferimento, o pagamento é mensal. O subsídio de desemprego não é tributável em IRS."}].map(s=>e.jsxs("div",{className:"flex items-start gap-3 p-3 border border-border rounded-lg",children:[e.jsx("div",{className:"w-7 h-7 rounded-full bg-primary text-primary-foreground text-xs font-bold flex items-center justify-center shrink-0",children:s.step}),e.jsxs("div",{className:"text-sm",children:[e.jsx("p",{className:"font-medium text-foreground",children:s.title}),e.jsx("p",{className:"text-muted-foreground mt-0.5",children:s.desc})]})]},s.step))})})]}),e.jsxs("div",{className:"bg-blue-50 dark:bg-blue-950/30 text-blue-700 dark:text-blue-400 rounded-xl p-4 text-sm",children:[e.jsx(P,{className:"w-4 h-4 inline mr-1"}),e.jsx("strong",{children:"Atenção:"}
1)," O subsídio de desemprego só é atribuído em caso de desemprego ",e.jsx("strong",{children:"involuntário"}),". Se se demitir voluntariamente sem justa causa, não tem direito a este apoio."]})]}):null:e.jsxs("div",{className:"bg-blue-50 dark:bg-blue-950/30 text-blue-700 dark:text-blue-400 rounded-xl p-4 text-sm",children:[e.jsx(P,{className:"w-4 h-4 inline mr-1"}),"Introduza o seu salário bruto médio mensal para calcular o subsídio."]}),e.jsx("div",{className:"text-xs text-muted-foreground leading-relaxed pt-4 border-t border-border",children:"Valores estimados com base na legislação portuguesa em vigor em 2026 (IAS: 537,13€). Os resultados são indicativos e não substituem aconselhamento jurídico ou fiscal. Confirme os valores junto da Segurança Social ou IEFP."})]})},Ie=()=>{const{i18n:t}=q(),g=t.language,a=g==="pt",l="https://grupoyour.com",n=`${l}/pt/simulador-subsidio-desemprego`,S=`${l}/en/unemployment-benefit-simulator`,m=a?n:S,k={pt:{title:"Simulador Subsídio de Desemprego 2026 | Quanto Vai Receber | Grupo Your",description:"Calcule o valor e duração do subsídio de desemprego em Portugal. Baseado no IAS 2026 (537,13€), inclui majorações familiares e tabela de duração.",keywords:"subsídio desemprego, desemprego portugal, IAS 2026, segurança social, IEFP, prestações desemprego"},en:{title:"Unemployment Benefit Simulator 2026 | How Much Will You Receive | Grupo Your",description:"Calculate the value and duration of unemployment benefits in Portugal. Based on IAS 2026 (€537.13), includes family bonuses and duration table.",keywords:"unemployment benefit, portugal unemployment, IAS 2026, social security, IEFP"}},i=a?k.pt:k.en,w={"@context":"https://schema.org","@graph":[{"@type":"WebApplication",name:a?"Simulador Subsídio de Desemprego 2026":"Unemployment Benefit Simulator 2026",description:i.description,url:m,applicationCategory:"FinanceApplication",operatingSystem:"All",offers:{"@type":"Offer",price:"0",priceCurrency:"EUR"},provider:{"@type":"Organization",name:"Grupo Your",url:l}},{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:`${l}/${g}`},{"@type":"ListItem",position:2,name:a?"Simuladores":"Simulators",item:`${l}/${g}/${a?"simuladores":"simulators"}`},{"@type":"ListItem",position:3,name:a?"Subsídio de Desemprego":"Unemployment Benefit"}]}]};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs(V,{children:[e.jsx("title",{children:i.title}),e.jsx("meta",{name:"description",content:i.description}),e.jsx("meta",{name:"keywords",content:i.keywords}),e.jsx("link",{rel:"canonical",href:m}),e.jsx("link",{rel:"alternate",hrefLang:"pt",href:n}),e.jsx("link",{rel:"alternate",hrefLang:"en",href:S}),e.jsx("meta",{property:"og:title",content:i.title}),e.jsx("meta",{property:"og:description",content:i.description}),e.jsx("meta",{property:"og:url",content:m}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(w)})]}),e.jsx(H,{}),e.jsx("section",{className:"relative py-16 md:py-24 overflow-hidden bg-gradient-to-br from-primary/5 via-background to-primary/10",children:e.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:e.jsxs(z.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("div",{className:"p-2 rounded-xl bg-primary/10",children:e.jsx(Y,{className:"w-6 h-6 text-primary"})}),e.jsx("span",{className:"text-xs font-medium text-primary uppercase tracking-wider",children:a?"Ferramentas Laborais 2026":"Labour Tools 2026"})]}),e.jsx("h1",{className:"text-3xl md:text-4xl font-extrabold text-foreground tracking-tight mb-3",children:a?"Simulador de Subsídio de Desemprego":"Unemployment Benefit Simulator"}),e.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed max-w-2xl",children:a?"Calcule o valor mensal e a duração do subsídio a que tem direito após a perda involuntária do emprego. Baseado nos dados oficiais 2026 (IAS: 537,13€).":"Calculate the monthly amount and duration of unemployment benef
1it after involuntary job loss. Based on official 2026 data (IAS: €537.13)."})]})})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-4 max-w-2xl",children:e.jsx(B,{children:e.jsx(re,{})})})}),e.jsx(X,{}),e.jsx(B,{children:e.jsx(Q,{currentRoute:"unemployment-benefit-simulator"})}),e.jsx(K,{}),e.jsx(W,{})]})};export{Ie 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.