PageSourceSearch

https://petrolboys.pl/_next/static/chunks/app/blog/page-3c134fb6428b912f.js

js petrolboys.pl collected 2026-10-06 08:56:23 UTC 17,668 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3831],{5730:(e,r,a)=>{"use strict";a.d(r,{ScrollReveal:()=>o});var t=a(95155),n=a(74766),s=a(7367),l=a(20063),i=a(9387);function o({children:e,variants:r=i.rV,className:a,delay:o=0,once:d=!0,amount:c=.2,as:h="div"}){let u=(0,n.I)(),m=(0,l.usePathname)();if(u)return(0,t.jsx)(h,{className:a,children:e});let p=s.m[h];return(0,t.jsx)(p,{initial:"hidden",whileInView:"visible",viewport:{once:d,amount:c},variants:r,className:a,transition:{delay:o},children:e},m)}},19636:(e,r,a)=>{"use strict";a.d(r,{Pagination:()=>b});var t=a(95155),n=a(52619),s=a.n(n),l=a(90368),i=a(27937),o=a(20522),d=a(77979);let c=({icon:e,label:r,iconFirst:a})=>{let{pending:s}=(0,n.useLinkStatus)(),l=s?(0,t.jsx)("span",{"aria-hidden":!0,className:"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent"}):(0,t.jsx)(e,{size:18,"aria-hidden":!0});return(0,t.jsxs)("span",{className:(0,d.cn)("inline-flex items-center gap-1.5 uppercase tracking-wider",s&&"opacity-80"),children:[a&&l,(0,t.jsx)("span",{className:"hidden sm:inline",children:r}),!a&&l]})},h=({href:e,rel:r,label:a,nofollow:n})=>{let h="prev"===r?l.A:i.A,u="prev"===r,m=u?o.x.label.prev:o.x.label.next;return e?(0,t.jsx)(o.Button,{as:s(),href:e,rel:n?`nofollow ${r}`:r,"aria-label":a,className:m,children:(0,t.jsx)(c,{icon:h,label:a,iconFirst:u})}):(0,t.jsx)(o.Button,{as:"span",variant:"ghost","aria-disabled":!0,className:(0,d.cn)(m,o.x.off),children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 uppercase tracking-wider",children:[u&&(0,t.jsx)(h,{size:18,"aria-hidden":!0}),(0,t.jsx)("span",{className:"hidden sm:inline",children:a}),!u&&(0,t.jsx)(h,{size:18,"aria-hidden":!0})]})})},u="[clip-path:polygon(18px_0,100%_0,calc(100%-18px)_100%,0_100%)] -ml-4 rounded-none pl-6 pr-6 z-[5] min-w-0 font-oswald tabular-nums hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.35)]",m=({page:e,href:r,current:a,nofollow:n})=>a?(0,t.jsx)(o.Button,{as:"span","aria-current":"page",className:(0,d.cn)(u,"z-[6]"),children:e}):(0,t.jsx)(o.Button,{as:s(),href:r,variant:"secondary",rel:n?"nofollow":void 0,"aria-label":`Strona ${e}`,className:u,children:e}),p=({children:e,className:r})=>(0,t.jsx)(o.Button,{as:"span",variant:"secondary","aria-hidden":!0,className:(0,d.cn)(u,"pointer-events-none pl-5 pr-5 text-action/50 hover:border-action/40 hover:bg-transparent hover:shadow-none",r),children:e}),b=({prevHref:e,nextHref:r,pages:a,nofollow:n=!1})=>{if(!e&&!r&&!a||a&&a.count<=1)return null;let s=a?.items[0]?.page??1,l=a?.items.at(-1)?.page??a?.count??1;return(0,t.jsxs)("nav",{"aria-label":"Nawigacja po stronach",className:"inline-flex items-stretch",children:[(0,t.jsx)(h,{href:e,rel:"prev",label:"Poprzednie",nofollow:n}),a&&(0,t.jsxs)("span",{className:"hidden items-stretch sm:inline-flex",children:[s>1&&a.firstHref&&(0,t.jsx)(m,{page:1,href:a.firstHref,current:!1,nofollow:n}),s>2&&(0,t.jsx)(p,{children:"…"}),a.items.map(e=>(0,t.jsx)(m,{page:e.page,href:e.href,current:e.page===a.current,nofollow:n},e.page)),l<a.count-1&&(0,t.jsx)(p,{children:"…"}),l<a.count&&a.lastHref&&(0,t.jsx)(m,{page:a.count,href:a.lastHref,current:!1,nofollow:n})]}),a&&(0,t.jsxs)(p,{className:"text-foreground/80 sm:hidden",children:[a.current," / ",a.count]}),(0,t.jsx)(h,{href:r,rel:"next",label:"Następne",nofollow:n})]})}},20522:(e,r,a)=>{"use strict";a.d(r,{Button:()=>i,x:()=>s});var t=a(95155),n=a(75889);let s={label:{prev:"[clip-path:polygon(0_0,100%_0,calc(100%-18px)_100%,0_100%)] rounded-r-none pr-8 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.35)]",next:"[clip-path:polygon(18px_0,100%_0,100%_100%,0_100%)] -ml-4 rounded-l-none pl-8 z-10 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.35)]"},icon:{prev:"[clip-path:polygon(0_0,100%_0,calc(100%-14px)_100%,0_100%)] rounded-full rounded-r-none w-14 pl-3 pr-6 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.35)]",next:"[clip-path:polygon(14px_0,100%_0,100%_100%,0_100%)] -ml-3 rounded-full rounded-l-none w-14 pl-6 pr-3 z-10 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.35)]"},off:"cursor-not-allowed border-neutral-800 bg-neutral-800 text-neutral-500 hover:border-neutral-800 hover:bg-neutral-800 hover:text-neutral-500 hover:shadow-none before:hidden"},l=()=>
1(0,t.jsx)("span",{"aria-hidden":!0,className:"inline-block h-[1.1em] w-[1.1em] shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent"}),i=({as:e,variant:r="primary",size:a="md",iconOnly:s=!1,icon:i,startIcon:o,endIcon:d,labelClassName:c,className:h,loading:u=!1,children:m,disabled:p,blacked:b=!1,...x})=>{let f=e||"button",g=!!p||u,v=(0,n.QP)("group relative inline-flex select-none items-center justify-center gap-2 overflow-hidden whitespace-nowrap rounded-md font-oswald","transition-[transform,box-shadow,background-color,color,border-color,opacity] duration-300 ease-out","before:pointer-events-none before:absolute before:inset-y-0 before:-left-1/2 before:w-2/5 before:-skew-x-[20deg] before:bg-gradient-to-r before:from-transparent before:to-transparent before:opacity-0 before:transition-[transform,opacity] before:duration-[550ms] before:ease-out motion-safe:hover:before:translate-x-[380%] hover:before:opacity-100","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background","sm"===a?"h-10 text-sm tracking-wide":"h-12 text-base",!i&&("sm"===a?"px-4":"px-6")),w=(0,n.QP)(v,i?"text-foreground before:hidden":b?"border border-background bg-background text-action before:via-white/10 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]":"primary"===r?"border border-action bg-action text-background before:via-white/40 hover:bg-[#fcc61f] hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.35),0_10px_24px_-12px_rgba(251,192,11,0.6)]":"secondary"===r?"border border-action/40 bg-transparent text-action before:via-action/20 hover:border-action/80 hover:bg-action/[0.06]":"border border-transparent bg-transparent text-foreground/80 before:via-white/10 hover:bg-foreground
1/5 hover:text-foreground",s&&"rounded-full px-5",g&&"cursor-not-allowed opacity-70 hover:shadow-none",h),j=u?(0,t.jsx)(l,{}):o;return(0,t.jsxs)(f,{className:w,disabled:"button"===f?g:void 0,"aria-busy":u||void 0,...x,children:[i?(0,t.jsx)("span",{className:(0,n.QP)("relative z-10 flex h-12 w-12 flex-none items-center justify-center overflow-hidden rounded-md transition-all duration-300","before:pointer-events-none before:absolute before:inset-y-0 before:-left-1/2 before:w-2/5 before:-skew-x-[20deg] before:bg-gradient-to-r before:from-transparent before:via-action/30 before:to-transparent before:opacity-0 before:transition-[transform,opacity] before:duration-[550ms] before:ease-out motion-safe:group-hover:before:translate-x-[380%] group-hover:before:opacity-100","primary"===r?"border border-action bg-action text-background group-hover:bg-transparent group-hover:text-action":"border border-neutral-600 bg-transparent text-neutral-400 group-hover:border-action group-hover:bg-action/10 group-hover:text-action"),children:(0,t.jsx)("span",{className:"relative z-10 flex",children:u?(0,t.jsx)(l,{}):i})}):j&&(0,t.jsx)("span",{className:"relative z-10 flex shrink-0 items-center",children:j}),!s&&(0,t.jsx)("span",{className:(0,n.QP)("relative z-10 tracking-wide",i&&"pl-2 pr-5",u&&"opacity-80",c),children:m}),!i&&d&&(0,t.jsx)("span",{className:"relative z-10 flex shrink-0 items-center",children:d})]})}},41673:(e,r,a)=>{"use strict";a.d(r,{Breadcrumbs:()=>d});var t=a(95155);a(12115);var n=a(52619),s=a.n(n),l=a(20063),i=a(65993);let o={"obslugiwane-miasta":"Obsługiwane miasta"},d=({lastItemTitle:e,items:r})=>{let a=(0,l.usePathname)().split("/").filter(Boolean).map((e,r,a)=>"/"+a.slice(0,r+1).join("/")),n=a.map((r,t)=>{let n=r.split("/").pop()||"";return{href:r,title:t===a.length-1&&e?e:function(e){if(o[e])return o[e];let r=e.replace(/-/g," ");return r.charAt(0).toUpperCase()+r.slice(1)}(decodeURIComponent(n))}}),d=r??[{href:"/",title:""},...n];return d.length<=1?null:(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"w-full overflow-hidden",children:(0,t.jsx)("ol",{className:"flex items-center text-sm text-neutral-400 space-x-2 overflow-hidden",children:d.map((e,r)=>{let a=r===d.length-1;return(0,t.jsxs)("li",{className:`flex items-center ${a?"flex-1 min-w-0":"shrink-0"}`,children:[r>0&&(0,t.jsx)("span",{className:"mx-2 text-neutral-600 shrink-0",children:"/"}),a||!e.href?(0,t.jsx)("span",{className:"truncate text-action block overflow-hidden whitespace-nowrap w-full",title:e.title,children:e.title}):(0,t.jsx)(s(),{href:e.href,className:"relative flex items-center group whitespace-nowrap shrink-0",children:0===r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.A,{className:"w-4 h-4 shrink-0 text-current"}),(0,t.jsx)("span",{className:"hidden absolute bottom-0 left-0 w-full h-[1px] bg-current group-hover:block"})]}):(0,t.jsx)("span",{className:"group-hover:underline",children:e.title})})]},e.href??`${r}-${e.title}`)})})})}},60046:(e,r,a)=>{"use strict";a.d(r,{PageHeader:()=>c});var t=a(95155),n=a(74766),s=a(7367),l=a(20063),i=a(41673),o=a(47043),d=a(9387);let c=({caption:e,title:r,highlight:a,breadcrumbTitle:c,breadcrumbItems:h,sticky:u=!0,children:m})=>{let p=(0,n.I)(),b=(0,l.usePathname)();return(0,t.jsxs)(s.m.div,{initial:!p&&"hidden",animate:"visible",variants:d.bK,className:u?"md:sticky md:top-1/2 md:-translate-y-1/2":void 0,children:[(0,t.jsx)(s.m.div,{variants:d.rV,className:"mb-8 overflow-hidden",children:(0,t.jsx)("div",{className:"min-w-0",children:(0,t.jsx)(i.Breadcrumbs,{lastItemTitle:c,items:h})})}),(0,t.jsxs)(s.m.div,{variants:d.rV,children:[e&&(0,t.jsxs)("div",{className:"inline-block mb-2 text-xs font-oswald uppercase tracking-[0.35em] text-neutral-400",children:[(0,t.jsx)("span",{className:"font-oswald",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-2 w-3/4",children:[(0,t.jsx)("div",{className:"h-1 basis-1/3 rounded-full bg-action"}),(0,t.jsx)("div",{className:"h-[2px] basis-2/3 rounded-full bg-neutral-700/70"})]})]}),(0,t.jsx)(o.D,{variant:"h1",highlight:a,children:r})]}),m&&(0,t.jsx)(s.m.div,{variants:d.rV,children:m})]},b)}},67118:(e,r,a)=>{"use strict";a.d(r,{StaggerContainer:()=>o});var t=a(95155),n=a(74766),s=a(7367),l=a(20063),i=a(9387);function o({children:e,variants:r=i.bK,className:a,delay:o=0,once:d=!0,amount:c=.2,as:h="div"}){let u=(0,n.I)(),m=(0,l.usePathname)();if(u)return(0,t.jsx)(h,{className:a,children:e});let p=s.m[h];
1return(0,t.jsx)(p,{initial:"hidden",whileInView:"visible",viewport:{once:d,amount:c},variants:r,className:a,transition:{delay:o},children:e},m)}},77979:(e,r,a)=>{"use strict";a.d(r,{cn:()=>s});var t=a(2821),n=a(75889);let s=(...e)=>(0,n.QP)((0,t.$)(e))},78149:(e,r,a)=>{"use strict";a.d(r,{AnimatedList:()=>o,AnimatedListItem:()=>d});var t=a(95155),n=a(74766),s=a(7367),l=a(20063),i=a(9387);let o=({children:e,className:r,as:a="div",variants:o=i.bK})=>{let d=(0,n.I)(),c=(0,l.usePathname)(),h=s.m[a];return(0,t.jsx)(h,{initial:!d&&"hidden",animate:"visible",variants:o,className:r,children:e},c)},d=({children:e,className:r,as:a="div"})=>{let n=s.m[a];return(0,t.jsx)(n,{variants:i.rV,className:r,children:e})}},82740:(e,r,a)=>{"use strict";a.d(r,{BlogPostCard:()=>_});var t=a(95155),n=a(12115),s=a(15239),l=a(52619),i=a.n(l),o=a(26983),d=a(27937),c=a(74766),h=a(7367),u=a(56558),m=a(38581),p=a(2230),b=a(75889);let x=({label:e,icon:r,variant:a="md",background:n="bg-background"})=>(0,t.jsx)("div",{className:"group/badge",children:(0,t.jsxs)("div",{className:(0,b.QP)("flex flex-nowrap justify-between items-center gap-2 py-1.5 px-3 rounded-md text-foreground shadow-md","border border-neutral-800/50 transition-all duration-200","hover:border-action/40 hover:shadow-[0_4px_12px_rgba(251,192,11,0.1)]",n),children:[(0,t.jsx)("div",{className:(0,b.QP)("transition-transform duration-200 group-hover/badge:scale-110","sm"===a&&"min-w-3 md:min-w-4","md"===a&&"min-w-4"),children:r}),(0,t.jsx)("span",{className:(0,b.QP)("sm"===a&&"text-xs md:text-base","md"===a&&"text-base"),children:e})]})}),f=({badges:e,variant:r="md",background:a})=>(0,t.jsx)("ul",{className:"flex flex-wrap gap-2",children:e.map(e=>{let n=m[e.icon]||m.faCar;return(0,t.jsx)("li",{children:(0,t.jsx)(x,{label:e.label,icon:(0,t.jsx)(p.g,{icon:n,className:"text-action/70"}),variant:r,background:a})},e.label)})});var g=a(47043),v=a(87227),w=a(9387),j=a(58049),N=a(20522);let _=(0,n.memo)(function({title:e,image:r,slug:a,publishedAt:n,labels:{dateAddedLabel:l},tags:m=[],readingTime:p}){let b=new Date(n).toLocaleDateString("pl-PL",{day:"2-digit",month:"2-digit",year:"numeric"}),x=(0,v.p)(r,["small","thumbnail"]),_=(0,c.I)();if(!x)return null;let k=m[0];return(0,t.jsx)(i(),{href:u.d.paths.getBlogPost(a),className:"group block h-full",children:(0,t.jsxs)(h.m.article,{variants:_?void 0:w.$f,..._?{}:{initial:"rest",whileHover:"hover",animate:"rest"},className:"relative bg-backgroundLight border border-neutral-800 rounded-xl overflow-hidden flex flex-col lg:flex-row h-full lg:h-80 transition-colors hover:border-action/30",children:[(0,t.jsxs)("div",{className:"relative lg:basis-1/2 shrink-0 h-56 lg:h-full overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 lg:[clip-path:polygon(0_0,100%_0,85%_100%,0_100%)]",children:(0,t.jsx)(h.m.div,{variants:_?void 0:w.GB,className:"h-full w-full",children:(0,t.jsx)(s.default,{src:x.url,width:x.width,height:x.height,alt:x.alt||e.concat(" - Zdjecie glowne"),sizes:"(max-width: 1024px) 100vw, 50vw",className:"h-full w-full object-cover"})})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-automotive-gradient opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),k&&(0,t.jsx)("div",{className:"absolute top-4 left-4 z-10",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-white/15 bg-background/80 px-3 py-1.5 text-xs font-oswald uppercase tracking-wider text-neutral-200 backdrop-blur-md shadow-lg shadow-black/30",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"inline-block h-1.5 w-1.5 shrink-0 rounded-full bg-action"}),k.label]})}),p&&(0,t.jsx)("div",{className:"absolute bottom-4 left-4 z-10",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-white/15 bg-background/80 px-3 py-1.5 text-xs font-oswald uppercase tracking-wider text-neutral-200 backdrop-blur-md shadow-lg shadow-black/30",children:[(0,t.jsx)(o.A,{size:14,className:"text-action","aria-hidden":!0}),p," min"]})})]}),(0,t.jsxs)("div",{className:"relative flex flex-grow flex-col p-5 lg:block lg:basis-1/2 lg:-ml-[7.5%] lg:pt-0 lg:pb-24 lg:pl-4 lg:pr-5",children:[(0,t.jsx)("div",{"aria-hidden":!0,
1className:"hidden lg:block float-left h-[calc(100%+6rem)] w-[13%] [shape-outside:polygon(0_0,100%_0,0_100%)] [shape-margin:0.75rem]"}),(0,t.jsx)(g.D,{variant:"h2",className:"text-xl md:text-2xl lg:text-3xl transition-colors group-hover:text-action max-lg:line-clamp-2 mb-3 lg:pt-5",children:e}),m.length>1&&(0,t.jsx)("div",{className:"mb-4 lg:mb-2 lg:[&>ul]:block lg:[&>ul>li]:mb-2 lg:[&>ul>li]:mr-2 lg:[&>ul>li]:inline-block lg:[&>ul>li]:align-top",children:(0,t.jsx)(f,{badges:m.slice(1,3),variant:"sm"})}),(0,t.jsxs)("div",{className:"mt-auto pt-4 border-t border-neutral-800/50 flex items-center justify-between lg:absolute lg:bottom-5 lg:left-9 lg:right-5 lg:mt-0",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-roboto text-xs text-neutral-500 uppercase tracking-wider",children:l}),(0,t.jsx)("p",{className:"font-oswald text-sm text-neutral-300",children:b})]}),(0,t.jsx)(N.Button,{as:"span",iconOnly:!0,variant:"secondary",startIcon:(0,t.jsx)(d.A,{size:18,"aria-hidden":!0}),className:"h-10 shrink-0 px-4 group-hover:border-action group-hover:bg-action group-hover:text-background group-hover:before:opacity-100 motion-safe:group-hover:before:translate-x-[380%]"})]})]}),(0,t.jsx)(j.r,{position:"left"})]})})})},87227:(e,r,a)=>{"use strict";a.d(r,{p:()=>s});let t={thumbnail:["thumbnail","small","medium","large","original"],small:["small","medium","large","original"],medium:["medium","large","small","original"],large:["large","medium","small","original"],original:["original","large","medium","small","thumbnail"]},n=(e,r)=>{if("original"===r)return e.url?{url:e.url,width:e.width,height:e.height}:null;let a=e.formats?.[r];return a?.url?a:null},s=(e,r="medium")=>{if(!e)return null;for(let a of Array.isArray(r)?Array.from(new Set(r.reduce((e,r)=>e.concat(t[r]),[]))):t[r]){let r=n(e,a);if(r)return{...r,alt:e.alternativeText||e.name||"Zdjęcie",format:a}}return null}},88853:(e,r,a)=>{Promise.resolve().then(a.bind(a,92107)),Promise.resolve().then(a.bind(a,78149)),Promise.resolve().then(a.bind(a,5730)),Promise.resolve().then(a.bind(a,67118)),Promise.resolve().then(a.bind(a,50158)),Promise.resolve().then(a.bind(a,82740)),Promise.resolve().then(a.bind(a,60046)),Promise.resolve().then(a.bind(a,19636))},92107:(e,r,a)=>{"use strict";a.d(r,{AnimatedCounter:()=>h});var t=a(95155),n=a(74766),s=a(36274),l=a(59485),i=a(64804),o=a(63883),d=a(7367),c=a(12115);function h({value:e,duration:r=2,className:a,formatValue:h=e=>Math.round(e).toLocaleString("pl-PL")}){let u=(0,c.useRef)(null),m=(0,n.I)(),p=(0,s.W)(u,{once:!0,amount:.5}),b=(0,l.d)(0),x=(0,i.z)(b,{damping:50,stiffness:100,duration:1e3*r}),f=(0,o.G)(x,e=>h(e));return((0,c.useEffect)(()=>{p&&!m&&b.set(e)},[p,b,m,e]),m)?(0,t.jsx)("span",{className:a,children:h(e)}):(0,t.jsx)(d.m.span,{ref:u,className:a,children:f})}}},e=>{e.O(0,[2266,2619,5889,3305,7367,3368,1267,544,158,8441,1255,7358],()=>e(e.s=88853)),_N_E=e.O()}]);
2//# sourceMappingURL=page-3c134fb6428b912f.js.map

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.