PageSourceSearch

https://dostanesie.pl/_next/static/chunks/086-97l5lm3_r.js

js dostanesie.pl collected 2026-10-01 10:38:46 UTC 32,997 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,597393,e=>{"use strict";var t=e.i(832554),r=e.i(710955),i=e.i(968889),s=e.i(135149);let a=()=>!1,n=()=>(0,r.useSyncExternalStore)(s.subscribeToConsent,s.getAdsReady,a);var l=e.i(889574),o=e.i(975157);let d=l.publicConfig.ADSENSE_TEST_MODE_ENABLED,c=e=>{if(!(!e||e.getAttribute("data-adsbygoogle-status")))try{window.adsbygoogle=window.adsbygoogle||[],window.adsbygoogle.push({})}catch{return}},u=({height:e,width:r})=>(0,t.jsx)("div",{className:"flex w-full items-center justify-center rounded-sm border border-dashed border-slate-400 bg-slate-200 text-sm font-medium uppercase tracking-[0.2em] text-slate-500",style:{height:e,width:r},children:"Reklama"});e.s(["SideAdSlot",0,({placement:e})=>{let i=n(),s=(0,r.useRef)(null),a="calc(100vh - 220px)",l="calc((100vw - 1440px - 20px)/2)";return(0,r.useEffect)(()=>{!d&&i&&c(s.current)},[i]),(0,t.jsx)("div",{className:(0,o.cn)("fixed top-49.5 z-10 hidden 2xl:block",{"left-0":"left"===e,"right-0":"right"===e}),children:d?(0,t.jsx)(u,{height:a,width:l}):i?(0,t.jsx)("ins",{ref:s,className:"adsbygoogle",style:{display:"inline-block",width:l,height:a,marginLeft:"auto",marginRight:"auto"},"data-ad-client":"ca-pub-2264879285082561","data-ad-slot":"8045086641"}):null})},"TopAdSlot",0,()=>{let e=n(),s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{!d&&e&&c(s.current)},[e]),(0,t.jsx)("div",{className:"w-full pt-27",children:(0,t.jsx)(i.Section,{className:"mb-2 flex justify-center",children:(0,t.jsx)("div",{className:"mb-5 flex h-22.5 w-full flex-wrap justify-center gap-5",children:d?(0,t.jsx)(u,{height:"90px",width:"100%"}):e?(0,t.jsx)("ins",{ref:s,className:"adsbygoogle",style:{display:"inline-block",width:"100%",height:"90px",marginLeft:"auto",marginRight:"auto"},"data-ad-client":"ca-pub-2264879285082561","data-ad-slot":"8031508732"}):null})})})}],597393)},103886,e=>{"use strict";var t=e.i(832554),r=e.i(992528);e.s(["PrivacySettingsButton",0,()=>(0,t.jsx)("button",{type:"button",onClick:()=>{let e=(0,r.getGooglePrivacyMessaging)();e.showRevocationMessage?.()},className:"text-[13px] text-text-secondary transition-colors duration-200 ease-in-out hover:text-text-primary",children:"Ustawienia prywatności"})])},894247,e=>{"use strict";var t=e.i(832554),r=e.i(319146),i=e.i(158987),s=e.i(563375),a=e.i(266959),n=e.i(710955),l=e.i(330959),o=e.i(389046),d=e.i(579380),c=e.i(261848),u=e.i(327900);let x=(0,o.atom)(e=>{let t=e(d.favoriteFosAtom),r=e(c.favoriteSchoolsAtom),i=e(u.favoriteUniversitiesAtom);return t.length+r.length+i.length});var h=e.i(268371),m=e.i(428176),p=e.i(980831),b=e.i(720690),g=e.i(535911),f=e.i(385252),y=e.i(709529);let j=()=>(0,y.genericGetFetcher)("/osma/school/");var v=e.i(849052),w=e.i(264644),k=e.i(413597),N=e.i(508567);let L=()=>(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,t.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),z=()=>(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),C=({isOpen:e,onClose:r})=>{let[i,a]=(0,n.useState)(""),[l,o]=(0,n.useState)([]),[d,c]=(0,n.useState)(0),u=(0,n.useRef)(null),x=(0,n.useRef)(null),{data:h}=(0,N.useGetUniversities)(),{data:m}=(0,k.useGetStudyFields)(),{data:y}=(0,w.useGetDepartments)(),{data:C}=(0,f.useGenericList)({cacheKey:["schools"],fetcher:j}),{data:M}=(0,g.useGetSchoolCities)(),_=(0,n.useMemo)(()=>new Map(h.map(e=>[e.id,e])),[h]),$=(0,n.useMemo)(()=>new Map(M?.map(e=>[e.id,e])||[]),[M]),S=(0,n.useMemo)(()=>new Map(y.map(e=>[e.id,e])),[y]),E=(0,n.useMemo)(()=>new p.default(h,{keys:["name","acronym"],threshold:.3,includeScore:!0}),[h]),B=(0,n.useMemo)(()=>new p.default(m,{keys:["name"],threshold:.3,includeScore:!0}),[m]),W=(0,n.useMemo)(()=>C.map(e=>{let t=$.get(e.city_id||-1);return{...e,cityName:t?.name||""}}),[C,$]),A=(0,n.useMemo)(()=>new p.default(W,{keys:["name","patron","cityName"],threshold:.3,includeScore:!0}),[W]);return(0,n.useEffect)(()=>{e?setTimeout(()=>u.current?.focus(),100):(a(""),o([]),c(0))},[e]),(0,n.useEffect)(()=>{let t=e=>{x.current&&!x.current.contains(e.target)&&r()};return e&&document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[e,r]),(0,n.useEffect)(()=>
1{if(i.length<2)return void o([]);let e=[];for(let t of E.search(i).slice(0,3))e.push({id:`uni-${t.item.id}`,type:"university",title:t.item.name,subtitle:`${t.item.type} • ${t.item.city}`,href:`/uczelnia/${t.item.slug}`});for(let t of B.search(i).slice(0,4)){let r=_.get(t.item.university),i=t.item.department,s=null===i?void 0:S.get(i);r&&s&&e.push({id:`fos-${t.item.id}`,type:"fos",title:t.item.name,subtitle:`${r.acronym} • ${r.city}`,href:`/uczelnia/${r.slug}/wydzial/${s.slug}/kierunek/${t.item.slug}`})}for(let t of A.search(i).slice(0,3)){let r=t.item.cityName;r&&e.push({id:`school-${t.item.id}`,type:"school",title:(0,v.getFullSchoolName)(t.item,!0,!1,void 0),subtitle:r,href:`/8klasa/${r}/szkola/${t.item.slug}`})}o(e),c(0)},[i,E,B,A,_,S]),(0,t.jsxs)("div",{ref:x,className:`absolute inset-0 z-[200] flex flex-col overflow-visible rounded-full bg-bg-card transition-[transform,opacity] duration-[0.35s,0.25s] ease-[cubic-bezier(0.4,0,0.2,1),ease] ${e?"pointer-events-auto scale-x-100 opacity-100":"pointer-events-none scale-x-0 opacity-0"}`,style:{transformOrigin:"right center"},children:[(0,t.jsxs)("form",{className:"flex h-full w-full items-center gap-3 px-4",onSubmit:e=>{e.preventDefault(),l[d]?window.location.href=l[d].href:i.trim()&&(window.location.href=`/szukaj?q=${encodeURIComponent(i.trim())}`)},children:[(0,t.jsx)("div",{className:"shrink-0 text-text-muted",children:(0,t.jsx)(L,{})}),(0,t.jsx)("input",{ref:u,className:"flex-1 border-none bg-transparent text-[15px] text-text-primary outline-none placeholder:text-text-secondary",placeholder:"Szukaj szkół, kierunków, uczelni...",value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{"ArrowDown"===e.key?(e.preventDefault(),c(e=>e<l.length-1?e+1:0)):"ArrowUp"===e.key?(e.preventDefault(),c(e=>e>0?e-1:l.length-1)):"Enter"===e.key&&l[d]?(e.preventDefault(),window.location.href=l[d].href):"Escape"===e.key&&r()}}),(0,t.jsx)("button",{type:"button",className:"flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center rounded-full border-none bg-none p-0 text-text-muted transition-all duration-200 ease-in-out hover:bg-bg-muted hover:text-text-primary",onClick:r,"aria-label":"Zamknij wyszukiwanie",children:(0,t.jsx)(z,{})})]}),l.length>0?(0,t.jsxs)("div",{className:"absolute left-0 right-0 top-[calc(100%+8px)] max-h-[400px] overflow-y-auto rounded-2xl border border-border-default bg-bg-card py-2 shadow-[var(--shadow-default)]",children:[l.map((e,r)=>(0,t.jsxs)(s.default,{href:e.href,className:`flex cursor-pointer items-center gap-3 px-4 py-3 transition-all duration-150 ease-in-out hover:bg-bg-muted ${r===d?"bg-bg-muted":""}`,onMouseEnter:()=>c(r),children:[(0,t.jsx)("div",{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-lg ${(e=>{switch(e){case"university":return"bg-[rgba(252,201,9,0.15)] text-accent-yellow";case"fos":return"bg-[rgba(59,130,246,0.15)] text-[var(--feature-blue)]";case"school":return"bg-[rgba(238,66,123,0.15)] text-accent-pink"}})(e.type)}`,children:(e=>{switch(e){case"university":return(0,t.jsx)(b.LuBuilding2,{size:16});case"fos":return(0,t.jsx)(b.LuGraduationCap,{size:16});case"school":return(0,t.jsx)(b.LuSchool,{size:16})}})(e.type)}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"truncate text-sm font-medium text-text-primary",children:e.title}),(0,t.jsx)("p",{className:"truncate text-xs text-text-secondary",children:e.subt
1itle})]})]},e.id)),(0,t.jsx)(s.default,{href:`/szukaj?q=${encodeURIComponent(i)}`,className:"mt-2 flex cursor-pointer items-center justify-center border-t border-border-default px-4 py-3 transition-all duration-150 ease-in-out hover:bg-bg-muted",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-accent-yellow",children:"Zobacz wszystkie wyniki →"})})]}):null]})},M=()=>(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"6",y:"2",width:"12",height:"20",rx:"3"}),(0,t.jsx)("path",{d:"M12 7v6"}),(0,t.jsx)("path",{d:"m9.5 10.5 2.5 2.5 2.5-2.5"})]}),_={calculator:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"4",y:"2",width:"16",height:"20",rx:"2"}),(0,t.jsx)("line",{x1:"8",y1:"6",x2:"16",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"10",x2:"8",y2:"10.01"}),(0,t.jsx)("line",{x1:"12",y1:"10",x2:"12",y2:"10.01"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"16",y2:"10.01"}),(0,t.jsx)("line",{x1:"8",y1:"14",x2:"8",y2:"14.01"}),(0,t.jsx)("line",{x1:"12",y1:"14",x2:"12",y2:"14.01"}),(0,t.jsx)("line",{x1:"16",y1:"14",x2:"16",y2:"14.01"}),(0,t.jsx)("line",{x1:"8",y1:"18",x2:"8",y2:"18.01"}),(0,t.jsx)("line",{x1:"12",y1:"18",x2:"12",y2:"18.01"}),(0,t.jsx)("line",{x1:"16",y1:"18",x2:"16",y2:"18.01"})]}),map:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),(0,t.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),list:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("line",{x1:"8",y1:"6",x2:"21",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"12",x2:"21",y2:"12"}),(0,t.jsx)("line",{x1:"8",y1:"18",x2:"21",y2:"18"}),(0,t.jsx)("line",{x1:"3",y1:"6",x2:"3.01",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"12",x2:"3.01",y2:"12"}),(0,t.jsx)("line",{x1:"3",y1:"18",x2:"3.01",y2:"18"})]}),checklist:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M9 6h11"}),(0,t.jsx)("path",{d:"M9 12h11"}),(0,t.jsx)("path",{d:"M9 18h11"}),(0,t.jsx)("path",{d:"m3 6 1.5 1.5L7 5"}),(0,t.jsx)("path",{d:"m3 12 1.5 1.5L7 11"}),(0,t.jsx)("path",{d:"m3 18 1.5 1.5L7 17"})]}),compare:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,t.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"21"})]}),university:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M22 10v6M2 10l10-5 10 5-10 5z"}),(0,t.jsx)("path",{d:"M6 12v5c3 3 9 3 12 0v-5"})]}),folder:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"})}),grid:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"14",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"3",y:"14",width:"7",height:"7"})]})},$={"8 klasa":(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M3 7.5 12 4l9 3.5-9 3.5z"}),(0,t.jsx)("path",{d:"M7 10.5V14c0 1.8 2.2 3.5 5 3.5s5-1.7 5-3.5v-3.5"}),(0,t.jsx)("path",{d:"M21 9v5"})]}),Studia:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M2 9.5 12 5l10 4.5-10 4.5z"}),(0,t.jsx)("path",{d:"M5 11.5V16c0 1.7 3.1 3 7 3s7-1.3 7-3v-4.5"}),(0,t.jsx)("path",{d:"M22 10v6"})]}),Blog:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M7 4h8l4 4v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z"}),(0,t.jsx)("path",{d:"M15 4v4h4"}),(0,t.jsx)("path",{d:"M9 13h6"}),(0,t.jsx)("path",{d:"M9 17h4"})]}),Kontakt:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,t.jsx)("path",{d:"m4 7 8 6 8-6"})]})},S=()=>(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 
16.58172 19 11Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),E=()=>(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),B=()=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),W=()=>(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),A=({pathname:e,isScrolled:r,navLinks:i,openSubmenu:a,setOpenSubmenu:n,isSearchOpen:l,handleSearchToggle:o,favoritesCount:d})=>(0,t.jsxs)("nav",{className:`relative flex flex-1 items-center gap-4 roun
1ded-full py-2 pl-4 pr-2 transition-all duration-300 ease-in-out ${r?"-mb-4 border border-transparent bg-transparent shadow-none backdrop-blur-none":"-mb-[18px] border border-[color-mix(in_srgb,var(--bg-card)_50%,transparent)] bg-[color-mix(in_srgb,var(--bg-card)_70%,transparent)] shadow-[var(--shadow-default)] backdrop-blur-[20px]"}`,children:[(0,t.jsx)("div",{className:"flex items-center gap-1",children:i.map(r=>(0,t.jsx)("div",{className:"relative",children:r.submenu?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",className:`flex cursor-pointer items-center gap-1 rounded-[20px] border-none bg-none px-3.5 py-2 text-[15px] transition-all duration-200 ease-in-out hover:bg-bg-hover hover:text-text-primary [&:hover_svg]:rotate-180 [&_svg]:transition-transform [&_svg]:duration-200 [&_svg]:ease-in-out ${e.startsWith(r.href)?"font-semibold text-text-primary":"font-medium text-text-muted"}`,onMouseEnter:()=>n(r.label),onMouseLeave:()=>n(null),children:[r.label,(0,t.jsx)(B,{})]}),(0,t.jsxs)("menu",{className:`absolute left-1/2 top-[calc(100%+10px)] z-[100] m-0 list-none rounded-2xl bg-bg-card p-3 shadow-[var(--shadow-card)] transition-all duration-200 ease-in-out ${r.columns?"min-w-[520px]":"min-w-[320px]"} ${a===r.label?"visible -translate-x-1/2 translate-y-0 opacity-100":"invisible -translate-x-1/2 translate-y-1 opacity-0"}`,onMouseEnter:()=>n(r.label),onMouseLeave:()=>n(null),children:[r.description?(0,t.jsx)("div",{className:"mb-2 border-b border-border-subtle p-[8px_12px_12px] text-[11px] font-semibold uppercase tracking-[0.5px] text-text-secondary",children:r.description}):null,(0,t.jsx)("div",{className:`flex flex-col gap-1 ${r.columns?"grid grid-cols-2 gap-2":""}`,children:r.submenu.map(e=>(0,t.jsxs)(s.default,{href:e.href,className:`group flex items-start gap-3 rounded-xl transition-all duration-200 ease-in-out hover:bg-bg-muted ${r.columns?"p-2.5":"p-3"} ${e.highlight?"border border-accent-yellow-muted bg-bg-yellow-muted hover:bg-bg-yellow-muted":"border border-transparent"}`,children:[e.icon?(0,t.jsx)("div",{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-lg transition-all duration-200 ease-in-out [&_svg]:h-4 [&_svg]:w-4 ${e.highlight?"bg-bg-yellow-muted text-text-primary group-hover:bg-accent-yellow-muted":"bg-bg-muted text-text-secondary group-hover:text-text-primary"}`,children:_[e.icon]}):null,(0,t.jsxs)("div",{className:"flex flex-col gap-0.5 pt-px",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-text-primary",children:[e.label,e.badge?(0,t.jsx)("span",{className:"inline-flex rounded bg-gradient-to-br from-accent-green to-accent-green-dark px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-[0.3px] text-text-inverted",children:e.badge}):null]}),e.description?(0,t.jsx)("span",{className:`leading-[1.4] text-text-secondary ${r.columns?"text-[11px]":"text-xs"}`,children:e.description}):null]})]},e.href))})]})]}):(0,t.jsx)(s.default,{href:r.href,className:`flex items-center gap-1 rounded-[20px] px-3.5 py-2 text-[15px] transition-all duration-200 ease-in-out hover:bg-bg-hover hover:text-text-primary ${e===r.href?"font-semibold text-text-primary":"font-medium text-text-muted"}`,children:r.label})},r.label))}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,t.jsx)("button",{type:"button",className:"flex h-9 w-9 cursor-pointer items-center justify-center rounded-full border-none bg-none p-0 text-text-muted transition-all duration-200 ease-in-out hover:bg-bg-hover hover:text-text-primary",onClick:o,"aria-label":"Szukaj",children:(0,t.jsx)(S,{})}),(0,t.jsxs)(s.default,{href:"/moje-ulubione",className:"relative flex items-center gap-2 rounded-[20px] px-3.5 py-2 text-sm font-medium text-text-muted transition-all duration-200 ease-in-out hover:bg-bg-yellow-muted hover:text-accent-yellow",children:[(0,t.jsx)(E,{}),(0,t.jsx)("span",{children:"Ulubione"}),d>0?(0,t.jsx)("span",{className:"absolute -right-0.5 -top-0.5 flex h-[18px] min-w-[18px] items-center justify-center rounded-[9px] bg-accent-yellow px-[5px] text-[11px] font-bold text-text-on-yellow shadow-[0_2px_4px_var(--bg-yellow-muted)]",children:d>99?"99+":d}):null]}),(0,t.jsxs)(s.default,{href:"/aplikacja",onClick:()=>(0,m.sendActionToGA4)("nav_app_link_click","navigation","header"),className:"flex items-center gap-2 whitespace-nowrap rounded-full bg-gradient-to-br from-brand-primary to-brand-secondary px-5 py-2.5 text-sm font-semibold text-text-inverted shadow-[var(--shadow-default)] transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:shadow-[var(--shadow-hover)]",children:[(0,t.jsx)(M,{}),"Pobierz aplikację"]})]}),(0,t.jsx)(C,{isOpen:l,onClose:o})]});var P=e.i(719321);let R=(e,t)=>e===t||e.startsWith(`${t}/`),D=e=>{let t=$[e.label],r=e.submenu?.find(e=>e.highlight)?.icon??e.submenu?.[0]?.icon;return t||(r?_[r]:null)},O=({isMobileMenuOpen:e,toggleMobileMenu:r})=>(0,t.jsx)("button",{type:"button",onClick:r,"aria-label":e?"Zamknij menu":"Ot
1wórz menu",className:`relative z-[1002] ml-auto flex h-12 w-12 cursor-pointer items-center justify-center rounded-full border border-[color-mix(in_srgb,var(--border-default)_65%,transparent)] p-0 shadow-[var(--shadow-default)] backdrop-blur-xl transition-all duration-300 ease-in-out ${e?"bg-[linear-gradient(135deg,var(--brand-primary),var(--brand-secondary))] text-text-inverted":"bg-[color-mix(in_srgb,var(--bg-card)_82%,transparent)] text-text-primary"}`,children:(0,t.jsx)("div",{className:`relative h-0.5 w-6 rounded-sm transition-all duration-300 ease-in-out before:absolute before:left-0 before:h-0.5 before:w-6 before:rounded-sm before:bg-current before:transition-all before:duration-300 before:ease-in-out before:content-[''] after:absolute after:left-0 after:h-0.5 after:w-6 after:rounded-sm after:bg-current after:transition-all after:duration-300 after:ease-in-out after:content-[''] ${e?"bg-transparent before:top-0 before:rotate-45 after:bottom-0 after:-rotate-45":"bg-current before:-top-2 before:rotate-0 after:-bottom-2 after:rotate-0"}`})}),T=({pathname:e,isMobileMenuOpen:r,setIsMobileMenuOpen:a,navLinks:l,openSubmenu:o,handleSubmenuToggle:d,favoritesCount:c,compareCount:u})=>{let x=(0,h.useHydrationReady)(),[p,g]=(0,n.useState)(null);return((0,n.useEffect)(()=>{g(document.body)},[]),(0,n.useEffect)(()=>{if(!r)return;let e=e=>{"Escape"===e.key&&a(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[r,a]),x&&r&&p)?(0,P.createPortal)((0,t.jsxs)("div",{className:"fixed inset-0 z-[1001] md:hidden",children:[(0,t.jsx)("button",{type:"button","aria-label":"Zamknij menu",className:"absolute inset-0 bg-[linear-gradient(180deg,rgba(4,35,66,0.16)_0%,rgba(4,35,66,0.42)_100%)] backdrop-blur-md",onClick:()=>a(!1)}),(0,t.jsxs)("div",{className:"relative flex h-full w-full flex-col bg-bg-page pb-4 pt-[calc(env(safe-area-inset-top))]",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute right-0 top-24 h-28 w-28 rounded-full bg-[rgba(252,201,9,0.1)] blur-3xl"}),(0,t.jsx)("div",{className:"pointer-events-none absolute left-0 top-40 h-24 w-24 rounded-full bg-[rgba(10,74,122,0.08)] blur-3xl"}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 pb-3 pt-3",children:[(0,t.jsxs)(s.default,{href:"/",className:"flex items-center",onClick:()=>a(!1),children:[(0,t.jsx)(i.default,{src:"/LogoLight.svg",width:160,height:44,alt:"dostanesie.pl",priority:!0,className:"logo-light h-auto w-[140px]"}),(0,t.jsx)(i.default,{src:"/LogoDark.svg",width:160,height:44,alt:"dostanesie.pl",priority:!0,className:"logo-dark h-auto w-[140px]"})]}),(0,t.jsx)("button",{type:"button","aria-label":"Zamknij menu",className:"flex h-12 w-12 shrink-0 cursor-pointer items-center justify-center rounded-full bg-[linear-gradient(135deg,var(--brand-primary),var(--brand-secondary))] text-text-inverted",onClick:()=>a(!1),children:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),(0,t.jsx)("div",{className:"relative mx-auto flex h-full w-full max-w-[430px] flex-col px-4",children:(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto pb-2 pt-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsxs)(s.default,{href:"/moje-ulubione",className:"rounded-[22px] border border-border-subtle bg-bg-card-elevated p-3.5 shadow-[var(--shadow-default)] transition-all duration-200 ease-in-out hover:-translate-y-0.5 hover:border-accent-yellow",onClick:()=>a(!1),children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-bg-yellow-subtle text-text-primary",children:(0,t.jsx)(E,{})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("div",{className:"text-[14px] font-semibold text-text-primary",children:"Ulubione"}),(0,t.jsx)("div",{className:"mt-1 text-[11px] leading-[1.35] text-text-secondary",children:c>0?`${c>99?"99+":c} zapisanych pozycji`:"Zapisz szkoly i kierunki"})]})]}),(0,t.jsxs)(s.default,{href:"/porownywarka-studiow",className:"rounded-[22px] border border-border-subtle bg-bg-card-elevated p-3.5 shadow-[var(--shadow-default)] transition-all duration-200 ease-in-out hover:-translate-y-0.5 hover:border-accent-yellow",onClick:()=>a(!1),children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-bg-yellow-subtle text-text-primary",children:(0,t.jsx)(b.LuScale,{size:16})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("div",{className:"text-[14px] font-semibold text-text-primary",children:"Porownywarka"}),(0,t.jsx)("div",{className:"mt-1 text-[11px] leading-[1.35] text-text-secondary",children:u>0?`${u} kierunki do porownania`:"Porownaj wymagania i progi"})]})]})]}),(0,t.jsxs)(s.default,{href:"/aplikacja",onClick:()=>{a(!1),(0,m.sendActionToGA4)("nav_app_link_click","navigation","mobile_menu")},className:"mt-3 flex items-center justify-between rounded-[20px] bg-[linear-gradient(135deg,var(--brand-primary)_0%,var(--brand-secondary)_100%)] px-4 py-3 text-text-inverted shadow-[0_12px_24px_rgba(4,35,66,0.14)] transition-all duration-200 ease-in-out hover:-translate-y-0.5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-[0.16em] text-white/70",children:"Bez zakładania konta"}),(0,t.jsx)("div",{className:"mt-1 text-[14px] font-semibold",children:"Pobierz aplikację"})]}),(0,t.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-full border border-white/15 bg-white/10",children:(0,t.jsx)(M,{})})]}),(0,t.jsx)("div",{className:"mt-3 space-y-2",children:l.map(r=>{let i=R(e,r.href)||r.submenu?.some(t=>R(e,t.href)),n=D(r);return(0,t.jsx)("div",{className:`overflow-hidden rounded-[20px] border bg-bg-card-elevated shadow-[var(--shadow-default)] transition-all duration-300 ease-in-out ${i?"border-accent-yellow-muted":"border-[color-mix(in_srgb,var(--border-default)_80%,transparent)]"}`,children:r.submenu?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",className:"flex w-full cursor-pointer items-center gap-3 border-none bg-transparent px-3 py-2.5 text-left",onClick:()=>d(r.label),children:[(0,t.jsx)("div",{className:`flex h-9 w-9 shrink-0 items-center justify-center rounded-xl ${i?"bg-bg-yellow-muted text-text-primary":"bg-bg-muted text-text-secondary"} [&_svg]:h-4 [&_svg]:w-4`,children:n??r.label.slice(0,1)}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[14px] font-semibold text-text-primary",children:r.label})}),r.description?(0,t.jsx)("p",{className:"mt-0.5 text-[11px] leading-[1.35] text-text-secondary",children:r.description}):null]}),(0,t.jsx)("div",{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-subtle text-text-secondary transition-all duration-300 ease-in-out ${o===r.label?"rotate-180 bg-bg-yellow-subtle text-text-primary":""}`,children:(0,t.jsx)(W,{})})]}),(0,t.jsx)("div",{className:`grid transition-all duration-300 ease-in-out ${o===r.label?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"}`,children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"space-y-1 px-3 pb-3",children:r.submenu.map(r=>{let i=R(e,r.href);return(0,t.jsxs)(s.default,{href:r.href,className:`group flex items-start gap-2.5 rounded-[16px] px-2.5 py-2 transition-all duration-200 ease-in-out ${i?"bg-bg-yellow-subtle":"bg-transparent hover:bg-bg-muted"}`,onClick:()=>a(!1),children:[r.icon?(0,t.jsx)("div",{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-xl transition-all duration-200 ease-in-out [&_svg]:h-3.5 [&_svg]:w-3.5 ${i?"bg-bg-yellow-muted text-text-primary":"bg-bg-muted text-text-secondary group-hover:text-text-primary"}`,children:_[r.icon]}):null,(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-[12px] font-semibold leading-[1.2] text-text-primary",children:[(0,t.jsx)("span",{children:r.label}),r.badge?(0,t.jsx)("span",{className:"inline-flex rounded-full bg-gradient-to-r from-accent-green to-accent-green-dark px-2 py-0.5 text-[9px] font-semibold uppercase tracking-[0.14em] text-text-inverted",children:r.badge}):null]}),r.description?(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-[1.35] text-text-secondary",children:r.description}):null]})]},r.href)})})})})]}):(0,t.jsxs)(s.default,{href:r.href,className:"flex items-center gap-3 px-3 py-2.5",onClick:()=>a(!1),children:[(0,t.jsx)("div",{className:`flex h-9 w-9 shrink-0 items-center justify-center rounded-xl text-[11px] font-semibold uppercase [&_svg]:h-4 [&_svg]:w-4 ${i?"bg-bg-yellow-muted text-text-primary":"bg-bg-muted text-text-secondary"}`,children:D(r)??r.label.slice(0,2)}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("div",{className:"text-[14px] font-semibold text-text-primary",children:r.label}),(0,t.jsxs)("div",{className:"mt-0.5 text-[11px] text-text-secondary",children:["Przejdz do sekcji ",r.label.toLowerCase()]})]}),(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-bg-subtle text-text-secondary -rotate-90",children:(0,t.jsx)(W,{})})]})},r.label)})})]})})]})]}),p):null}
1,G=[{label:"8 klasa",href:"/8klasa/miasta",description:"Wszystko dla ósmoklasisty",submenu:[{label:"Kalkulator punktów",description:"Oblicz punkty do szkoły średniej",href:"/8klasa/kalkulator",highlight:!0,icon:"calculator"},{label:"Obowiązki rodzica",description:"Przewodnik dla rodziców ósmoklasistów",href:"/8klasa/obowiazki-rodzica",icon:"checklist"},{label:"Szkoły w miastach",description:"Przeglądaj szkoły na mapie",href:"/8klasa/miasta",icon:"map"},{label:"Spis wszystkich szkół",description:"Alfabetyczna lista szkół w Polsce",href:"/8klasa/listy-szkol",icon:"list"}]},{label:"Studia",href:"/matura",description:"Dla maturzystów i studentów",columns:!0,submenu:[{label:"Kalkulator maturalny",description:"Przelicz punkty na studia",href:"/matura",highlight:!0,icon:"calculator"},{label:"Lista uczelni",description:"Wszystkie uczelnie w Polsce",href:"/uczelnie",icon:"university"},{label:"Porównywarka kierunków",description:"Porównaj wymagania i progi",href:"/porownywarka-studiow",badge:"Nowość",icon:"compare"},{label:"Kierunki studiów",description:"Przeglądaj grupy kierunków",href:"/kierunki",icon:"folder"},{label:"Dyscypliny naukowe",description:"Klasyfikacja według dyscyplin",href:"/kierunki/dyscypliny",icon:"grid"}]},{label:"Blog",href:"/blog"},{label:"Kontakt",href:"/kontakt"}];e.s(["Navbar",0,()=>{let e=(0,a.usePathname)(),o=(0,h.useHydrationReady)(),[d,c]=(0,n.useState)(!1),[u,m]=(0,n.useState)(!1),[p,b]=(0,n.useState)(null),[g,f]=(0,n.useState)(!1),y=(0,r.useAtomValue)(x),j=(0,r.useAtomValue)(l.compareFosAtom).length,v=o?y:0,w=(0,n.useCallback)(()=>{f(e=>!e)},[]);return(0,n.useEffect)(()=>{let e=()=>c(window.scrollY>20);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,n.useEffect)(()=>{e.length>0&&(m(!1),b(null))},[e]),(0,n.useEffect)(()=>{let e=document.body.style.overflow;return u&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow=e}},[u]),(0,t.jsxs)("header",{className:`fixed inset-x-0 top-0 z-[1000] px-5 transition-all duration-300 ease-in-out md:px-6 ${d||u?"bg-bg-card shadow-[var(--shadow-default)] md:bg-[color-mix(in_srgb,var(--bg-card)_80%,transparent)] md:backdrop-blur-[20px]":"bg-transparent shadow-none backdrop-blur-none"}`,style:{zIndex:"var(--layer-header)"},children:[(0,t.jsxs)("div",{className:`mx-auto flex w-full max-w-[1400px] items-center justify-between gap-3 md:items-end md:gap-6 ${d||u?"pb-3 pt-3 md:pb-5 md:pt-1":"pb-3 pt-3 md:pb-3 md:pt-1"}`,children:[(0,t.jsx)("div",{className:"w-auto shrink-0 transition-all duration-300 ease-in-out md:w-[180px]",children:(0,t.jsxs)(s.default,{href:"/",className:"flex items-center",children:[(0,t.jsx)(i.default,{src:"/LogoLight.svg",width:180,height:50,alt:"dostanesie.pl",priority:!0,style:{transition:"all 0.3s ease"},className:`logo-light h-auto w-[140px] ${d||u?"md:w-[150px]":"md:w-[180px]"}`}),(0,t.jsx)(i.default,{src:"/LogoDark.svg",width:180,height:50,alt:"dostanesie.pl",priority:!0,style:{transition:"all 0.3s ease"},className:`logo-dark h-auto w-[140px] ${d||u?"md:w-[150px]":"md:w-[180px]"}`})]})}),(0,t.jsx)("div",{className:"hidden md:flex md:flex-1",children:(0,t.jsx)(A,{pathname:e,isScrolled:d,navLinks:G,openSubmenu:p,setOpenSubmenu:b,isSearchOpen:g,handleSearchToggle:w,favoritesCount:v})}),(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)(O,{isMobileMenuOpen:u,toggleMobileMenu:()=>{m(!u),u&&b(null)}})})]}),(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)(T,{pathname:e,isMobileMenuOpen:u,setIsMobileMenuOpen:m,navLinks:G,openSubmenu:p,handleSubmenuToggle:e=>{b(p===e?null:e)},favoritesCount:v,compareCount:o?j:0})})]})}],894247)}]);

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.