PageSourceSearch

https://www.zavodou.cz/_next/static/chunks/pages/index-10e7eb28c64cd6f9.js

js zavodou.cz collected 2026-10-02 19:23:03 UTC 47,569 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2a2edcd7-006c-4f66-91a1-9c689a8b3f72",e._sentryDebugIdIdentifier="sentry-dbid-2a2edcd7-006c-4f66-91a1-9c689a8b3f72")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{2812:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return l(18438)}])},22874:function(e,t,l){"use strict";l.d(t,{g:function(){return r}});var a=l(11527),n=l(5529);function s(e){return(0,a.jsx)("div",{className:"text-[#3B707C] text-[15px] leading-5 whitespace-nowrap items-stretch bg-[#E8F3F5] justify-center px-4 py-2 rounded-[100px] capitalize",children:e.type})}function i(e){return(0,a.jsxs)("div",{className:"text-green-secondary-300 text-[12px] leading-3 tracking-wide self-center grow whitespace-nowrap my-auto",children:["čten\xed na ",e.time]})}let r=e=>{let{children:t,className:l,image:r,tags:o,time:d}=e;return(0,a.jsx)("div",{id:"onas",className:(0,n.m6)("",l),children:(0,a.jsx)("div",{className:"bg-green  w-full pr-0 lg:pr-20 lg:pb-12 lg:rounded-tr-[500px] h-auto lg:rounded-br-[500px] max-md:max-w-full",children:(0,a.jsxs)("div",{className:"gap-5 flex flex-wrap lg:flex-nowrap flew-col lg:flex-row  lg:items-center lg:justify-center max-md:gap-0 mt-0",children:[(0,a.jsx)("div",{className:"flex flex-col mt-12 items-stretch lg:w-[40%] max-md:w-full max-md:ml-0 h-full",children:(0,a.jsx)("img",{src:r.src,alt:r.alt,className:"w-[645px] h-[438px] object-cover rounded-tr-[500px] rounded-br-[500px] object-center overflow-hidden mt-0 max-md:max-w-full max-md:-mt-2.5"})}),(0,a.jsx)("div",{className:"flex flex-col items-stretch mt-12md:mt-0 justify-center max-w-[550px] md:max-w-full lg:w-[60%] 2xl:w-[60%] ml-5 max-md:w-full max-md:ml-0",children:(0,a.jsxs)("span",{className:"items-stretch flex flex-col mt-12 px-5 max-md:max-w-full max-lg:mt-10 max-lg:mb-10 text-white",children:[o&&o.length>0&&d&&(0,a.jsxs)("div",{className:"items-stretch flex flex-wrap gap-5 mb-5 ml-5",children:[o.map(e=>(0,a.jsx)(s,{type:e},e)),(0,a.jsx)(i,{time:d})]}),t]})})]})})})}},34019:function(e,t,l){"use strict";l.d(t,{G:function(){return o}});var a=l(11527),n=l(22717),s=l(56902),i=l(5529),r=l(19145);let o=e=>{let{title:t,description:l,category:o,content:d,descriptionMaxLength:c,image:x,className:m,imageClassname:u}=e,p=d?(0,r.Po)(d):"",f=o?o.split(/[,;]/).map(e=>e.trim()):[];return(0,a.jsxs)("div",{className:(0,i.m6)("h-auto md:min-h-[458px] rounded-xl shadow-lg bg-white flex flex-col px-5 py-8",m),children:[(0,a.jsx)("img",{src:x.src,alt:x.alt,className:(0,i.m6)("rounded-[10px] object-cover h-[170px] md:h-[200px]",u)}),(f.length>0||p)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.L,{y:5}),(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[f.map(e=>(0,a.jsx)("div",{className:"text-body4 text-[#3B707C] leading-5 bg-[#E8F3F5] px-3 py-1.5 rounded-full capitalize",children:e},e)),p&&(0,a.jsxs)("div",{className:"text-body5 text-green-secondary",children:["Čten\xed na ",p]})]})]}),(0,a.jsx)(s.L,{y:5}),(0,a.jsx)("div",{"data-testid":"blog-card-title",className:"text-green text-header5 font-semibold line-clamp-2 mb-2",children:(0,a.jsx)(n.L,{children:t})}),l&&(0,a.jsx)(n.L,{baseClassName:"",className:"text-gray-500 text-body1 line-clamp-3",children:l})]},t)}},78678:function(e,t,l){"use strict";l.d(t,{L:function(){return r}});var a=l(11527),n=l(16034),s=l(33762);let i=e=>{let{className:t,global:l}=e;return(0,a.jsx)(s.K,{variant:"footer",className:t,global:l})},r=e=>{let{footer:t,global:l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"callMeForm"}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("div",{className:"px-5 md:px-10 -mb-10 z-10 relative",children:(0,a.jsx)(i,{className:"",global:l})}),(0,a.jsx)(n.$,{footer:t,global:l})]})]})}},26296:function(e,t,l){"use strict";l.d(t,{v:function(){return c}});var a=l(11527),n=l(93704),s=l(57712),i=l(87189),r=l(32443),o=l(5529),d=l(16060);let c=e=>{(0,r.useRouter)();let t=(0,d.T)();async function l(){window.location.replace(i._.questionnaire)}return(0,a.jsxs)("div",{className:(0,o.m6)("flex flex-row w-full justify-start items-center gap-9",e.className),children:[e.buttonText&&(0,a.jsx)(s.K,{onClick:l,children:(0,a.jsx)("span",{children:e.buttonText||t("lp.calculator.arrange_button")})}),e.linkHref&&(0,a.jsx)(n.r,{href:e.linkHref,children:e.linkText||t("V\xedce o fondu")})]})}},28115:function(e,t,l){"use strict";l.d(t,{PJ:function(){return x},by:function(){return r},ms:function(){return c}});var a=l(11527),n=l(56902),s=l(5529),i=l(26296);let r=e=>{var t,l;let{fullTotal:s,totalTaxSavings:r}=e.values,d={buttonText:null===(l=e.global)||void 0===l?void 0:null===(t=l.calculator_info)||void 0===t?void 0:t.button_label};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between gap-14 my-5",children:[(0,a.jsxs)("div",{className:"w-full flex flex-1 flex-col",children:[(0,a.jsx)(c,{items:[{color:"green",percentage:e.values.personalPercentage},{color:"#E9C46A",percentage:e.values.employerPercentage},{color:"#F4A261",percentage:e.values.governmentPercentage},{color:"green-secondary",percentage:e.values.growthPercentage},{color:"#7EE1C3",percentage:e.values.bonusPercentage}]}),(0,a.jsx)(n.L,{y:8}),(0,a.jsx)(o,{values:e.values})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-10 w-full lg:max-w-[38%]",children:[(0,a.jsx)(m,{className:"mx-auto",fullTotal:s,totalTaxSavings:r}),(0,a.jsx)("div",{className:"mx-auto flex",children:(0,a.jsx)(i.v,{...d,className:"flex-col gap-4"})})]})]})})};function o(e){let{fullMonthlyContribution:t,fullEmployerContribution:l,fullGovernmentContribution:n,fullInvestmentAppreciation:s,fullBonusAppreciation:i}=e.values;return(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-3 mt-4 ".concat(i>
10?"xl:grid-cols-5":"xl:grid-cols-4"),children:[(0,a.jsx)(d,{contributionAmount:t,contributionType:"Moje př\xedspěvky",color:"bg-green"}),(0,a.jsx)(d,{contributionAmount:l,contributionType:"Zaměstnavatel",color:"#E9C46A"}),(0,a.jsx)(d,{contributionAmount:n,contributionType:"St\xe1tn\xed př\xedspěvek",color:"#F4A261"}),(0,a.jsx)(d,{contributionAmount:s,contributionType:"Zhodnocen\xed",color:"bg-green-secondary"}),i>0&&(0,a.jsx)(d,{contributionAmount:i,contributionType:"Conseq Bonus",color:"bg-[#7EE1C3]"})]})}let d=e=>{let{contributionAmount:t,contributionType:l,color:n}=e;return(0,a.jsxs)("div",{className:"flex flex-row md:flex-col items-center justify-between gap-[0.81rem]",children:[(0,a.jsxs)("div",{className:"flex flex-row md:flex-col items-center gap-2",children:[(0,a.jsx)("div",{className:"w-[24px] h-[24px] rounded-full ".concat(n.startsWith("#")?"bg-[".concat(n,"]"):n),style:{background:n.startsWith("#")?n:"auto"}}),(0,a.jsxs)("span",{className:"font-sora font-bold text-_desktop-header4 text-green",children:[t.toLocaleString("cs-CZ")," Kč"]})]}),(0,a.jsx)("div",{className:"flex flex-row md:flex-col items-center gap-1 text-center",children:(0,a.jsx)("span",{className:"text-_desktop-header4 font-normal",children:l})})]})};function c(e){return(0,a.jsx)("div",{className:(0,s.m6)("flex rounded-full overflow-hidden h-[75px] md:h-[120px] rounded-full flex overflow-hidden",e.className),children:e.items.map((e,t)=>(0,a.jsx)("div",{style:{width:"".concat(e.percentage,"%"),background:e.color.startsWith("#")?e.color:"auto"},className:(0,s.m6)("".concat(e.color.startsWith("#")?"":"bg-".concat(e.color)," rounded-[").concat(0===t?"l":"r","-full]"))},t))})}function x(e){return(0,a.jsx)("div",{className:"flex flex-col flex-wrap md:flex-row gap-4 justify-center items-start",children:e.items.map((e,t)=>{let l=e.color.startsWith("#")?"bg-[".concat(e.color,"]"):"bg-".concat(e.color);return(0,a.jsxs)("div",{"data-testid":e.testId,className:"flex flex-row md:flex-col  justify-between items-center w-full md:w-auto",children:[(0,a.jsxs)("div",{className:"flex flex-row md:flex-col gap-2 items-center justify-center",children:[(0,a.jsx)("div",{className:"w-3 h-3 md:w-4 md:h-4 roun
1ded-full ".concat(l),style:{background:e.color.startsWith("#")?e.color:"auto"}}),(0,a.jsx)("span",{className:"text-body2 font-sora flex text-green self-center max-w-[200px] text-left md:text-center text-wrap",children:e.label})]}),e.value&&(0,a.jsx)("span",{className:"text-body2 font-sora flex text-green font-bold",children:e.value})]},t)})})}function m(e){return(0,a.jsxs)("div",{className:(0,s.m6)("flex flex-col gap-4",e.className),children:[(0,a.jsx)("p",{className:"font-sora font-semibold text-_desktop-body4 text-green text-center",children:"CELKEM NASPOŘENO:"}),(0,a.jsxs)("p",{"data-testid":"calculator-total",className:"font-sora font-bold text-green-secondary text-header1 text-center whitespace-nowrap",children:[e.fullTotal.toLocaleString("cs-CZ"),",- Kč"]}),(0,a.jsxs)("p",{className:"font-sora text-gray-brand-zinc text-_desktop-body2 text-center mx-auto",children:["Nav\xedc ušetř\xedte na dan\xedch:",(0,a.jsxs)("span",{className:"text-green-secondary whitespace-nowrap font-bold",children:[" ",e.totalTaxSavings.toLocaleString("cs-CZ"),",- Kč"]})]})]})}},28200:function(e,t,l){"use strict";l.d(t,{i:function(){return r}});var a=l(11527),n=l(53453),s=l(50959),i=l(5529);let r=(0,s.forwardRef)((e,t)=>{var l;return(0,a.jsxs)("div",{className:(0,i.m6)("flex flex-col gap-2 max-w-[700px]",e.className),children:[(0,a.jsx)("p",{className:(0,i.m6)("text-[#141414] font-bold font-poppins text-_desktop-header4",e.titleClassname),children:e.title}),(0,a.jsxs)(n.fC,{className:"relative flex items-center select-none touch-none w-full h-5 cursor-pointer",min:e.min,max:e.max,step:null!==(l=e.step)&&void 0!==l?l:1,value:[e.value],onValueChange:t=>e.onChange(t[0]),onBlur:e.onBlur,children:[(0,a.jsx)(n.fQ,{className:"bg-gray-300 relative flex-grow rounded-full h-4",children:(0,a.jsx)(n.e6,{className:"absolute bg-green-secondary rounded-full h-full"})}),(0,a.jsx)(n.bU,{className:"block w-4 h-6 bg-white shadow-md rounded-full focus:outline-none focus:shadow-outline z-0 hover:bg-[#E2FFFC] active:bg-[#7EE1C3]","aria-label":"Volume"})]}),(0,a.jsxs)("div",{className:"flex justify-between font-sora text-[13px] text-gray-500",children:[e.startLabel&&(0,a.jsx)("span",{children:e.startLabel}),e.endLabel&&(0,a.jsx)("span",{children:e.endLabel})]})]})})},88335:function(e,t,l){"use strict";l.d(t,{v:function(){return n}});var a=l(11527);function n(e){return(0,a.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}},18438:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return eh},default:function(){return ev}});var a=l(11527),n=l(28115),s=l(17065),i=l(56902),r=l(11615);let o=r.z.object({oneTimeDeposit:r.z.number().min(0,"errors.deposit_min"),participantContribution:r.z.number().min(0,"errors.contribution_min"),employerContribution:r.z.number().min(0,"errors.employer_contribution_min"),strategyAppreciation:r.z.number().min(0,"errors.strategy_min"),startAge:r.z.number().min(0,"errors.age_start_min"),retirementAge:r.z.number().min(60,"errors.retirement_age_min"),bonusAppreciation:r.z.number().min(0,"errors.expected_bonus_min"),debug:r.z.boolean().optional()}).refine(e=>e.retirementAge-e.startAge>=10,{message:"errors.age_difference_min",path:["retirementAge"]}),d=e=>{let{oneTimeDeposit:t,participantContribution:l,employerContribution:a,strategyAppreciation:n,startAge:s,retirementAge:i,bonusAppreciation:r,debug:d=!1}=e,c=o.parse(e),x=i-s,m=l<500?0:Math.min(340,.2*l),u=Math.min(Math.max(x,10),25)/100,p=[],f=n/12,h=r/12;for(let e=1;e<=12*x;e++){let n=p[e-2]||{clientContribution:0,employerContribution:0,totalWithAppreciation:0,cumulativeAppreciation:0,totalSavings:0,cumulativeBonus:0,cumulativeBonusAppreciation:0},s={month:e,year:Math.floor(e/12),clientContribution:1===e?Number((t+l).toFixed(2)):Number((n.clientContribution+l).toFixed(2)),stateContribution:Number((m*Math.floor(e/3)*3).toFixed(2)),employerContribution:1===e?Number(a.toFixed(2)):Number((n.employerContribution+a).toFixed(2)),totalSavings:0,monthlyAppreciation:0,cumulativeAppreciation:0,totalWithAppreciation:0,monthlyBonus:0,cumulativeBonus:0,monthlyBonusAppreciation:0,cumulativeBonusAppreciation:0,total:0};s.totalSavings=Number((s.clientContribution+s.stateContribution+s.employerContribution).toFixed(2)),1===e?(s.monthlyAppreciation=Number((s.totalSavings*f).toFixed(2)),s.cumulativeAppreciation=s.monthlyAppreciation):(s.monthlyAppreciation=Number(((n.totalWithAppreciation+s.totalSavings-n.totalSavings)*f).toFixed(2)),s.cumulativeAppreciation=Number((s.monthlyAppreciation+n.cumulativeAppreciation).toFixed(2))),s.totalWithAppreciation=Number((s.totalSavings+s.cumulativeAppreciation).toFixed(2)),1===e?(s.monthlyBonus=Number((.01*s.totalWithAppreciation/12*u).toFixed(2)),s.cumulativeBonus=s.monthlyBonus,s.monthlyBonusAppreciation=Number((s.cumulativeBonus*h).toFixed(2)),s.cumulativeBonusAppreciation=Number((s.monthlyBonus+s.monthlyBonusAppreciation).toFixed(2))):(s.monthlyBonus=Number((.01*s.totalWithAppreciation/12*u).toFixed(2)),s.cumulativeBonus=Number((s.monthlyBonus+n.cumulativeBonusAppreciation).toFixed(2)),s.monthlyBonusAppreciation=Number((s.cumulativeBonus*h).toFixed(2)),s.cumulativeBonusAppreciation=Number((s.cumulativeBonus+s.monthlyBonusAppreciation).toFixed(2))),s.total=Number((s.totalWithAppreciation+s.cumulativeBonusAppreciation).toFixed(2)),p.push(s)}let v=p[12*x-1];if(!v)throw Error("Calculation failed. Final result is undefined.");let g=v.totalSavings,b=Number((v.cumulativeBonusAppreciation+v.totalWithAppreciation-g).toFixed(2)),j={totalParticipantContributions:Math.floor(v.clientContribution),totalEmployerContributions:Math.floor(v.employerContribution),totalStateContributions:Math.floor(v.stateContribution),totalContributions:Math.floor(g),totalAppreciation:Math.floor(Number((v.totalWithAppreciation-g).toFixed(2))),totalBonusBalance:x<10?0:Math.floor(Number(v.cumulativeBonusAppreciation.toFixed(2))),totalAccountBalance:Math.floor(b),absoluteTotalBalance:Math.floor(Number((g+b).toFixed(2))),totalTaxSavings:Math.floor(Number((x*Math.max(.15*Math.min(l-1700,4e3),0)*12).toFixed(2)))};return d&&(console.log("Pension Savings Calculation Debug:"),console.log("Inputs:",c),console.log("Monthly Results:",p),console.log("Final Result:",j)),j};var c=l(50959),x=l(39090),m=l(5529);let u={MIN:1,MAX:60};var p=l(26296),f=l(28200),h=l(23849),v=l(19145);let g=e=>{var t,l;
1let n=null!==(t=e.inputMax)&&void 0!==t?t:e.sliderMax,s=null!==(l=e.inputMin)&&void 0!==l?l:e.sliderMin;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.Qr,{control:e.control,name:e.name,render:t=>{let{field:l,fieldState:n}=t;return(0,a.jsx)(f.i,{title:e.title,startLabel:e.startLabel,endLabel:e.endLabel,min:e.sliderMin,max:e.sliderMax,step:e.step,className:"col-span-2",...l})}}),(0,a.jsx)(x.Qr,{control:e.control,name:e.name,render:t=>{let{field:l,fieldState:i}=t;return(0,a.jsx)(h.n,{type:"text",inputMode:"numeric",max:n,min:s,className:"text-right col-span-2",customEndText:e.textFieldEndText,...l,value:(0,v.tn)(l.value),onBlur:e=>{var t,a;let i=Number(null===(a=e.target.value)||void 0===a?void 0:null===(t=a.toString())||void 0===t?void 0:t.replace(/\D/g,""))||0;i>n?i=n:i<s&&(i=s),l.onChange(i)},onChange:e=>{var t,a;let s=Number(null===(a=e.target.value)||void 0===a?void 0:null===(t=a.toString())||void 0===t?void 0:t.replace(/\D/g,""))||0;s>n&&(s=n),l.onChange(s)}})}})]})};function b(e){return(0,a.jsx)("button",{"data-testid":"calculator-strategy","data-selected":e.isSelected,className:(0,m.m6)(" border-solid border-[#7D999E] lg:border-none border-1\n        rounded-lg md:rounded-b-none px-6 py-4 transition-colors duration-300 ease-in-out bg-transparent\n        text-left md:text-center\n        ".concat(e.isSelected?"bg-white border-none":"","\n      ")),onClick:e.onClick,children:(0,a.jsx)("span",{className:"font-sora text-green text-left md:text-base font-semibold uppercase",children:e.title})})}var j=l(22717);let w=e=>{let t=(100*e.annualRate).toFixed(2),l=[...e.tags,"".concat(t," % ročně")];return(0,a.jsxs)("div",{className:"flex flex-col w-full",children:[(0,a.jsx)("h2",{className:"text-header3 font-bold pb-11",children:e.name}),(0,a.jsx)("div",{className:"flex flex-wrap gap-x-3 gap-y-2 text-_desktop-body3",children:l.map(e=>(0,a.jsx)("span",{className:"bg-green-secondary bg-opacity-20 px-5 py-1 rounded-full text-green",children:(0,a.jsx)(j.L,{children:e})},e))})]})};var N=l(23681),y=l(16060),A=l(65604);let C=e=>{let{settings:t,strategies:l,calculator_info:o}=e.global,f=(0,y.T)(),[h,v]=(0,c.useState)(null),C=l.info,{control:_,handleSubmit:L,getValues:k,watch:B}=(0,x.cI)({defaultValues:t,mode:"all",reValidateMode:"onChange"}),[S,T]=(0,c.useState)({absoluteTotalBalance:0,totalParticipantContributions:0,totalEmployerContributions:0,totalStateContributions:0,totalContributions:0,totalAppreciation:0,totalAccountBalance:0,totalTaxSavings:0,totalBonusBalance:0}),{oneTimeDeposit:M,participantContribution:z,employerContribution:E,startAge:F,retirementAge:P}=B(),I=(0,s.Z)(),W=[C.DynamicStrategy,C.BalancedStrategy,C.ConservativeStrategy],[D,V]=(0,c.useState)(C.DynamicStrategy),K=Object.keys(C).find(e=>{let t=C[e];return"number"!=typeof t&&t.id===(null==D?void 0:D.id)}),R=P-F;R<u.MIN?R=u.MIN:R>u.MAX&&(R=u.MAX);let Z=e.global.calculator;if(!Z[K])throw Error("Unknown strategy key ".concat(String(K)));let H=Z[K][String(R)],U=D.Tags.split(";").map(e=>e.trim());if(!H)throw Error("Unknown annual rate for retirementAge ".concat(P," - startAge ").concat(F," = years ").concat(R));let G=function(e){let{disclaimer:t,retirementAgeValue:l,strategyName:a,annualValue:n}=e,s=(100*n).toFixed(2);return t.replace("${retirementAgeValue}",l.toString()).replace("${dynamicStrategyName}",function(e){if(null==(e=null==e?void 0:e.toLowerCase())?void 0:e.includes("dynamick"))return"dynamick\xe9";if(null==e?void 0:e.includes("konzervativ"))return"konzervativn\xed";if(null==e?void 0:e.includes("vyv\xe1žen"))return"vyv\xe1žen\xe9";if(null==e?void 0:e.includes("garanc"))return"zenit garantovan\xe9";throw Error("Unknown strategy name ".concat(e))}(a)).replace("${dynamicAnnualRate}",s)}({disclaimer:o.disclaimer,annualValue:H,retirementAgeValue:P,strategyName:D.Title}),q=D.Title.endsWith("strategie")?D.Title:"".concat(D.Title," strategie");(0,c.useEffect)(()=>{let e={...k(),strategyAppreciation:H};try{let t=d(e);T(t),v(null)}catch(e){if(console.error("Validation failed:",e),e instanceof r.z.ZodError){var t;v((null===(t=e.errors[0])||void 0===t?void 0:t.message)||"Invalid input
1s")}else v("An error occurred")}},[M,z,E,F,P,D]);let X={linkText:o.link_label,linkHref:o.link_url};return(0,a.jsxs)("div",{className:"flex flex-col px-3 md:px-10 md:py-20 bg-green-secondary bg-opacity-20 mb-20 mt-10 py-10",id:"calculator",children:[(0,a.jsx)("h1",{className:"text-green text-header2 mb-[3.19rem]",children:(0,a.jsx)(j.L,{children:o.title})}),(0,a.jsx)("div",{className:"flex flex-col lg:flex-row justify-end lg:space-x-5 space-y-5 lg:space-y-0 mr-20 w-full mb-4 md:mb-0",children:W.map(e=>(0,a.jsx)(b,{isSelected:D.id===e.id,title:e.Title,onClick:()=>V(e)},e.id))}),(0,a.jsxs)("div",{className:"bg-white w-full flex flex-col rounded-xl pt-14 lg:pt-20 pb-10 px-5 lg:px-20",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(w,{name:q,annualRate:H,tags:U}),!I&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.L,{y:14}),(0,a.jsx)(p.v,{...X}),(0,a.jsx)(i.L,{y:5})]})]}),(0,a.jsxs)("div",{className:"flex flex-col xl:grid xl:grid-cols-3 gap-6",children:[(0,a.jsx)(g,{name:"startAge",title:f(o.slider_age_label),startLabel:"1 rok",endLabel:"55 let",textFieldEndText:"Let",sliderMin:1,sliderMax:55,control:_}),(0,a.jsx)(g,{name:"retirementAge",title:f(o.slider_target_age_label),textFieldEndText:"Let",startLabel:"60 let",endLabel:"70 let",sliderMin:60,sliderMax:70,inputMax:91,control:_}),h&&(0,a.jsx)("div",{"data-testid":"calculator-validation-error",className:"col-span-3 text-red-error text-body5 my-2 w-full",children:h}),(0,a.jsx)(g,{name:"participantContribution",title:f(o.slider_amount_label),step:100,startLabel:"100 Kč",endLabel:"10 000 Kč",textFieldEndText:"Kč",sliderMin:100,sliderMax:1e4,inputMax:N.v0,inputMin:N.Ft,control:_}),(0,a.jsx)(g,{name:"employerContribution",control:_,title:f(o.slider_employer_amount_label),textFieldEndText:"Kč",startLabel:"0 Kč",endLabel:"4 166 Kč",step:100,sliderMin:0,sliderMax:4166}),(0,a.jsx)(g,{control:_,textFieldEndText:"Kč",name:"oneTimeDeposit",title:f(o.slider_start_capital_label),startLabel:"0 Kč",endLabel:"2 000 000 Kč",step:1e3,sliderMin:0,sliderMax:2e6,inputMax:999999999,inputMin:0})]}),I&&(0,a.jsx)("div",{className:"mx-auto",children:I&&(0,a.jsx)(p.v,{...X,className:"flex-col gap-4"})})]}),(0,a.jsx)(i.L,{y:14}),(0,a.jsx)(n.by,{global:e.global,values:{personalPercentage:S.totalParticipantContributions/S.absoluteTotalBalance*100,employerPercentage:S.totalEmployerContributions/S.absoluteTotalBalance*100,governmentPercentage:S.totalStateContributions/S.absoluteTotalBalance*100,growthPercentage:S.totalAppreciation/S.absoluteTotalBalance*100,bonusPercentage:S.totalBonusBalance/S.absoluteTotalBalance*100,fullBonusAppreciation:R<10?0:S.totalBonusBalance,fullMonthlyContribution:S.totalParticipantContributions,fullGovernmentContribution:S.totalStateContributions,fullInvestmentAppreciation:S.totalAppreciation,fullEmployerContribution:S.totalEmployerContributions,fullTotal:S.absoluteTotalBalance,totalTaxSavings:S.totalTaxSavings}}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 mt-10 md:mt-0 md:gap-20 items-center justify-center",children:[(0,a.jsx)("div",{className:"flex w-[200px] md:min-w-[280px]",children:(0,a.jsx)(A.G,{})}),(0,a.jsx)("div",{className:"".concat((0,m.m6)("mt-8 md:mt-0 mx-2 md:mx-0")," text-body5"),children:(0,a.jsx)(j.L,{className:"text-gray-400",children:f(G)})})]})]})]})};var _=l(31877),L=l(64958),k=l.n(L),B={src:"/_next/static/media/image20.63b09648.png",height:565,width:446,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAV1BMVEWqn6BTQi91ZlxdTUQfHx93VEe7sLBMaXHBtraimpzVy9LZ0dbAr7OmX0uWX03GtbNhUUBDLg0mJiCro6T/3cGthWuMb2NdQzCLcl0jJBqwqKvSyMqfdGMUWtDLAAAAGXRSTlP+/vFJBfr+ACX9uFnexsle/Cbu9TaKe6f37lpDNAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADlJREFUeJwFwYkBgCAQBLEBhAU//PXQ/us0QQr+Eurm7znQGp07UV3MbobX2xboE23PjNBSZoqFkn8/0AIwRN+I2wAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8},S=l(18030),T=l.n(S);let M=e=>{let{peopleSayData:t,global:l}=e;(0,y.T)();let n=l.people_say_info,[s,i]=(0,c.useState)(0),r=t[s];return(0,a.jsxs)("div",{className:"min-h-[500px] bg-orange flex flex-col px-6 lg:pl-10 pb-12 lg:pb-0 pt-12 lg:rounded-tr-[500px] lg:rounded-br-[500px] overflow-hidden items-start max-md:pl-5",id:"people-say",children:[(0,a.jsx)("div",{className:"text-header2 text-center md:text-left text-white md:mb-8 w-full md:max-w-full",children:(0,a.jsx)(j.L,{children:null==n?void 0:n.title})}),(0,a.jsx)("div",{className:"self-stretch mt-5 max-lg:max-w-full",children:(0,a.jsxs)("div",{className:"gap-5 flex max-lg:flex-col max-lg:items-stretch max-md:gap-0",children:[(0,a.jsx)("div",{className:"flex flex-col items-stretch order-2 lg:order-1 w-[35%] max-lg:w-full max-lg:ml-0",children:(0,a.jsx)("div",{className:"items-stretch gap-y-4 flex flex-col max-md:mt-5 w-full sm:w-auto",children:null==t?void 0:t.map((e,t)=>{let{name:l,content:n,avatar:r,age:o}=e,d=t===s;return(0,a.jsxs)(c.Fragment,{children:[(0,a.jsx)("div",{className:(0,m.m6)("rounded-full max-w-[500px] box-border sm:mx-auto md:mx-0",d?"":"border"),children:(0,a.jsxs)("button",{onClick:()=>i(t),className:(0,m.m6)("h-[80px]","items-stretch bg-white w-full",!d&&"bg-transparent","flex justify-between justify-self-center mx-auto gap-5 rounded-full 2xl:w-[500px]","shrink-0 sm:min-w-[440px] lg:min-w-[350px] max-md:pr-5"),children:[(0,a.jsx)("img",{loading:"lazy",src:"".concat("https://directus.zavodou.cz","/assets/").concat(null==r?void 0:r.id)||0,alt:l||"",className:"rounded-tl-[500px] rounded-bl-[500px] aspect-[1.19] object-cover object-center w-[119px] overflow-hidden shrink-0 max-w-full"}),(0,a.jsxs)("span",{className:"items-start justify-center flex grow flex-col my-auto duration-200 self-center",children:[(0,a.jsx)("div",{className:(0,m.m6)("text-white text-[18px] leading-6 sm:text-[21px] whitespace-nowrap font-semibold",d&&"text-slate-700"),
1children:(0,a.jsx)(j.L,{children:l||""})}),(0,a.jsx)("div",{className:(0,m.m6)("text-gray-100 text-[13px] whitespace-wrap mt-1",d&&"text-slate-700"),children:(0,a.jsx)(j.L,{children:"".concat(o," let")||0})})]})]},"item-".concat(l||""))},l||""),(0,a.jsx)("div",{className:(0,m.m6)("lg:hidden transition-all duration-300 overflow-hidden",s===t?"max-h-[500px]":"max-h-0"),children:(0,a.jsx)(j.L,{className:"text-gray-100 mx-2",dangerouslySetInnerHTML:{__html:T()(n||"")}})})]},"".concat(l||"","-").concat(n||""))})})}),(0,a.jsx)("div",{className:"hidden lg:flex flex-col items-stretch order-1 mx-auto max-md:w-full max-md:ml-0",children:(0,a.jsx)("div",{className:"grow max-md:max-w-full max-md:mt-10",children:(0,a.jsxs)("div",{className:"gap-5 flex max-md:flex-col max-md:items-stretch max-md:gap-0",children:[(0,a.jsx)("div",{className:"flex flex-col md:ml-10 w-auto lg:w-[438px] 2xl:w-[50%] max-lg:w-full max-md:ml-0",children:(0,a.jsx)("div",{className:"text-white text-[15px] mb-10 leading-6 z-[1] mt-3 max-lg:max-w-full",children:(0,a.jsx)(j.L,{dangerouslySetInnerHTML:{__html:T()((null==r?void 0:r.content)||"")}})})}),(0,a.jsx)("div",{className:"hidden xl:flex lg:mt-auto flex-col items-stretch w-6/12 ml-5 max-md:w-full max-md:ml-0",children:(0,a.jsx)(k(),{loading:"lazy",src:B,alt:"image",className:"w-[461px] object-contain object-center overflow-hidden grow-0 max-h-[579px] max-md:max-w-full"})})]})})})]})})]})};function z(e){let{Image:t,Name:l,Position:n,Review:s,index:r}=e;return(0,a.jsx)("div",{className:"flex flex-col items-stretch min-h-[320px] shrink-0 max-md:w-full max-md:ml-0 ".concat(r%2==0?"lg:mt-14":""),children:(0,a.jsxs)("span",{className:"bg-[#D4EBE9] rounded-[20px] flex flex-col w-full px-7 pb-10 rounded-3xl items-start max-md:max-w-full max-md:px-5",children:[(0,a.jsx)(E,{className:"aspect-[2.3] object-contain object-center w-[40px] fill-green mt-[-8px] ml-[-20px]  max-w-full text-left"}),(0,a.jsx)("div",{className:"text-[#4A444E] text-[14px] leading-6 max-w-full mt-8 text-left italic",children:(0,a.jsx)(j.L,{children:s})}),(0,a.jsx)(i.L,{y:6}),(0,a.jsxs)("div",{className:"items-center flex gap-3",children:[(0,a.jsx)("img",{src:"".concat("https://directus.zavodou.cz","/assets/").concat(t),alt:l,className:"w-[60px] h-[60px] rounded-full object-cover object-top   fill-green overflow-hidden max-w-full"}),(0,a.jsxs)("div",{className:"flex grow basis-[0%] flex-col self-start justify-start items-start",children:[(0,a.jsx)("div",{className:"text-green text-[22px] font-bold  font-poppins",children:(0,a.jsx)(j.L,{children:l})}),(0,a.jsx)("div",{className:"text-left text-green-secondary font-sora text-_desktop-body4 mt-1.5",children:(0,a.jsx)(j.L,{children:n})})]})]})]})},"item-".concat(l,"-").concat(n))}let E=e=>(0,a.jsx)("svg",{width:"23",height:"20",viewBox:"0 0 23 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:(0,a.jsx)("path",{id:"\xe2\x80\x9e",d:"M0.72 19.56H0V15.66H0.96C4.62 15.66 6 13.92 6 9.6V8.64C5.64 8.7 5.28 8.76 4.92 8.76C2.52 8.76 0.66 7.14 0.66 4.44C0.66 1.98 2.28 0 5.04 0C7.68 0 10.14 1.56 10.14 7.14V8.28C10.14 16.92 6.54 19.56 0.72 19.56ZM13.2 19.56H12.48V15.66H13.44C17.1 15.66 18.42 13.92 18.42 9.6V8.7C18.06 8.76 17.76 8.76 17.4 8.76C14.94 8.76 13.14 7.14 13.14 4.44C13.14 1.98 14.76 0 17.52 0C20.1 0 22.56 1.56 22.56 7.14V8.28C22.56 16.92 19.02 19.56 13.2 19.56Z",fill:"#00313C"})});var F=l(32791),P=l(72086);l(17529),l(67565);var I=e=>{let{testimonials:t,global:l}=e,n=(0,F.Z)(),s=(0,c.useRef)(null),r=l.testimonials_info;return(0,c.useEffect)(()=>{var e,t,l;let a=e=>{var t;let l=s.current;if(!l)return;if(!(null===(t=l.innerSlider)||void 0===t?void 0:t.state)){console.error("slider.innerSlider.state in react-carousel library does not exist! Was the library updated?");return}let a=e.deltaX;Math.abs(a)>Math.abs(e.deltaY)&&(e.preventDefault(),l.slickGoTo(l.innerSlider.state.currentSlide+(a>0?1:-1)))},n=s.current;return(null==n?void 0:null===(e=n.innerSlider)||void 0===e?void 0:e.list)&&(null===(l=n.innerSlider)||void 0===l||null===(t=l.list)||void 0===t||t.addEventListener("wheel",a)),()=>{if(n){var e,t;null===(t=n.innerSlider)||void 0===t||null===(e=t.list)||void 0===e||e.removeEventListener("wheel",a)}}},[]),(0,y.T)(),(0,a.jsxs)("div",{className:"flex-col items-stretch px-10 mt-10 mb-0 lg:mb-28",children:[(0,a.jsx)("div",{className:"text-green text-header2 w-full max-md:max-w-full",children:(0,a.jsx)(j.L,{children:null==r?void 0:r.title})}),(0,a.jsx)(i.L,{y:5}),(0,a.jsx)(P.Z,{ref:s,className:"mb-12 md:mb-5 md:overflow-hidden",dots:!0,infinite:"mobile"===n,rows:1,pauseOnHover:!0,arrows:!0,slidesToShow:"mobile"===n?1:"tablet"===n?2:2.5,slidesToScroll:1,autoplay:!0,autoplaySpeed:1e4,children:t.map((e,t)=>{var l,n,s,i,r,o,d;return(0,a.jsx)(z,{Name:null!==(i=e.full_name)&&void 0!==i?i:"",Position:null!==(r=e.role)&&void 0!==r?r:"",Review:null!==(o=null===(n=e.translations)||void 0===n?void 0:null===(l=n[0])||void 0===l?void 0:l.review_text)&&void 0!==o?o:" no review text ",Image:"string"==typeof e.avatar?e.avatar:null!==(d=null===(s=e.avatar)||void 0===s?void 0:s.id)&&void 0!==d?d:"",index:t},t)})})]})},W=l(76460),D=l(88335);let V=e=>
1{let{data:t,renderStrapiMarkdown:l=!0}=e;return(0,a.jsx)(W.fC,{type:"single",collapsible:!0,children:t.map((e,t)=>{var n,s,i,r,o,d;let c=null!==(o=null===(s=e.translations)||void 0===s?void 0:null===(n=s[0])||void 0===n?void 0:n.title)&&void 0!==o?o:"",x=null!==(d=null===(r=e.translations)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.text)&&void 0!==d?d:"";return(0,a.jsxs)(W.ck,{className:"AccordionItem text-slate-700 text-xl font-semibold font-sora",value:"item-".concat(c,"-").concat(t),children:[(0,a.jsx)(K,{className:"min-w-[332px] mx-0 xl:mx-0 md:w-[500px] lg:w-[629px] text-left leading-6 items-center",children:l?(0,a.jsx)(j.L,{children:T()(c)}):T()(c)}),(0,a.jsx)(R,{children:(0,a.jsx)(j.L,{className:"font-sora font-normal text-body2 whitespace-normal",children:x})})]},"item-".concat(c,"-").concat(t))})})},K=c.forwardRef((e,t)=>{let{children:l,className:n,...s}=e;return(0,a.jsx)(W.h4,{className:"AccordionHeader flex items-center justify-center items-center w-full",children:(0,a.jsxs)(W.xz,{className:(0,m.m6)("AccordionTrigger flex",n),...s,ref:t,children:[l,(0,a.jsx)(D.v,{className:"AccordionChevron cursor-pointer h-6 w-6 ","aria-hidden":!0})]})})}),R=c.forwardRef((e,t)=>{let{children:l,className:n,...s}=e;return(0,a.jsx)(W.VY,{className:(0,m.m6)("AccordionContent px-5 py-4  ",n),...s,ref:t,children:(0,a.jsx)("div",{className:"",children:l})})}),Z=e=>{var t;let{accordion:l,global:n,image:s}=e,i=n.accordion_info;return(0,a.jsxs)("div",{id:"benefits",children:[(0,a.jsx)("div",{className:"-z-10 flex flex-col lg:flex-row items-start relative bg-[#00313C] h-[470px] lg:h-[430px] rounded-br-0 mr-0 lg:rounded-br-[320px] lg:mr-44 text-center lg:text-left  mt-[-250px] pt-28 lg:mt-[-180px] ",children:(0,a.jsxs)("div",{id:"usp-section",className:" mt-20 pt-5 lg:pt-24 font-unbounded px-10 lg:px-0 text-[#ffffff] w-full lg:mt-[-50px] mx-auto md:mx-10 lg:mr-48",children:[(0,a.jsx)("div",{className:"text-header2",children:(0,a.jsx)(j.L,{children:null==i?void 0:i.title})}),(0,a.jsx)("div",{className:"mt-7 text-header5",children:(0,a.jsx)(j.L,{children:null==i?void 0:i.subtitle})})]})}),(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between",children:[(0,a.jsx)("div",{className:"mt-4 md:mt-16 max-w-[630px] lg:h-[629px] sm:mx-auto xl:ml-6",children:(0,a.jsx)(V,{data:l})}),(0,a.jsx)("div",{className:"mt-0 lg:mt-[-100px] -z-[20] relative",children:(0,a.jsx)("img",{src:"https://directus.zavodou.cz/assets/"+(null==s?void 0:s.id),alt:null!==(t=null==s?void 0:s.title)&&void 0!==t?t:"",className:"w-[622px] h-[652px] object-cover hidden lg:block rounded-tl-[500px] rounded-bl-[500px]"})})]})]})},H=e=>{var t;let{accordion:l,global:n,image:s}=e;(0,y.T)();let i=n.faq_info,r=l.map(e=>({...e,translations:e.translations.map(e=>({...e,title:e.title,text:e.content}))}));return(0,a.jsxs)("div",{className:"flex flex-col",id:"faq",children:[(0,a.jsx)("div",{className:"mt-10 mx-auto lg:mx-10",children:(0,a.jsx)("div",{className:"whitespace-pre-line lg:ml-1 text-green text-center md:text-left text-header2",children:(0,a.jsx)(j.L,{children:null==i?void 0:i.title})})}),(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between",children:[(0,a.jsx)("div",{className:"mt-4 md:mt-16 max-w-[630px] w-full lg:h-[500px] mx-auto md:ml-10",children:(0,a.jsx)(V,{data:r})}),(0,a.jsx)("div",{className:"mt-0 lg:mt-[-100px] -z-[20] relative",children:(0,a.jsx)("img",{src:"https://directus.zavodou.cz/assets/"+(null==s?void 0:s.id),alt:null!==(t=null==s?void 0:s.title)&&void 0!==t?t:"",className:"w-[529px] h-[529px] object-cover hidden lg:block rounded-tl-[500px] rounded-bl-[500px]"})})]})]})};var U=l(22874);let G=e=>{var t;let{global:l,image:n}=e;(0,y.T)();let s=l.about_us_info;return(0,a.jsxs)(U.g,{className:"mt-32 lg:mt-5 lg:mr-[79px]",image:{src:"https://directus.zavodou.cz/assets/"+(null==n?void 0:n.id),alt:null!==(t=null==n?void 0:n.title)&&void 0!==t?t:""},children:[(0,a.jsx)("span",{className:"text-header4 font-bold text-white max-w-[800px]",children:(0,a.jsx)(j.L,{children:null==s?void 0:s.title})}),(0,a.jsx)("div",{className:"text-white text-[15px] leading-6 mt-5 lg:max-w-[520px]",children:(0,a.jsx)(j.L,{children:null==s?void 0:s.text})}),(0,a.jsx)("div",{className:"flex mt-12 w-[200px] md:w-[280px] md:mb-0 mb-12",children:(0,a.jsx)(A.G,{variant:"inverted"})})]})};var q=l(4338),X=l(87189),Q=l(82865),O=l.n(Q),J=l(34019);let Y=e=>{let{recentPosts:t,global:l}=e,n=t.slice(0,6);(0,y.T)();let s=l.academy_info;return(0,a.jsxs)("div",{className:"flex flex-col items-center px-5 md:px-10 py-20 relative",id:"academy",children:[(0,a.jsx)("div",{className:"max-md:max-w-full max-md:text-4xl text-header2 text-green-secondary text-center",children:(0,a.jsx)(j.L,{children:null==s?void 0:s.title})}),!!(null==s?void 0:s.description)&&(0,a.jsx)("div",{className:"max-md:max-w-full max-md:text-4xl text-center text-orange text-header5",children:(0,a.jsx)(j.L,{children:null==s?void 0:s.description})}),(0,a.jsx)(i.L,{y:2}),(0,a.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-3 relative",children:n.map(e=>{var t;let l=null===(t=e.translations)||void 0===t?void 0:t[0];if(!l)return null;let n=e.blocks.filter(e=>"block_text"===e.collection||"block_headline"===e.collection).map(e=>{var t,l;return null!==(l=null===(t=e.item.translations[0])||void 0===t?void 0:t.text)&&void 0!==l?l:""}).join("").replace(/<[^>]*>?/gm,"");return(0,a.jsx)(O(),{href:X._.blogPost(l.slug),children:(0,a.jsx)(J.G,{className:"md:h-[500px]",description:l.description,title:l.title,category:l.tag,image:{src:e.image.id?"".concat("https://directus.zavodou.cz","/assets/").concat(e.image.id):"",alt:e.image.t
1itle||"n\xe1hled čl\xe1nku"},content:n})},l.slug)})}),(0,a.jsx)(O(),{href:X._.blog,className:"mt-20 flex justify-center items-center w-full",children:(0,a.jsx)(q.k,{className:"w-fit mx-auto",children:(0,a.jsx)(j.L,{children:null==s?void 0:s.more_button})})})]})};var $=l(57712),ee=l(27953),et=l.n(ee);let el=e=>{let{count:t,page:l,handleDotClick:n,duration:s}=e;return(0,a.jsxs)("div",{className:"jsx-b6ce580fd6fc4810 hidden md:flex ml-5 justify-start mt-20",children:[[...Array(t)].map((e,t)=>(0,a.jsxs)("div",{className:"jsx-b6ce580fd6fc4810 "+((l===t+1?"bg-gray-200 w-14 mx-3 rounded-[20px] relative overflow-hidden":"w-4 mx-3")||""),children:[(0,a.jsx)("div",{onClick:()=>n(t+1),className:"jsx-b6ce580fd6fc4810 "+"h-4 rounded-[20px] cursor-pointer ".concat(l===t+1?"bg-gray-200 w-14":"bg-gray-200 w-4")}),l===t+1&&(0,a.jsx)("div",{style:{animation:"progressSlide ".concat(s,"ms linear")},className:"jsx-b6ce580fd6fc4810 absolute top-0 left-0 h-4 bg-green-secondary rounded-[20px] w-14"})]},t)),(0,a.jsx)(et(),{id:"b6ce580fd6fc4810",children:"@-webkit-keyframes progressSlide{0%{-webkit-transform:translatex(-100%);transform:translatex(-100%)}100%{-webkit-transform:translatex(0);transform:translatex(0)}}@-moz-keyframes progressSlide{0%{-moz-transform:translatex(-100%);transform:translatex(-100%)}100%{-moz-transform:translatex(0);transform:translatex(0)}}@-o-keyframes progressSlide{0%{-o-transform:translatex(-100%);transform:translatex(-100%)}100%{-o-transform:translatex(0);transform:translatex(0)}}@keyframes progressSlide{0%{-webkit-transform:translatex(-100%);-moz-transform:translatex(-100%);-o-transform:translatex(-100%);transform:translatex(-100%)}100%{-webkit-transform:translatex(0);-moz-transform:translatex(0);-o-transform:translatex(0);transform:translatex(0)}}"})]})};var ea={src:"/_next/static/media/play_btn.94c76966.svg",height:44,width:39,blurWidth:0,blurHeight:0},en={src:"/_next/static/media/play_btn_glow.1d565740.svg",height:138,width:138,blurWidth:0,blurHeight:0};let es=e=>(0,a.jsxs)("div",{onClick:e.onClick,className:"absolute top-1/2 right-1/2 translate-x-1/2 z-40 rounded-full w-full bg-black cursor-pointer",children:[(0,a.jsx)(k(),{src:ea,alt:"playbtn",width:44,height:44,className:"absolute m-auto inset-0 z-40"}),(0,a.jsx)(k(),{src:en,alt:"play_layer1",width:104,height:104,className:"absolute inset-0 rounded-full z-30 w-[104px] h-[104px] m-auto "}),(0,a.jsx)(k(),{src:en,alt:"play_layer2",width:138,height:138,className:"absolute inset-0 m-auto w-[138px] z-10 h-[138px] rounded-full"})]}),ei=e=>{let{isOpen:t,onClose:l,videoId:n}=e;return((0,c.useEffect)(()=>{let e=e=>{"Escape"===e.key&&l()};return t&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow="unset"}},[t,l]),t)?(0,a.jsxs)("div",{className:"fixed inset-0 z-[1100] flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/80",onClick:l}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-5xl mx-4 aspect-video",children:[(0,a.jsx)("button",{onClick:l,className:"absolute -top-10 right-0 text-white hover:text-gray-300","aria-label":"Close video",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),n&&(0,a.jsx)("video",{src:"".concat("https://directus.zavodou.cz","/assets/").concat(n),className:"w-full h-full rounded-lg",controls:!0,autoPlay:!0,playsInline:!0})]})]}):null};var er=e=>{var t,l,n,s,i,r,o,d,x,u,p,f,h,v,g,b,w,N,y;let{hero:A,isAutoCarouselEnabled:C=!0}=e,[_,L]=(0,c.useState)(1),[k,B]=(0,c.useState)(null);if(!A)throw Error("No slides found in CMS data.");let S=A[_-1];return(0,c.useEffect)(()=>{let e=null;if(C){var t,l;e=setInterval(()=>{L(e=>{let t=e+1;return t>=A.length+1?1:t})},1e3*(null!==(l=null===(t=A[_-1])||void 0===t?void 0:t.time)&&void 0!==l?l:10))}return()=>{e&&clearInterval(e)}},[_,A,C]),(0,a.jsxs)("div",{className:"h-[fit-content]",children:[(0,a.jsx)(ei,{isOpen:!!k,videoId:k,onClose:()=>B(null)}
1),(0,a.jsxs)("div",{className:"flex relative override-padding flex-col lg:flex-row justify-between items-center gap-8 lg:gap-0 lg:h-[fit-content]",children:[(0,a.jsxs)("div",{className:"mx-auto md:max-w-[700px] xl:max-w-[600px] w-full order-2 lg:order-1 mt:0 lg:h-full",children:[(0,a.jsx)(j.L,{className:(0,m.m6)("ml-4 mb-6 md:mt-0","font-normal font-unbounded text-green","text-header1","z-[1000] relative"),children:null!==(w=null===(l=S.translations)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.title)&&void 0!==w?w:""}),(0,a.jsx)(j.L,{className:(0,m.m6)("ml-5 mb-6","text-green-secondary text-header5"),children:null!==(N=null===(s=S.translations)||void 0===s?void 0:null===(n=s[0])||void 0===n?void 0:n.text)&&void 0!==N?N:""}),(null===(r=S.translations)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.CTA_text)&&(null===(d=S.translations)||void 0===d?void 0:null===(o=d[0])||void 0===o?void 0:o.CTA_url)&&(0,a.jsx)(O(),{href:(null===(u=S.translations)||void 0===u?void 0:null===(x=u[0])||void 0===x?void 0:x.CTA_url)||"/",children:(0,a.jsx)($.K,{className:" ml-5",children:null===(f=S.translations)||void 0===f?void 0:null===(p=f[0])||void 0===p?void 0:p.CTA_text})}),(0,a.jsx)(el,{count:A.length,page:_,handleDotClick:e=>{L(e)},duration:S.time?1e3*S.time:1e4})]}),(0,a.jsxs)("div",{className:"order-1 lg:order-2 relative w-full h-[40vh] lg:w-[50%] lg:max-w-[700px] md:h-[600px] lg:h-[700px]",children:[(0,a.jsx)("img",{src:"https://directus.zavodou.cz/assets/"+(null===(h=S.image)||void 0===h?void 0:h.id),alt:null!==(y=null===(v=S.image)||void 0===v?void 0:v.title)&&void 0!==y?y:"",className:(0,m.m6)("h-full","w-full","relative rounded-l-[500px] object-cover z-5","duration-400 ease-in-out transition-opacity animate-fadeIn")}),(null===(b=S.translations)||void 0===b?void 0:null===(g=b[0])||void 0===g?void 0:g.video)&&(0,a.jsx)(es,{onClick:()=>{var e,t,l,a;return B(null!==(a=null===(l=S.translations)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:null===(e=t.video)||void 0===e?void 0:e.id)&&void 0!==a?a:"")}})]})]})]})};let eo=e=>{let{number:t,title:l,description:n}=e;return(0,a.jsxs)("div",{className:"text-white text-center relative text-[44px] font-light leading-[67.2px] max-md:text-[36px] w-full",children:[t&&(0,a.jsxs)("div",{className:"relative flex flex-col justify-center items-center",children:[(0,a.jsx)("span",{className:"font-unbounded",children:t}),"4"!==t&&(0,a.jsx)("div",{className:(0,m.m6)("hidden absolute h-[1px] bg-gray-100/90 mx-4 w-[250px] left-[190px]","[@media(min-width:1455px)]:block")})]}),(0,a.jsx)("div",{className:"text-white text-center text-[22px] font-semibold leading-9 max-w-[290px] mx-auto",children:(0,a.jsx)(j.L,{className:"min-h-[2.5em]",children:l})}),(0,a.jsx)("div",{className:"text-white text-[14px] text-center leading-5 self-stretch mt-2",children:(0,a.jsx)(j.L,{children:n})})]})},ed=e=>{let{global:t}=e;return(0,a.jsxs)("div",{id:"jak_prejit",className:"bg-green-secondary flex flex-col px-10 py-12 rounded-[30px] mt-24 mb-14 mx-5 md:mx-10 max-md:px-5 font-sora",children:[(0,a.jsx)("div",{className:"text-white text-center text-header2 self-center max-md:max-w-full",children:(0,a.jsx)(j.L,{children:t.pension_card_info.title})}),(0,a.jsx)("div",{className:(0,m.m6)("justify-between items-stretch self-center flex w-full gap-5 mt-9 max-md:max-w-full max-md:flex-wrap","[@media(min-width:1350px)]:max-w-[1350px]"),children:Object.entries(t.pension_card_info.items).map(e=>{let[t,l]=e;return(0,a.jsx)(eo,{number:t,title:l.title,description:l.description},t)})}),(0,a.jsx)(i.L,{y:10}),(0,a.jsx)(O(),{href:"/dotaznik",className:"mx-auto",children:(0,a.jsx)($.K,{children:t.pension_card_info.register_button})})]})},ec=e=>(0,a.jsxs)("div",{className:"bg-white rounded-lg justify-start shadow-md px-4 pt-10 h-[230px] w-[280px] order flex flex-col gap-8 mini-scrollbar",children:[(0,a.jsx)("div",{className:"flex text-green text-center text-header4 min-h-[60
1px] ",children:(0,a.jsx)(j.L,{children:e.Title})}),(0,a.jsx)("div",{className:"flex text-black text-center px-4 text-body2 overflow-y-auto overflow-x-hidden mini-scrollbar",children:(0,a.jsx)(j.L,{children:e.Subtitle})})]},e.Title),ex=e=>{let{global:t,heroBenefits:l}=e;return(0,y.T)(),(null==l?void 0:l.length)===0&&console.error("No USP data found. this must not happen"),(0,a.jsx)("div",{className:"hidden lg:flex justify-center items-end space-y-2 gap-x-4 xl:gap-x-7 mx-5  left-2 right-2 z-30",id:"usp",children:null==l?void 0:l.map((e,l)=>{var n,s,i,r,o,d;return(0,a.jsx)(ec,{Title:null!==(o=null==e?void 0:null===(s=e.translations)||void 0===s?void 0:null===(n=s[0])||void 0===n?void 0:n.title)&&void 0!==o?o:"",Subtitle:null!==(d=null==e?void 0:null===(r=e.translations)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.text)&&void 0!==d?d:"",global:t},l)})})},em=e=>{var t;let l=(0,s.Z)();return(0,a.jsx)("div",{className:"block lg:hidden mt-10 mx-10 mb-32",children:(0,a.jsx)(P.Z,{className:"",dots:!0,infinite:!1,speed:500,rows:1,arrows:!1,slidesToShow:l?1:2,slidesToScroll:1,children:null===(t=e.heroBenefits)||void 0===t?void 0:t.map((e,t)=>{var l,n,s,r;return(0,a.jsxs)("div",{className:(0,m.m6)("h-[230px] w-[230px] max-w-[300px] p-8","shadow bg-white rounded-[10px]","overflow-hidden flex flex-col"),children:[(0,a.jsx)("div",{className:"text-green text-center text-ellipsis leading-9",children:(0,a.jsx)(j.L,{className:"text-header4",children:null==e?void 0:null===(n=e.translations)||void 0===n?void 0:null===(l=n[0])||void 0===l?void 0:l.title})}),(0,a.jsx)(i.L,{y:4}),(0,a.jsx)("div",{className:"text-black text-center text-xs font-poppins text-body2",children:(0,a.jsx)(j.L,{className:"text-xs font-poppins",children:null==e?void 0:null===(r=e.translations)||void 0===r?void 0:null===(s=r[0])||void 0===s?void 0:s.text})})]},t)})})})};var eu=l(20316),ep=l(50463),ef=l(78678),eh=!0;function ev(e){let t=(0,y.T)(),l=t=>{if("visible"!==t.visibility)return null;switch(t.id){case"hero_section":return(0,a.jsxs)("div",{className:"mb-24 mt-0 md:mt-10 z-10",children:[(0,a.jsxs)("div",{className:"relative z-20",children:[e.hero&&(0,a.jsx)(er,{hero:e.hero}),e.global&&(0,a.jsx)(ex,{global:e.global,heroBenefits:e.heroBenefits})]}),(0,a.jsx)("div",{className:"px-1 max-w-[98%] z-0",children:e.hero&&(0,a.jsx)(em,{global:e.global,heroBenefits:e.heroBenefits})})]},"hero");case"accordion":return e.accordion.length>0?(0,a.jsx)(Z,{accordion:e.accordion,global:e.global,image:e.mountainImage},"benefits"):null;case"calculator":return e.global.calculator?(0,a.jsx)(C,{global:e.global},"calculator"):null;case"people_say":return(0,a.jsx)(M,{peopleSayData:e.peopleSay,global:e.global},"process");case"pension_card":return(0,a.jsx)(ed,{global:e.global},"benefits-accordion");case"aboutus_section":return(0,a.jsx)(G,{global:e.global,image:e.zavodouTeamImage},"aboutus");case"faq":return(0,a.jsx)(H,{accordion:e.faq,global:e.global,image:e.romeImage},"faq");case"academy":return e.recentPosts?(0,a.jsx)(Y,{recentPosts:e.recentPosts,global:e.global},"academy"):null;case"testimonials":return e.testimonials?(0,a.jsx)(I,{testimonials:e.testimonials,global:e.global},"testimonials"):null;default:return console.log("Unknown section",t),null}};return(0,a.jsxs)(eu.T,{title:t("Domů"),className:"!px-0 overflow-x-hidden max-w-[2500px]",children:[e.navbar&&(0,a.jsx)(_.Z,{data:e.navbar,className:""}),e.homepageBuilder.map(e=>l(e)),e.footer&&(0,a.jsx)(ef.L,{footer:e.footer,global:e.global}),(0,a.jsx)(ep.W,{contactForm:!0})]})}}},function(e){e.O(0,[1246,6964,1942,5529,5604,8991,7256,3411,9468,3453,4958,5577,8080,4259,6649,3762,463,8918,2888,9774,179],function(){return e(e.s=2812)}),_N_E=e.O()}]);

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.