1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[984,2561,3618],{1507:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var i=l(37876);let s=e=>{let{className:t="",color:l="#fff",height:s="24",width:n="24"}=e;return(0,i.jsx)("svg",{className:t,fill:"none",height:s,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M16.8385 11.6299C17.2391 11.6349 17.6366 11.5596 18.0075 11.4084C18.3785 11.2573 18.7155 11.0334 18.9985 10.7499L21.8285 7.91991C22.0148 7.73255 22.1193 7.4791 22.1193 7.21491C22.1193 6.95073 22.0148 6.69728 21.8285 6.50991C21.7356 6.41618 21.625 6.34179 21.5031 6.29102C21.3812 6.24025 21.2505 6.21411 21.1185 6.21411C20.9865 6.21411 20.8558 6.24025 20.7339 6.29102C20.6121 6.34179 20.5015 6.41618 20.4085 6.50991L17.5485 9.32991C17.4556 9.42364 17.345 9.49803 17.2231 9.5488C17.1012 9.59957 16.9705 9.62571 16.8385 9.62571C16.7065 9.62571 16.5758 9.59957 16.4539 9.5488C16.3321 9.49803 16.2215 9.42364 16.1285 9.32991L19.6685 5.79991C19.7618 5.70667 19.8357 5.59598 19.8862 5.47416C19.9366 5.35234 19.9626 5.22177 19.9626 5.08991C19.9626 4.95805 19.9366 4.82749 19.8862 4.70566C19.8357 4.58384 19.7618 4.47315 19.6685 4.37991C19.5753 4.28667 19.4646 4.21271 19.3428 4.16225C19.2209 4.11179 19.0904 4.08582 18.9585 4.08582C18.8267 4.08582 18.6961 4.11179 18.5743 4.16225C18.4524 4.21271 18.3418 4.28667 18.2485 4.37991L14.7185 7.91991C14.5323 7.73255 14.4277 7.4791 14.4277 7.21491C14.4277 6.95073 14.5323 6.69728 14.7185 6.50991L17.5485 3.67991C17.6418 3.58667 17.7157 3.47598 17.7662 3.35416C17.8166 3.23234 17.8426 3.10177 17.8426 2.96991C17.8426 2.83805 17.8166 2.70748 17.7662 2.58566C17.7157 2.46384 17.6418 2.35315 17.5485 2.25991C17.4553 2.16667 17.3446 2.09271 17.2228 2.04225C17.1009 1.99179 16.9704 1.96582 16.8385 1.96582C16.7067 1.96582 16.5761 1.99179 16.4543 2.04225C16.3325 2.09271 16.2218 2.16667 16.1285 2.25991L13.2985 5.08991C12.7367 5.65241 12.4212 6.41491 12.4212 7.20991C12.4212 8.00491 12.7367 8.76741 13.2985 9.32991L11.9985 10.6199L3.72852 2.31991L3.62852 2.25991C3.5774 2.21531 3.52015 2.17827 3.45852 2.14991L3.27852 2.07991L3.15852 1.99991H3.08852H2.88852C2.8289 1.99038 2.76814 1.99038 2.70852 1.99991C2.64798 2.02195 2.59078 2.05223 2.53852 2.08991L2.37852 2.18991H2.30852L2.24852 2.28991C2.2062 2.34271 2.16934 2.39967 2.13852 2.45991C2.10924 2.52089 2.0858 2.58451 2.06852 2.64991C2.06852 2.64991 2.06852 2.71991 2.06852 2.75991C1.82586 4.45132 1.98057 6.17601 2.5204 7.79723C3.06023 9.41844 3.97032 10.8916 5.17852 12.0999L7.81852 14.7299L2.40852 20.1299C2.31479 20.2229 2.2404 20.3335 2.18963 20.4553C2.13886 20.5772 2.11272 20.7079 2.11272 20.8399C2.11272 20.9719 2.13886 21.1026 2.18963 21.2245C2.2404 21.3463 2.31479 21.4569 2.40852 21.5499C2.50196 21.6426 2.61278 21.7159 2.73462 21.7657C2.85645 21.8154 2.98692 21.8407 3.11852 21.8399C3.25013 21.8407 3.38059 21.8154 3.50243 21.7657C3.62427 21.7159 3.73508 21.6426 3.82852 21.5499L9.89852 15.5699L12.7285 12.7399L14.7285 10.7399C15.2865 11.3039 16.0452 11.6239 16.8385 11.6299ZM9.18852 13.4499L6.55852 10.8099C5.11698 9.34865 4.21437 7.44118 3.99852 5.39991L10.6085 11.9999L9.18852 13.4499ZM15.4285 14.0199C15.2402 13.8303 14.9843 13.7232 14.7171 13.7223C14.4498 13.7213 14.1932 13.8266 14.0035 14.0149C13.8139 14.2032 13.7068 14.4591 13.7059 14.7264C13.705 14.9936 13.8102 15.2503 13.9985 15.4399L20.2985 21.7399C20.4895 21.9137 20.7404 22.0069 20.9985 21.9999C21.1301 22.0007 21.2606 21.9754 21.3824 21.9257C21.5043 21.8759 21.6151 21.8026 21.7085 21.7099C21.8022 21.6169 21.8766 21.5063 21.9274 21.3845C21.9782 21.2626 22.0043 21.1319 22.0043 20.9999C22.0043 20.8679 21.9782 20.7372 21.9274 20.6153C21.8766 20.4935 21.8022 20.3829 21.7085 20.2899L15.4285 14.0199Z",fill:l})})}},13140:(e,t,l)=>{"use strict";l.d(t,{A:()=>L});var i=l(37876),s=l(87133),n=l(84371),a=l(15039),r=l.n(a),o=l(29904),d=l(68034);let c=l(9379).a.injectEndpoints({endpoints:e=>({getPromoBanners:e.query({serializeQueryArgs:e=>{let{queryArgs:t}=e;return t.target},query:e=>{let{cookie:t,target:l}=e;return{method:"GET",url:"/open/web/banners",params:{tgt:l}
1,headers:t?{cookie:t}:void 0}},transformResponse:(e,t,l)=>{let{target:i}=l;return e.map(e=>{let{targets:t,...l}=e;return{...l,target:i}})}})})}),{getPromoBanners:u}=c.endpoints,{useGetPromoBannersQuery:p}=c;var h=l(14232),m=l(54587),x=l.n(m);let j=e=>{let{alt:t,desktopImageUrl:l,mobileImageUrl:s,tabletImageUrl:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"relative m-auto block aspect-[16/9] w-full max-w-[1340px] cursor-pointer overflow-hidden sm:hidden",children:(0,i.jsx)(x(),{alt:t,className:"object-cover",fill:!0,sizes:"100vw",src:s,unoptimized:!0})}),(0,i.jsx)("div",{className:"relative m-auto hidden aspect-[3/1] w-full max-w-[1340px] cursor-pointer overflow-hidden sm:block lg:hidden",children:(0,i.jsx)(x(),{alt:t,className:"object-cover",fill:!0,sizes:"100vw",src:n,unoptimized:!0})}),(0,i.jsx)("div",{className:"relative m-auto hidden aspect-[1340/300] w-full max-w-[1340px] cursor-pointer overflow-hidden lg:block",children:(0,i.jsx)(x(),{alt:t,className:"object-cover",fill:!0,sizes:"(min-width: 1340px) 1340px, 100vw",src:l,unoptimized:!0})})]})},C=e=>{let{alt:t,desktopImageUrl:l,mobileImageUrl:s,tabletImageUrl:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"relative m-auto block aspect-[16/9] w-full max-w-[1340px] cursor-pointer overflow-hidden sm:hidden",children:(0,i.jsx)(x(),{alt:t,className:"object-cover",fill:!0,sizes:"100vw",src:s,unoptimized:!0})}),(0,i.jsx)("div",{className:"relative m-auto hidden aspect-[3/1] w-full max-w-[1340px] cursor-pointer overflow-hidden sm:block lg:hidden",children:(0,i.jsx)(x(),{alt:t,className:"object-cover",fill:!0,sizes:"100vw",src:n,unoptimized:!0})}),(0,i.jsx)("div",{className:"m-auto hidden h-[60px] w-full max-w-[950px] cursor-pointer items-center justify-center overflow-hidden lg:flex",children:(0,i.jsx)(x(),{alt:t,height:60,src:l,unoptimized:!0,width:950})})]})},v=e=>{let{alt:t,desktopImageUrl:l,isCompactBanner:s,mobileImageUrl:n,tabletImageUrl:a}=e;return s?(0,i.jsx)(C,{alt:t,desktopImageUrl:l,mobileImageUrl:n,tabletImageUrl:a}):(0,i.jsx)(j,{alt:t,desktopImageUrl:l,mobileImageUrl:n,tabletImageUrl:a})};var g=l(48230),f=l.n(g),k=l(89099);let w=e=>{let{banner:t,customDeepLink:l,isCompactBanner:s,onClick:n,onView:a}=e,r=(0,h.useRef)(null),o=(0,k.useRouter)();return((0,h.useEffect)(()=>{if(!r.current)return;let e=new IntersectionObserver(l=>{l.forEach(l=>{l.isIntersecting&&(a(t),e.disconnect())})},{threshold:.5});return e.observe(r.current),()=>{e.disconnect()}},[t,a]),!t.deepLink||l)?(0,i.jsx)("div",{onClick:()=>null==l?void 0:l(),onKeyDown:()=>null==l?void 0:l(),ref:r,role:"button",tabIndex:0,children:(0,i.jsx)(v,{alt:t.name,desktopImageUrl:t.desktopImageUrl,isCompactBanner:s,mobileImageUrl:t.mobileImageUrl,tabletImageUrl:t.tabletImageUrl})}):(0,i.jsx)("div",{ref:r,children:(0,i.jsx)(f(),{"aria-label":t.name,className:"block",href:((e,t)=>{let{pathname:l}=(e=>{let[t=""]=e.split("#"),[l=""]=t.split("?");return{pathname:l}})(t),{hash:i,shouldEdit:s}=((e,t)=>{try{let l=e.startsWith("http")?new URL(e):new URL(e,"https://dietly.pl");return{hash:l.hash,shouldEdit:!!l.hash&&l.pathname===t}}catch(e){return{hash:"",shouldEdit:!1}}})(e,l);if(!s)return e;let[n=""]=t.split("#");return"".concat(n).concat(i)})(t.deepLink,o.asPath),onClick:()=>n(t),children:(0,i.jsx)(v,{alt:t.name,desktopImageUrl:t.desktopImageUrl,isCompactBanner:s,mobileImageUrl:t.mobileImageUrl,tabletImageUrl:t.tabletImageUrl})})})};var N=l(10353),y=l(96032);let b="campaignBannersDisplay";l(30346);let L=e=>{let{closeable:t=!1,customDeepLink:l,isFixedOnDesktop:a=!1,target:c}=e,{data:u=[]}=p({target:c}),{handleClose:m,isVisible:x}=(()=>{let[e,t]=(0,h.useState)(!1);return(0,h.useEffect)(()=>{sessionStorage.getItem(b)||t(!0)},[]),{isVisible:e,handleClose:()=>{sessionStorage.setItem(b,"false"),t(!1)}}})(),{trackBannerClick:j,trackBannerView:C}=(()=>{let e=(0,k.useRouter)(),t=(0,h.useRef)(new Set),l="".concat("https://dietly.pl").concat((0,y.g)(e.asPath));return{trackBannerView:(0,h.useCallback)(e=>{t.current.has(e.name)||((0,N.BI)({banner_name:e.name,banner_type:"STANDALONE",target:e.target,url:l}),t.current.add(e.name))},[l]),trackBannerClick:(0,h.useCallback)(e=>{(0,N.IB)({banner_name:e.name,banner_type:"STANDALONE",target:e.target,url:l})},[l])}})();if(0===u.length||t&&!x)return null;let{background:v,isCompactBanner:g}=(e=>{var t,l;return{background:null==(t=e[0])?void 0:t.backgroundColor,isCompactBanner:null==(l=e[0])?void 0:l.isCompactBanner}})(u);return(0,i.jsx)("section",{className:r()({"lg:shadow-l lg:fixed lg:bottom-4 lg:left-1/2 lg:z-[600] lg:mb-5 lg:w-full lg:max-w-[1310px] lg:-translate-x-1/2 lg:rounded-lg lg:border-4 lg:border-white":a&&!g}),style:{background:v},children:(0,i.jsxs)("div",{className:"relative mx-auto w-full max-w-[1340px]",children:[t&&(0,i.jsx)("button",{"aria-label":"Close banner",className:"absolute right-2 top-2 z-[700] flex h-[24px] w-[24px] curs
1or-pointer items-center justify-center rounded bg-white p-0 text-gray-500 shadow-md transition-colors hover:bg-gray-200",onClick:m,type:"button",children:(0,i.jsx)(n.gc,{icon:s.GRI})}),(0,i.jsx)(d.RC,{autoplay:{delay:5e3,disableOnInteraction:!1},loop:u.length>1,modules:[o.Ij],pagination:{clickable:!0},slidesPerView:1,spaceBetween:16,children:u.map(e=>(0,i.jsx)(d.qr,{children:(0,i.jsx)(w,{banner:e,customDeepLink:l,isCompactBanner:g,onClick:j,onView:C})},e.name))})]})})}},17271:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var i=l(37876),s=l(77328),n=l.n(s),a=l(89099),r=l(35162);let o=e=>{let{hrefToMainPage:t=!1,isChooseDiet:l=!1}=e,s=(0,a.useRouter)();return(0,i.jsx)(n(),{children:(0,i.jsx)("link",{href:t?(0,r.$z)(s.asPath):l?(0,r.A_)(s.asPath):(0,r.$i)(s.asPath),rel:"canonical"})})}},19115:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var i=l(14232),s=l(21693);let n=function(e){var t=(0,i.useRef)(e);t.current=e,(0,s.A)(function(){return function(){return t.current()}})}},35162:(e,t,l)=>{"use strict";l.d(t,{$i:()=>i,$z:()=>s,A_:()=>n,KF:()=>a});let i=e=>{let t=new URL(e,"https://dietly.pl");return"".concat(t.origin).concat(t.pathname)},s=e=>new URL(e,"https://dietly.pl").origin,n=e=>{let t=new URL(e,"https://dietly.pl"),l=t.search.includes("konfigurator"),i=t.search.includes("nowe-zamowienie"),s="".concat(l||i?"?":"").concat(l?"konfigurator":"").concat(i?"nowe-zamowienie":"");return"".concat(t.origin).concat(t.pathname).concat(s)},a=e=>{let t=new URL(e,"https://dietly.pl");return(t.pathname.endsWith("/0")||t.pathname.endsWith("/1"))&&(t.pathname=t.pathname.slice(0,-2)),"".concat(t.origin).concat(t.pathname)}},43663:(e,t,l)=>{"use strict";l.d(t,{n:()=>r});var i=l(37876),s=l(87133),n=l(84371),a=l(6164);let r=e=>{let{children:t,isOpen:l,smallAccordion:r=!1,title:o}=e;return(0,i.jsxs)("div",{className:"accordion",children:[(0,i.jsxs)("div",{className:"accordion__header",children:[(0,i.jsxs)("div",{className:"icon_wrapper",children:[(0,i.jsx)(n.gc,{className:"accordion__icon",icon:s.EZy}),(0,i.jsx)(n.gc,{className:(0,a.F)("accordion__icon",{"accordion__icon-small-accordion":r,"accordion__icon-disactive":l}),icon:s.QLR})]}),(0,i.jsx)("h2",{className:"accordion__title label-m",children:o})]}),r?(0,i.jsx)("div",{className:"".concat((0,a.F)("",{"accordion__collapsed-small-accordion":!l})," accordion__content-small-accordion body-l"),children:t}):(0,i.jsx)("div",{className:"".concat((0,a.F)("",{accordion__collapsed:!l})," accordion__content body-l"),children:t})]})}},44480:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dieta-pudelkowa/[name]",function(){return l(98871)}])},60984:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Tooltip:()=>d,default:()=>c});var i=l(37876),s=l(14232),n=l(33144),a=l(94882),r=l(80400),o=l(6164);let d=e=>{let{children:t,containerClass:l,placementTooltip:d="bottom",tooltipClass:c,tooltipL:u,tooltipM:p,tooltipNone:h,tooltipS:m,tooltipText:x="",tooltipXs:j,tooltipXxs:C}=e,[v,g]=(0,s.useState)(!1),f=(0,s.useRef)(null),{context:k,floatingStyles:w,placement:N,refs:y}=(0,n.we)({open:v,onOpenChange:g,placement:d,middleware:[(0,a.cY)(8),(0,a.UU)(),(0,a.UE)({element:f})],whileElementsMounted:r.ll}),b=(0,n.Mk)(k),L=(0,n.iQ)(k),{getFloatingProps:_,getReferenceProps:R}=(0,n.bv)([b,L]);return(0,i.jsxs)("div",{className:"has-tooltip ".concat(l," relative"),children:[(0,i.jsx)("div",{ref:y.setReference,...R(),children:t}),!h&&(0,i.jsxs)("div",{className:(0,o.F)("tooltip absolute z-[9999]",{["tooltip-".concat(N)]:!!N,"tooltip-s":!!m,"tooltip-m":!!p,"tooltip-l":!!u,"tooltip-xs":!!j,"tooltip-xxs":!!C,"display-none":!!h}),"data-placement":N,ref:y.setFloating,style:{...w,zIndex:9999},..._(),children:[(0,i.jsx)("div",{className:"tooltip-body ".concat(c),children:x}),(0,i.jsx)("div",{className:"tooltip-arrow",ref:f})]})]})},c=d},77071:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var i=l(14232),s=l(19115);let n=function(e){var t=(0,i.useRef)(0),l=(0,i.useState)(e),n=l[0],a=l[1],r=(0,i.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){a(e)})},[]);return(0,s.A)(function(){cancelAnimationFrame(t.current)}),[n,r]};var a=l(75531);let r=function(e,t){void 0===e&&(e=1/0),void 0===t&&(t=1/0);var l=n({width:a.Bd?window.innerWidth:e,height:a.Bd?window.innerHeight:t}),s=l[0],r=l[1];return(0,i.useEffect)(function(){if(a.Bd){var e=function(){r({width:window.innerWidth,height:window.innerHeight})};return(0,a.on)(window,"resize",e),function(){(0,a.AU)(window,"resize",e)}}},[]),s}},98161:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var i=l(37876);let s=e=>{let{color:t="#06257F",height:l=80,width:s=80}=e;return(0,i.jsxs)("svg",{fill:"none",height:l,viewBox:"0 0 87 66",width:s,xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M52.6083 1.5561L39.9833 4.00079C38.121 4.36141 36.2204 3.59538 35.1297 2.04456C32.978 -1.01501 28.308 -0.557743 26.7917 2.861L20.9824 15.9584C20.4769 17.098 19.7023 18.0981 18.725 18.8728L2.47142 31.7576C-2.20895 35.4679 0.173596 42.9914 6.13813 43.3362L8.63032 43.4802C13.1896 43.7438 15.3453 49.2248 12.1854 52.5193C8.28138 56.5898 12.5233 63.1456 17.8406 61.2591L29.1342 57.2523C30.9985 56.5909 33.0458 56.6706 34.8528 57.475L52.5016 65.3302C56.6801 67.19 61.551 65.0279 62.9708 60.6832L63.3895 59.4021C64.0524 57.3735 65.5275 55.7105 67.4633 54.8092L83.8337 47.1874C89.422 44.5856 87.0823 36.1701 80.9516 36.8212C75.3722 37.4137 72.6367 30.219 77.2024 26.9
1605L78.2507 26.2123C83.4011 22.5364 79.7699 14.4504 73.5977 15.8508L61.3266 18.6349C56.34 19.7663 53.0998 13.5416 56.89 10.1118C60.6181 6.73815 57.5462 0.59992 52.6083 1.5561Z",fill:t,opacity:"0.1"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M70 39H16C14.9 39 14 38.1 14 37C14 35.9 14.9 35 16 35H70C71.1 35 72 35.9 72 37C72 38.1 71.1 39 70 39Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M70 39H16C14.9 39 14 38.1 14 37C14 35.9 14.9 35 16 35H70C71.1 35 72 35.9 72 37C72 38.1 71.1 39 70 39Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M16.458 39C19.421 43.629 32 49.205 32 56H54C54 49.205 66.579 43.629 69.542 39H16.458Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M16.458 39C19.421 43.629 32 49.205 32 56H54C54 49.205 66.579 43.629 69.542 39H16.458Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M26 22V21C26 17.684 28.684 15 32 15C40.844 15 44 23.156 44 32",fill:"white",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M23 32C23 26.473 27.473 22 33 22H35M29 32C29 29.789 30.789 28 33 28H38M37 25H33C29.131 25 26 28.131 26 32M33 31H38M62 32C62 26.473 57.527 22 52 22H45M56 32C56 29.789 54.211 28 52 28H47M46 25H52C55.869 25 59 28.131 59 32M52 31H47M30 20C30 18.894 30.894 18 32 18C39.185 18 41 24.814 41 32M26 22V21C26 17.684 28.684 15 32 15C40.844 15 44 23.156 44 32",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M49 16C49 17.657 47.657 19 46 19C44.343 19 43 17.657 43 16C43 14.343 44.343 13 46 13C47.657 13 49 14.343 49 16Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M49 16C49 17.657 47.657 19 46 19C44.343 19 43 17.657 43 16C43 14.343 44.343 13 46 13C47.657 13 49 14.343 49 16Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M42 10.5C42 12.433 40.433 14 38.5 14C36.567 14 35 12.433 35 10.5C35 8.567 36.567 7 38.5 7C40.433 7 42 8.567 42 10.5Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M42 10.5C42 12.433 40.433 14 38.5 14C36.567 14 35 12.433 35 10.5C35 8.567 36.567 7 38.5 7C40.433 7 42 8.567 42 10.5Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M58 17C58 18.657 56.657 20 55 20C53.343 20 52 18.657 52 17C52 15.343 53.343 14 55 14C56.657 14 58 15.343 58 17Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M58 17C58 18.657 56.657 20 55 20C53.343 20 52 18.657 52 17C52 15.343 53.343 14 55 14C56.657 14 58 15.343 58 17Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M52 8C52 9.657 50.657 11 49 11C47.343 11 46 9.657 46 8C46 6.343 47.343 5 49 5C50.657 5 52 6.343 52 8Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M52 8C52 9.657 50.657 11 49 11C47.343 11 46 9.657 46 8C46 6.343 47.343 5 49 5C50.657 5 52 6.343 52 8Z",fill:"white",fillRule:"evenodd",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M31.5 53H54.5H31.5Z",fill:"white",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M31.5 53H54.5",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]})}},98871:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>K,default:()=>J});var i=l(37876),s=l(14232),n=l(43663),a=l(25815),r=l(76065),o=l(15852),d=l(54345),c=l(77071),u=l(30152),p=l(60984);let h=e=>{let{className:t="",color:l="#06257F",height:s="32",width:n="32"}=e;return(0,i.jsx)("svg",{className:t,fill:"none",height:s,viewBox:"0 0 32 32",width:n,xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M25.3333 9.33366H21.3333V8.00033C21.3333 6.58584 20.7713 5.22928 19.7712 4.22909C18.771 3.2289 17.4144 2.66699 15.9999 2.66699C14.5854 2.66699 13.2289 3.2289 12.2287 4.22909C11.2285 5.22928 10.6666 6.58584 10.6666 8.00033V9.33366H6.66659C6.31296 9.33366 5.97382 9.47413 5.72378 9.72418C5.47373 9.97423 5.33325 10.3134 5.33325 10.66
17V25.3337C5.33325 26.3945 5.75468 27.4119 6.50482 28.1621C7.25497 28.9122 8.27239 29.3337 9.33325 29.3337H22.6666C23.7274 29.3337 24.7449 28.9122 25.495 28.1621C26.2452 27.4119 26.6666 26.3945 26.6666 25.3337V10.667C26.6666 10.3134 26.5261 9.97423 26.2761 9.72418C26.026 9.47413 25.6869 9.33366 25.3333 9.33366ZM13.3333 8.00033C13.3333 7.29308 13.6142 6.6148 14.1143 6.11471C14.6144 5.61461 15.2927 5.33366 15.9999 5.33366C16.7072 5.33366 17.3854 5.61461 17.8855 6.11471C18.3856 6.6148 18.6666 7.29308 18.6666 8.00033V9.33366H13.3333V8.00033ZM23.9999 25.3337C23.9999 25.6873 23.8594 26.0264 23.6094 26.2765C23.3593 26.5265 23.0202 26.667 22.6666 26.667H9.33325C8.97963 26.667 8.64049 26.5265 8.39044 26.2765C8.14039 26.0264 7.99992 25.6873 7.99992 25.3337V12.0003H10.6666V13.3337C10.6666 13.6873 10.8071 14.0264 11.0571 14.2765C11.3072 14.5265 11.6463 14.667 11.9999 14.667C12.3535 14.667 12.6927 14.5265 12.9427 14.2765C13.1928 14.0264 13.3333 13.6873 13.3333 13.3337V12.0003H18.6666V13.3337C18.6666 13.6873 18.8071 14.0264 19.0571 14.2765C19.3072 14.5265 19.6463 14.667 19.9999 14.667C20.3535 14.667 20.6927 14.5265 20.9427 14.2765C21.1928 14.0264 21.3333 13.6873 21.3333 13.3337V12.0003H23.9999V25.3337Z",fill:l})})};var m=l(11404);let x=function(e,t,l){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:4,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,n=arguments.length>5?arguments[5]:void 0;return a=>(l(!0),(0,m.l)(e,t,i,s,n).then(e=>a(e),e=>console.log("err",e)).finally(()=>l(!1)))};var j=l(23376),C=l(52276),v=l(84371),g=l(57923),f=l(6164),k=l(54587),w=l.n(k),N=l(48230),y=l.n(N),b=l(89099),L=l(70416);let _=e=>{let{higherMargins:t,isTabsComponentHidden:l,numberOfCaterings:n,pageDietTag:o,title:m}=e,k=(0,d.useSelector)(g.Jq),N=(0,d.useDispatch)(),_=(0,b.useRouter)(),[R,z]=(0,s.useState)("awarded-and-top"),[M,I]=(0,s.useState)(!1),[H,W]=(0,s.useState)(null),Z=(0,s.useRef)(null),{width:S}=(0,c.A)(),U=e=>{let t=e.target,l=Number(t.id);1===l&&Z.current&&(Z.current.scrollLeft=0),2===l&&t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"}),3===l&&Z.current&&(Z.current.scrollLeft=400)};(0,s.useEffect)(()=>{var e;x(R,null!=(e=null==k?void 0:k.cityId)?e:"",I,n,0,o)(W)},[R,N,k,n,o]);let A=e=>{let t=(null==H?void 0:H.totalElements)||0;return(0,i.jsx)(a.default,{blockButton:!!e,colorBlank:!0,containerClass:e?"color-gray-800":"spacer-left-34 color-primary",disabled:!(null==k?void 0:k.cityId),icon:e?(0,i.jsx)(v.gc,{className:"spacer-left-16",icon:C.dmS}):void 0,iconRight:!!e,label:e?(0,i.jsxs)(i.Fragment,{children:["Zobacz wszystkie (",t,")"]}):(0,i.jsxs)(i.Fragment,{children:["Wszystkie (",t,")",(0,i.jsx)(v.gc,{className:"spacer-left-16",icon:C.dmS})]}),onClick:()=>{if(null==k?void 0:k.cityId){let e=(null==k?void 0:k.urlName)||(null==k?void 0:k.sanitizedName);return o?_.push("/catering-dietetyczny/".concat(e,"?dietTags=").concat(encodeURIComponent(JSON.stringify([o])),"&sortOption=").concat(R)):_.push("/catering-dietetyczny/".concat(e,"?sortOption=").concat(R))}return null},sizeLarge:!!e})},F=e=>{_.push("/catering-dietetyczny-firma/".concat(e))},{searchData:T}=H||{searchData:[],totalElements:0};return(0,i.jsxs)("section",{className:(0,f.F)("listing container",{"listing--higher-margins":!!t}),children:[(0,i.jsx)("h2",{className:"listing__title",children:m}),(0,i.jsxs)("div",{className:"listing__filters-wrapper",children:[!l&&(0,i.jsxs)("div",{className:"listing__tab-wrapper",onClick:U,onKeyDown:U,ref:Z,role:"button",tabIndex:0,children:[(0,i.jsx)(a.default,{colorClean:"awarded-and-top"!==R,colorPrimary:"awarded-and-top"===R,id:"1",label:"Wyr\xf3żnione",onClick:()=>z("awarded-and-top")}),(0,i.jsx)(a.default,{colorClean:"top"!==R,colorPrimary:"top"===R,containerClass:"",id:"2",label:"Najwyżej oceniane",onClick:()=>z("top")})]}),(0,i.jsx)("div",{className:"listing__search-bar",children:(0,i.jsx)(u.default,{initialSelectedItem:k,size:L.j.L})}),(0,i.jsx)("div",{className:"listing__search-bar-button",children:(null==k?void 0:k.cityId)?A():(0,i.jsx)(p.default,{placementTooltip:"top",tooltipClass:"text-align-center",tooltipS:S>400,tooltipText:(0,i.jsx)("span",{children:"Wybierz miasto, aby zobaczyÄ wszystkie cateringi"}),children:(0,i.jsx)("div",{style:{display:"inline-block"},children:A()})})})]}),(0,i.jsxs)("div",{className:"listing__box-wrapper",children:[M&&(0,i.jsx)("div",{className:"listing__featching-overlay",children:(0,i.jsxs)("div",{className:"listing__featching-overlay-wrapper",children:[(0,i.jsx)(r.default,{}),(0,i.jsx)("span",{className:"label-s spacer-top-12",children:"Szukamy najlepszych catering\xf3wâ¦"})]})}),T&&T.length>0&&T.map(e=>{var t,l,s;let{dietNames:n,fullName:a,galleryImages:r,imageUrl:o,name:d,numberOfRates:c,rate:u}=e;return(0,i.jsxs)("div",{className:"listing-card",children:[(0,i.jsxs)(y(),{href:"/catering-dietetyczny-firma/".concat(d),children:[(0,i.jsx)("div",{className:(0,f.F)("listing-card__background",{"listing-card__background--placeholder":!(null==r?void 0:r[0])}),style:{backgroundImage:"url(".concat((null==r||null==(t=r[0])?void 0:t.urlMedium)||"meal.png",")")},children:(0,i.jsx)(w(),{alt:"Avatar kateringu ".concat(a),className:"relative z-10 h-[80px] w-[80px] rounded-[6px] object-cover",height:80,src:o,unoptimized:!0,width:80})}),(0,i.jsx)("div",{className:"listing-card__name label-l",children:a})]}),(0,i.jsxs)("div",{className:"listing-card__wrapper",children:[(0,i.jsxs)("div",{className:"listing-card__star cursor-pointer",onClick:()=>F(d),onKeyDown:e=>"Enter"===e.key&&F(d),role:"button",tabIndex:0,children:[(0,i.jsx)(v.gc,{className:"spacer-right-4",icon:C.yy}),(0,i.jsx)("span",{className:"spacer-right-5",children:u}),"(",c,")"]}),(0,i.jsx)("div",{className:"listing-card__prices",children:(0,i.jsx)(p.default,{placementTooltip:"right",tooltipM:S>500,tooltipS:S>400,tooltipText:(0,i.jsxs)("div",{className:"body-m",children:[(0,i.jsx)("span",{className:"label-m",children:"DostÄpne diety:"}),null==n||null==(s=n.slice().sort((e,t)=>
1e.localeCompare(t)))||null==(l=s.slice(0,5))?void 0:l.map(e=>(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{className:"spacer-right-2",children:"â¢"}),e]},e)),n&&n.length>5&&(0,i.jsxs)(i.Fragment,{children:["+ ",n.length-5," inne"]})]}),children:(0,i.jsxs)("div",{className:"display-flex align-items-center body-s color-gray-400 cursor-pointer",children:[(0,i.jsx)("div",{className:"spacer-right-4 display-flex align-items-center",children:(0,i.jsx)(h,{color:"#8FA1B3",height:"16",width:"16"})}),"".concat((null==n?void 0:n.length)||0," ").concat((0,j.R3)((null==n?void 0:n.length)||0))]})})})]})]},a)})]}),(0,i.jsx)("div",{className:"listing__button-mobile",children:(null==k?void 0:k.cityId)?A(!0):(0,i.jsx)(p.default,{containerClass:"width-100-per",placementTooltip:"top",tooltipClass:"text-align-center",tooltipS:!0,tooltipText:(0,i.jsx)("span",{children:"Wybierz miasto, aby zobaczyÄ wszystkie cateringi"}),children:(0,i.jsx)("div",{style:{display:"block"},children:A(!0)})})})]})},R=()=>(0,i.jsxs)("svg",{fill:"none",height:"64",viewBox:"0 0 64 64",width:"64",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{clipRule:"evenodd",d:"M59 39H5C3.9 39 3 38.1 3 37C3 35.9 3.9 35 5 35H59C60.1 35 61 35.9 61 37C61 38.1 60.1 39 59 39Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M59 39H5C3.9 39 3 38.1 3 37C3 35.9 3.9 35 5 35H59C60.1 35 61 35.9 61 37C61 38.1 60.1 39 59 39Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M5.45801 39C8.42101 43.629 21 49.205 21 56H43C43 49.205 55.579 43.629 58.542 39H5.45801Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M5.45801 39C8.42101 43.629 21 49.205 21 56H43C43 49.205 55.579 43.629 58.542 39H5.45801Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M15 22V21C15 17.684 17.684 15 21 15C29.844 15 33 23.156 33 32",fill:"white",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M12 32C12 26.473 16.473 22 22 22H24M18 32C18 29.789 19.789 28 22 28H27M26 25H22C18.131 25 15 28.131 15 32M22 31H27M51 32C51 26.473 46.527 22 41 22H34M45 32C45 29.789 43.211 28 41 28H36M35 25H41C44.869 25 48 28.131 48 32M41 31H36M19 20C19 18.894 19.894 18 21 18C28.185 18 30 24.814 30 32M15 22V21C15 17.684 17.684 15 21 15C29.844 15 33 23.156 33 32",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M38 16C38 17.657 36.657 19 35 19C33.343 19 32 17.657 32 16C32 14.343 33.343 13 35 13C36.657 13 38 14.343 38 16Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M38 16C38 17.657 36.657 19 35 19C33.343 19 32 17.657 32 16C32 14.343 33.343 13 35 13C36.657 13 38 14.343 38 16Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M31 10.5C31 12.433 29.433 14 27.5 14C25.567 14 24 12.433 24 10.5C24 8.567 25.567 7 27.5 7C29.433 7 31 8.567 31 10.5Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M31 10.5C31 12.433 29.433 14 27.5 14C25.567 14 24 12.433 24 10.5C24 8.567 25.567 7 27.5 7C29.433 7 31 8.567 31 10.5Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M47 17C47 18.657 45.657 20 44 20C42.343 20 41 18.657 41 17C41 15.343 42.343 14 44 14C45.657 14 47 15.343 47 17Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M47 17C47 18.657 45.657 20 44 20C42.343 20 41 18.657 41 17C41 15.343 42.343 14 44 14C45.657 14 47 15.343 47 17Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M41 8C41 9.657 39.657 11 38 11C36.343 11 35 9.657 35 8C35 6.343 36.343 5 38 5C39.657 5 41 6.343 41 8Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M41 8C41 9.657 39.657 11 38 11C36.343 11 35 9.657 35 8C35 6.343 36.343 5 38 5C39.657 5 41 6.343 41 8Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M20.5 53H43.5H20.5Z",fill:"white",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M20.5 53H43.5",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M63 50C63 43.373 57.627 38 51 38C44.373 38 39 43.373 39 50C39 56.627 44.373 62 51 62C57.627 62 63 56.627 63 50Z",fill:"white",fillRule:"evenodd",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M47.4646 53.5355L54.5356 46.4645L47.4646 53.5355Z",fill:"white",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M47.4646 53.5355L54.5356 46.4645",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M54.5354 53.5355L47.4644 46.4645L54.5354 53.5355Z",fill:"white",fillRule:"evenodd"}),(0,i.jsx)("path",{d:"M54.5354 53.5355L47.4644 46.4645",stroke:"#62748C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]});var z=l(98161),M=l(28417),I=l(59012),H=l(39116);let{useGetApiCompareDietsQuery:W}=l(9379).a.injectEndpoints({endpoints:e=>({getApiCompareDiets:e.query({query:e=>{let{caloriesMax:t,caloriesMin:l,cityId:i,companyNames:s,deliveryDate:n,dietTags:a,priceCategories:r,size:o}=e;return{method:"GET",url:"/open/compare/diets/search",params:{cityId:i,dietTags:a,caloriesMin:l,caloriesMax:t,companyNames:s,deliveryDate:n,priceCategories:r,size:o}}}
1,keepUnusedDataFor:3600})})});var Z=l(1507);let S=e=>{var t;let{diet:l}=e;return(0,i.jsxs)("div",{className:"popular-diet-card",children:[(0,i.jsx)("div",{className:"popular-diet-card__image",style:{backgroundImage:(null==l?void 0:l.dietImageUrl)?"url(".concat(null==l?void 0:l.dietImageUrl,")"):"url(/random-diet-3.png)"}}),(0,i.jsxs)("div",{className:"popular-diet-card__details",children:[(0,i.jsx)("div",{className:"popular-diet-card__details-company-name",children:null==l?void 0:l.companyFullName}),(0,i.jsxs)("div",{className:"popular-diet-card__details-feedback",children:[(0,i.jsx)(v.gc,{className:"popular-diet-card__details-feedback-star",icon:C.yy}),(0,i.jsx)("p",{className:"popular-diet-card__details-feedback-rate",children:(null==l||null==(t=l.companyRate)?void 0:t.toFixed(2))||"0.00"}),(0,i.jsx)("p",{className:"popular-diet-card__details-feedback-numberOfRates",children:"(".concat((null==l?void 0:l.numberOfRates)||"0",")")})]})]})]})},U=e=>{let{isFetching:t,results:l}=e;return(0,i.jsxs)(i.Fragment,{children:[t&&(0,i.jsxs)("div",{className:"popular-diets__loader",children:[(0,i.jsx)(r.default,{}),(0,i.jsx)("span",{className:"label-s spacer-top-16",children:"Sprawdzam popularne diety..."})]}),l&&l.length>0&&(0,i.jsx)("div",{className:"popular-diets__diets-container",children:l.map(e=>(0,i.jsx)(S,{diet:e},e.companyName+e.dietCaloriesId))})]})},A=e=>{let{label:t,name:l}=e,s=(0,I.G)(g.Jq),n=(0,I.j)(),{data:r,isFetching:o,isSuccess:d}=W({cityId:s.cityId,caloriesMax:3e3,caloriesMin:1500,dietTags:[l]},{skip:!s.cityId}),c=d?r.results.map(e=>({companyDietCaloriesDetailId:"".concat(e.companyName,"-").concat(e.dietCaloriesId),companyFullName:e.companyFullName,companyName:e.companyName,dietImageUrl:null==e?void 0:e.dietImageUrl,dietName:null==e?void 0:e.dietName,dietTag:null==e?void 0:e.dietTag})):[];return(0,i.jsxs)("div",{className:"popular-diets",children:[(0,i.jsxs)("div",{className:"popular-diets-content",children:[(0,i.jsx)("p",{className:"popular-diets__title",children:"Por\xf3wnaj najpopularniejsze diety w kategorii: ".concat(t)}),(0,i.jsx)(U,{isFetching:o,results:null==r?void 0:r.results})]}),(0,i.jsxs)("div",{className:"popular-diets-clickers",children:[(0,i.jsx)("div",{className:"spacer-bottom-8",children:(0,i.jsx)(a.default,{blockButton:!0,colorSuccess:!0,icon:(0,i.jsx)(Z.A,{}),label:"Dodaj do por\xf3wnania",onClick:()=>{n((0,H.yv)(c))}})}),(0,i.jsx)(u.default,{initialSelectedItem:s})]})]})};var F=l(53735),T=l(60669),D=l(17271),E=l(13140),B=l(17033),O=l(77328),V=l.n(O),P=l(30618);let q=e=>{let{dietName:t,dietTagId:l}=e;return(0,i.jsx)("div",{className:"container",children:P._.length>0&&(0,i.jsxs)("div",{className:"spacer-vertical-60",children:[(0,i.jsx)("h2",{className:"listing__title",children:"Dieta ".concat(t," - najpopularniejsze miasta:")}),(0,i.jsx)("ul",{className:"display-flex flex-wrap",children:P._.map(e=>(0,i.jsx)(y(),{href:"".concat(B.A.listingCatering.replace(":city",e.sanitizedName),"?dietTags=").concat(l,"&dTags=").concat(l),rel:"nofollow",children:(0,i.jsx)("li",{className:"caterings-list__seo-list-item",role:"menuitem",children:e.name})},e.cityId))})]})})},G=e=>{var t;let{dietObject:l}=e,d=(0,I.G)(g.Jq)||918123,{dietDescriptions:c,dietTagId:u,imageUrl:p,name:h}=l||{}
1,[m,x]=(0,s.useState)(0),{data:f}=(0,F.vY)(),{data:k,isFetching:N}=(0,T.ki)({cityId:d.cityId},{skip:!d.cityId}),b=(null==k?void 0:k.diets[u])||0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(V(),{children:[(0,i.jsx)("title",{children:"Polecane diety pudeÅkowe ".concat(h)},"title"),(0,i.jsx)("meta",{content:"".concat(h," - wybierz swojÄ
ulubionÄ
dietÄ z listy najpopularniejszych catering\xf3w dietetycznych na dietly.pl. Sprawdź ceny i zam\xf3w online."),name:"description"},"description")]}),(0,i.jsx)(D.A,{}),(0,i.jsx)(E.A,{closeable:!0,target:"BOX_DIET_LANDING"}),(0,i.jsxs)("section",{className:"diet-details container",children:[(0,i.jsxs)("div",{className:"diet-details__header",children:[(0,i.jsx)("div",{className:"relative mx-auto my-10 aspect-square w-full max-w-[350px] lg:max-w-[500px] lg:flex-[0.45]",children:(0,i.jsx)(w(),{alt:"Dieta ".concat(h),className:"h-full w-full object-contain",fill:!0,priority:!0,sizes:"(min-width: 1024px) 500px, (min-width: 576px) 50vw, 100vw",src:null!=p?p:"/suggestion-image.png",unoptimized:!0})}),(0,i.jsxs)("div",{className:"diet-details__description",children:[(0,i.jsxs)("h1",{className:"h100 spacer-bottom-24",children:[(0,i.jsx)("span",{className:"label-m spacer-bottom-8",children:"Dieta pudeÅkowa"}),(0,i.jsx)("br",{}),h]}),(null==c||null==(t=c[0])?void 0:t.description)&&(0,i.jsx)("p",{className:"body-xl",children:c[0].description}),(0,i.jsxs)("div",{className:"diet-details__diet-count-wrapper",children:[N&&(0,i.jsx)("div",{className:"diet-details__featching-overlay",children:(0,i.jsxs)("div",{className:"diet-details__featching-overlay-wrapper",children:[(0,i.jsx)(r.default,{}),(0,i.jsx)("span",{className:"label-s spacer-top-12",children:"Sprawdzamy dostÄpnoÅÄ diet..."})]})}),b?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"diet-details__diet-count",children:[(0,i.jsx)("div",{className:"diet-details__diet-count--success",children:(0,i.jsx)(z.A,{})}),(0,i.jsxs)("div",{className:"spacer-all-8",children:[(0,i.jsx)("p",{className:"body-l color-success-700 spacer-bottom-2",children:"Na Dietly zawsze najwiÄkszy wyb\xf3r!"}),(0,i.jsxs)("p",{className:"h400 color-success-700",children:["aż ",b," ",(e=>1===e?"dieta":e>1&&e<5?"diety":"diet")(b)," w mieÅcie"," ",d.name]})]})]}),(0,i.jsx)(y(),{href:"".concat(B.A.listingCatering.replace(":city",d.urlName||d.sanitizedName),"?dietTags=").concat(encodeURIComponent(JSON.stringify([u]))),rel:"nofollow",children:(0,i.jsx)(a.default,{colorSuccess:!0,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"spacer-right-10",children:"Zam\xf3w tÄ dietÄ"}),(0,i.jsx)(v.gc,{icon:C.dmS})]})})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"diet-details__diet-count",children:[(0,i.jsx)("div",{className:"diet-details__diet-count--error",children:(0,i.jsx)(R,{})}),(0,i.jsxs)("div",{className:"spacer-all-8",children:[(0,i.jsx)("p",{className:"body-l color-gray-500 spacer-bottom-2",children:"Ups! Nie znaleźliÅmy diety, kt\xf3rej szukasz"}),(0,i.jsxs)("p",{className:"h400 color-gray-500",children:["w mieÅcie ",d.name]})]})]}),(0,i.jsx)(y(),{href:"/dieta-pudelkowa/wszystkie-diety",children:(0,i.jsx)(a.default,{colorSuccess:!0,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"spacer-right-10",children:"ZmieÅ dietÄ"}),(0,i.jsx)(v.gc,{icon:C.dmS})]})})})]})]})]})]}),b>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(A,{label:h,name:u}),(0,i.jsx)(_,{numberOfCaterings:8,pageDietTag:u,title:"Dieta ".concat(h," - cateringi oferujÄ
cÄ tÄ dietÄ")})]}),(0,i.jsx)(q,{dietName:h,dietTagId:u}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("h2",{className:"h200 spacer-bottom-40",children:["Czym jest dieta ",h]}),null==c?void 0:c.slice(1,c.length).map((e,t)=>(0,i.jsx)("div",{className:"spacer-vertical-30",onClick:()=>x(t),onKeyDown:()=>x(t),role:"button",tabIndex:0,children:(0,i.jsx)(n.n,{isOpen:t===m,title:null==e?void 0:e.title,children:(0,i.jsx)("p",{children:null==e?void 0:e.description})})},t))]}),(0,i.jsx)(o.A,{title:"Czy odpowiada Ci dieta ".concat(h,"?")}),(0,i.jsxs)("div",{className:"spacer-bottom-120",children:[(0,i.jsx)("h2",{className:"h200",children:"Popularne diety"}),(0,i.jsx)("div",{className:"grid grid-cols-1 gap-6 gap-x-4 gap-y-8 sm:grid-cols-2 lg:grid-cols-4",children:[{tag:"WEIGHT LOSS"},{tag:"KETO"},{tag:"SIRTFOOD"},{tag:"STANDARD"}].map(e=>{let t=(0,j.lO)("dietTagId",e.tag)(f);return t?(0,i.jsx)("article",{className:"flex flex-col items-center transition-transform duration-200 hover:scale-105",children:(0,i.jsxs)(y(),{className:"w-full",href:"/dieta-pudelkowa/".concat(t.urlName),children:[(0,i.jsx)("div",{className:"relative mx-auto aspect-square w-full max-w-[280px]",children:(0,i.jsx)(w(),{alt:t.name,className:"h-full w-full object-contain",fill:!0,sizes:"(min-width: 1024px) 280px, (min-width: 640px) 50vw, 100vw",src:t.imageUrl,unoptimized:!0})}),(0,i.jsx)("h6",{className:"label-l mt-4 text-center text-gray-900",children:t.name})]})},e.tag):null})})]})]}),(0,i.jsx)(M.w,{})]})};var K=!0;let J=e=>{let{dietObject:t}=e;return(0,i.jsx)(G,{dietObject:t})}}},e=>{e.O(0,[6701,8034,4251,8417,2835,636,6593,8792],()=>e(e.s=44480)),_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.