1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8894],{788:function(e,l,s){Promise.resolve().then(s.bind(s,1122)),Promise.resolve().then(s.bind(s,9151)),Promise.resolve().then(s.bind(s,1130)),Promise.resolve().then(s.bind(s,3178)),Promise.resolve().then(s.bind(s,4294)),Promise.resolve().then(s.bind(s,7243)),Promise.resolve().then(s.bind(s,1282)),Promise.resolve().then(s.t.bind(s,5250,23))},1130:function(e,l,s){"use strict";s.r(l),s.d(l,{default:function(){return u}});var a=s(3827),r=s(9212),t=s(2265),n=s(4090),c=s(4456),i=s(1657);let d=n.forwardRef((e,l)=>{let{className:s,...r}=e;return(0,a.jsxs)(c.fC,{ref:l,className:(0,i.cn)("relative flex w-full touch-none select-none items-center",s),...r,children:[(0,a.jsx)(c.fQ,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-mzwarmyellow",children:(0,a.jsx)(c.e6,{className:"absolute h-full bg-mzwarmyellow"})}),(0,a.jsx)(c.bU,{className:"block h-4 w-4 rounded-full border-0 border-none bg-mzlightgrey focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});d.displayName=c.fC.displayName;let o=e=>{let{calculatorData:l}=e,[s,c]=(0,n.useState)([0]),[i,o]=(0,n.useState)(0),x=e=>{c(e)};return(0,n.useEffect)(()=>{o(15*s[0])},[s]),(0,a.jsx)("div",{className:"bg-white rounded-[50px] border border-black p-[30px] max-w-[498px]",children:(0,a.jsxs)("div",{className:"flex md:flex-row flex-col-reverse gap-8 md:gap-0",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(r.A,{variant:"yellowNoHover",size:"calculatorYellow",children:l.yellowTitle}),(0,a.jsxs)("div",{className:"flex flex-row place-content-between",children:[(0,a.jsx)(r.A,{variant:"calculator",size:"calculatorPewter",onClick:()=>{x([1])},children:"1"}),(0,a.jsx)(r.A,{variant:"calculator",size:"calculatorPewter",onClick:()=>{x([5])},children:"5"}),(0,a.jsx)(r.A,{variant:"calculator",size:"calculatorPewter",onClick:()=>{x([10])},children:"10"}),(0,a.jsx)(r.A,{variant:"calculator",size:"calculatorPewter",onClick:()=>{x([20])},children:"20"})]})]}),(0,a.jsx)(t.tR,{className:"my-2",children:l.calculatorTexts[2]}),(0,a.jsx)(d,{max:60,min:0,defaultValue:[1],onValueChange:x,value:s}),(0,a.jsxs)("div",{className:"mt-2 flex flex-row place-content-between",children:[(0,a.jsx)(t.tR,{children:"0"}),(0,a.jsx)(t.tR,{children:"".concat(s[0])})]})]}),(0,a.jsxs)("div",{className:"ml-3 px-4 md:border-l md:border-black flex flex-col items-center gap-3",children:[(0,a.jsx)(t.tR,{className:"text-center",children:l.calculatorTexts[0]}),(0,a.jsx)("div",{className:"bg-mzwarmyellow px-6 py-4 rounded-2xl w-[90px]",children:(0,a.jsx)(t._5,{className:"text-center",children:i})}),(0,a.jsx)(t.tR,{className:"text-center",children:l.calculatorTexts[1]})]})]})})},x=e=>{let{calculatorData:l}=e,[s,c]=(0,n.useState)([0]),[i,o]=(0,n.useState)([0]),[x,u]=(0,n.use
1State)([0]),[h,m]=(0,n.useState)(0);return(0,n.useEffect)(()=>{m(Math.round((10*s[0]+12.8*i[0]+19.2*x[0])/10*26))},[s,i,x]),(0,a.jsx)("div",{className:"bg-white rounded-[50px] border border-black p-[30px] max-w-[498px]",children:(0,a.jsxs)("div",{className:"flex md:flex-row flex-col-reverse gap-8 md:gap-0",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex flex-col gap-3",children:(0,a.jsx)(r.A,{variant:"yellowNoHover",size:"calculatorYellow",children:l.yellowTitle})}),(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)("table",{children:(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.tR,{className:"whitespace-nowrap",children:"mal\xe9 pivo"})}),(0,a.jsx)("td",{className:"w-full",children:(0,a.jsx)(d,{max:40,min:0,defaultValue:[0],onValueChange:e=>{c(e)},value:s})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{}),(0,a.jsx)("td",{className:"w-full",children:(0,a.jsxs)("div",{className:"flex flex-row place-content-between w-full",children:[(0,a.jsx)(t.tR,{children:"0"}),(0,a.jsx)(t.tR,{children:"".concat(s[0])})]})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.tR,{className:"whitespace-nowrap",children:"pan\xe1k"})}),(0,a.jsx)("td",{className:"w-full",children:(0,a.jsx)(d,{max:40,min:0,defaultValue:[0],onValueChange:e=>{o(e)},value:i})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{}),(0,a.jsx)("td",{className:"w-full",children:(0,a.jsxs)("div",{className:"flex flex-row place-content-between w-full",children:[(0,a.jsx)(t.tR,{children:"0"}),(0,a.jsx)(t.tR,{children:"".concat(i[0])})]})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.tR,{className:"whitespace-nowrap",children:"2 dcl v\xedna"})}),(0,a.jsx)("td",{className:"w-full",children:(0,a.jsx)(d,{max:40,min:0,defaultValue:[0],onValueChange:e=>{u(e)},value:x})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{}),(0,a.jsx)("td",{className:"w-full",children:(0,a.jsxs)("div",{className:"flex flex-row place-content-between w-full",children:[(0,a.jsx)(t.tR,{children:"0"}),(0,a.jsx)(t.tR,{children:"".concat(x[0])})]})})]})]})})})]}),(0,a.jsxs)("div",{className:"ml-3 px-4 md:border-l md:border-black flex flex-col items-center gap-3",children:[(0,a.jsx)(t.tR,{className:"text-center",children:l.calculatorTexts[0]}),(0,a.jsx)("div",{className:"bg-mzwarmyellow px-6 py-4 rounded-2xl w-[90px]",children:(0,a.jsx)(t._5,{className:"text-center",children:h})}),(0,a.jsx)(t.tR,{className:"text-center",children:l.calculatorTexts[1]})]})]})})};var u=e=>{let{className:l,calculator:s}=e;if(!s)return null;let c="koureni"==s.calculatorType?o:x;return(0,a.jsxs)("div",{className:(0,i.cn)(l),id:s.refId,children:[(0,a.jsx)(t._5,{className:"text-center md:text-left pb-2 md:pb-0",children:s.mainTitle}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 items-center gap-4 md:gap-0",children:[(0,a.jsx)("div",{children:(0,a.jsx)(c,{calculatorData:s})}),(0,a.jsxs)("div",{className:"flex flex-col max-w-[600px]",children:[(0,a.jsx)(t.Vv,{className:"mb-2",children:s.secondTitle}),(0,a.jsx)("div",{children:s.texts.map((e,l)=>(0,a.jsx)(n.Fragment,{children:(0,a.jsx)(t.OI,{children:e})},"".concat("cGqjITSOVXdC").concat(l)))}),(0,a.jsx)(r.A,{variant:"yellow",className:"self-end mt-1",children:(0,a.jsx)("a",{target:"_blank",href:s.buttonLink,rel:"noopener noreferrer",children:s.buttonText})})]})]})]})}},3178:function(e,l,s){"use strict";s.r(l),s.d(l,{default:function(){return p}});var a=s(3827),r=s(4090),t=s(8062),n=s(9108),c=s(7805),i=s(1657),d=s(5754);let o=r.createContext(null);function x(){let e=r.useContext(o);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let u=r.forwardRef((e,l)=>{let{orientation:s="horizontal",opts:n,setApi:c,plugins:d,className:x,children:u,...h}=e,[m,f]=(0,t.Z)({...n,axis:"horizontal"===s?"x":"y"},d),[j,v]=r.useState(!1),[w,p]=r.useState(!1),N=r.useCallback(e=>{e&&(v(e.canScrollPrev()),p(e.canScrollNext()))},[]),b=r.useCallback(()=>{null==f||f.scrollPrev()},[f]),g=r.useCallback(()=>{null==f||f.scrollNext()},[f]),y=r.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),g())},[b,g]);return r.useEffect(()=>{f&&c&&c(f)},[f,c]),r.useEffect(()=>{if(f)return N(f),f.on("reInit",N),f.on("select",N),()=>{null==f||f.off("select",N)}},[f,N]),(0,a.jsx)(o.Provider,{value:{carouselRef:m,api:f,opts:n,orientation:s||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:b,scrollNext:g,canScrollPrev:j,
1canScrollNext:w},children:(0,a.jsx)("div",{ref:l,onKeyDownCapture:y,className:(0,i.cn)("relative",x),role:"region","aria-roledescription":"carousel",...h,children:u})})});u.displayName="Carousel";let h=r.forwardRef((e,l)=>{let{className:s,...r}=e,{carouselRef:t,orientation:n}=x();return(0,a.jsx)("div",{ref:t,className:"overflow-hidden",children:(0,a.jsx)("div",{ref:l,className:(0,i.cn)("flex","horizontal"===n?"-ml-4":"-mt-4 flex-col",s),...r})})});h.displayName="CarouselContent";let m=r.forwardRef((e,l)=>{let{className:s,...r}=e,{orientation:t}=x();return(0,a.jsx)("div",{ref:l,role:"group","aria-roledescription":"slide",className:(0,i.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===t?"pl-4":"pt-4",s),...r})});m.displayName="CarouselItem";let f=r.forwardRef((e,l)=>{let{className:s,variant:r="outline",size:t="icon",...c}=e,{orientation:o,scrollPrev:u,canScrollPrev:h}=x();return(0,a.jsxs)(d.z,{ref:l,variant:r,size:t,className:(0,i.cn)("absolute h-8 w-8 rounded-full","horizontal"===o?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!h,onClick:u,...c,children:[(0,a.jsx)(n.Z,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});f.displayName="CarouselPrevious";let j=r.forwardRef((e,l)=>{let{className:s,variant:r="outline",size:t="icon",...n}=e,{orientation:o,scrollNext:u,canScrollNext:h}=x();return(0,a.jsxs)(d.z,{ref:l,variant:r,size:t,className:(0,i.cn)("absolute h-8 w-8 rounded-full","horizontal"===o?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!h,onClick:u,...n,children:[(0,a.jsx)(c.Z,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Next slide"})]})});j.displayName="CarouselNext";var v=s(8792);let w=e=>e.sort(()=>Math.random()-.5);var p=e=>{let{images:l}=e,[s,t]=(0,r.useState)(!1),n=w(l);return((0,r.useEffect)(()=>{t(!0)},[s]),s)?(0,a.jsxs)(u,{className:"w-full",children:[(0,a.jsx)(h,{children:n.map((e,l)=>(0,a.jsx)(m,{className:"md:basis-1/3",children:(0,a.jsx)("div",{className:"p-1",children:(0,a.jsx)(v.default,{href:e.href,children:(0,a.jsx)("img",{src:e.carouselImage,alt:"",className:"object-cover aspect-[4/3] rounded-[16px] hover:opacity-40"})})})},"".concat("FbAog").concat(l)))}),(0,a.jsx)(f,{className:"left-0 z-50 disabled:hidden bg-mzwarmyellow"}),(0,a.jsx)(j,{className:"right-0 z-50 disabled:hidden bg-mzwarmyellow"})]}):null}}},function(e){e.O(0,[1465,2306,2420,2502,2400,2590,5250,7957,6429,4456,6935,1425,5348,9151,2971,8069,1744],function(){return e(e.s=788)}),_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.