PageSourceSearch

https://przygotujlekcje.pl/_next/static/chunks/0gpfdt5jkeius.js?dpl=9e8db51c1c228cd718cf413be072b742f44147c4

js przygotujlekcje.pl collected 2026-09-24 13:53:36 UTC 28,891 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1722f7a9-cb39-f88a-b40c-88cb39caf712")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,704187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let a=e.r(823005);function s(e,t){let r=(0,a.useRef)(null),s=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=n(e,a)),t&&(s.current=n(t,a))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},496898,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},427620,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return b},useLinkStatus:function(){return y}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let n=e.r(744066),o=e.r(130569),l=n._(e.r(823005)),i=e.r(884801),c=e.r(939933),d=e.r(704187),u=e.r(1889),h=e.r(931966);e.r(146778);let f=e.r(710174),m=e.r(120771),x=e.r(377955),p=e.r(428187);function b(t){var r,a;let s,n,b,[y,g]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),k=(0,l.useRef)(null),{href:v,as:w,children:N,prefetch:z=null,passHref:C,replace:M,shallow:S,scroll:P,onClick:L,onMouseEnter:E,onTouchStart:T,legacyBehavior:B=!1,onNavigate:O,transitionTypes:A,ref:W,unstable_dynamicOnHover:_,...R}=t;s=N,B&&("string"==typeof s||"number"==typeof s)&&(s=(0,o.jsx)("a",{children:s}));let D=l.default.useContext(c.AppRouterContext),F=!1!==z,K=!1!==z?null===(a=z)||"auto"===a?p.FetchStrategy.PPR:p.FetchStrategy.Full:p.FetchStrategy.PPR,I="string"==typeof(r=w||v)?r:(0,i.formatUrl)(r);if(B){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=l.default.Children.only(s)}let $=B?n&&"object"==typeof n&&n.ref:W,q=l.default.useCallback(e=>(null!==D&&(k.current=(0,m.mountLinkInstance)(e,I,D,K,F,g)),()=>{k.current&&((0,m.unmountLinkForCurrentNavigation)(k.current),k.current=null),(0,m.unmountPrefetchableInstance)(e)}),[F,I,D,K,g]),U={ref:(0,d.useMergedRef)(q,$),onClick(t){B||"function"!=typeof L||L(t),B&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!D||t.defaultPrevented||function(t,r,a,s,n,o,i){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,x.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(91176);l.default.startTransition(()=>{u(r,s?"replace":"push",!1===n?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,a.current,i)})}}(t,I,k,M,P,O,A)},onMouseEnter(e){B||"function"!=typeof E||E(e),B&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),D&&F&&(0,m.onNavigationIntent)(e.currentTarget,!0===_)},onTouchStart:function(e){B||"function"!=typeof T||T(e),B&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),D&&F&&(0,m.onNavigationIntent)(e.currentTarget,!0===_)}};return(0,u.isAbsoluteUrl)(I)?U.href=I:B&&!C&&("a"!==n.type||"href"in n.props)||(U.href=(0,h.addBasePath)(I)),b=B?l.default.cloneElement(n,U):(0,o.jsx)("a",{...R,...U,children:s}),(0,o.jsx)(j.Provider,{value:y,children:b})}e.r(496898);let j=(0,l.createContext)(m.IDLE_LINK_STATUS),y=()=>(0,l.useContext)(j);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},711834,e=>{"use strict";var t=e.i(130569),r=e.i(823005),a=e.i(427620),s=e.i(113003);let n=[{href:"/funkcje",label:"Funkcje"},{href:"/agenda",label:"Planer"},{href:"/cennik",label:"Cennik"},{href:"/dyktanda",label:"Dyktanda"},{href:"/blog",label:"Blog"},{href:"/faq",label:"FAQ"}];e.s(["default",0,function(){let[e,o]=(0,r.useState)(!1),[l,i]=(0,r.useState)(!1),c=(0,r.useRef)(null),d=(0,r.useRef)(null),{user:u}=(0,s.useAuth)();return(0,r.useEffect)(()=>{let e=()=>o(window.scrollY>10);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>{if(!l)return;let e=c.current,t=document.body.style.overflow;document.body.style.overflow="hidden";let r=d.current,a=r?.querySelectorAll("a[href], button:not([disabled])");a?.[0]?.focus();let s=e=>{if("Escape"===e.key){i(!1),c.current?.focus();return}if("Tab"!==e.key||!a?.length)return;let t=a[0],r=a[a.length-1];e.shiftKey&&document.activeElement===t?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),t.focus())},n=window.matchMedia("(min-width: 1024px)"),o=()=>{n.matches&&i(!1)};return n.addEventListener("change",o),document.addEventListener("keydown",s),()=>{n.removeEventListener("change",o),document.removeEventListener("keydown",s),document.body.style.overflow=t,n.matches||e?.focus()}},[l]),(0,t.jsxs)("nav",{"aria-label":"Główna nawigacja",className:`fixed top-0 left-0 right-0 z-50 h-16 bg-linen transition-shadow duration-300 ${e?"border-b border-stone-200 shadow-sm":""}`,children:[(0,t.jsxs)("div",{className:"mx-auto flex h-full max-w-[1200px] items-center justify-between px-6 lg:px-16",children:[(0,t.jsxs)(a.default,{href:"/",className:"flex items-baseline gap-0.5",children:[(0,t.jsx)("span",{className:"font-display font-semibold text-xl text-forest-700",children:"przygotuj lekcje"}),(0,t.jsx)("span",{className:"text-terracotta-500 text-xl font-bold",children:"."})]}),(0,t.jsx)("div",{className:"hidden lg:flex items-center gap-8",children:n.map(e=>(0,t.jsx)(a.default,{href:e.href,className:"relative text-sm font-body font-medium text-forest-700 transition-colors hover:text-terracotta-500 after:absolute after:bottom-[-4px] after:left-0 after:h-0.5 after:w-0 after:bg-terracotta-500 after:transition-all after:duration-300 hover:after:w-full",children:e.label},e.href))}),(0,t.jsx)("div",{className:"hidden lg:flex items-center gap-3",children:u&&!u.isDemo?(0,t.jsx)(a.default,{href:"/dashboard",className:"btn-primary text-sm !h-10 !px-4",children:"Mój panel"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{href:"/login",className:"font-body font-medium text-sm text-forest-700 hover:text-terracotta-500 transition-colors",children:"Zaloguj się"}),(0,t.jsx)(a.default,{href:"/register",className:"btn-primary text-sm !h-10 !px-4",children:"Wypróbuj za darmo"})]})}),(0,t.jsxs)("button",{ref:c,onClick:()=>i(e=>!e),className:"lg:hidden flex flex-col gap-1.5 p-2","aria-label":l?"Zamknij menu nawigacji":"Otwórz menu nawigacji","aria-expanded":l,"aria-controls":"mobile-nav-drawer",children:[(0,t.jsx)("span",{className:`block h-0.5 w-6 bg-charcoal transition-transform duration-300 ${l?"translate-y-2 rotate-45":""}`}),(0,t.jsx)("span",{className:`block h-0.5 w-6 bg-charcoal transition-opacity duration-300 ${l?"opacity-0":""}`}),(0,t.jsx)("span",{className:`block h-0.5 w-6 bg-charcoal transition-transform duration-300 ${l?"-translate-y-2 -rotate-45":""}`})]})]}),(0,t.jsx)("div",{ref:d,id:"mobile-nav-drawer","aria-hidden":!l,inert:!l,className:`lg:hidden fixed inset-0 top-16 bg-cream overflow-y-auto overscroll-contain transition-transform duration-300 ${l?"translate-x-0":"translate-x-full pointer-events-none"}`,children:(0,t.jsxs)("div",{className:"flex flex-col gap-6 p-8",children:[n.map(e=>(0,t.jsx)(a.default,{href:e.href,onClick:()=>i(!1),className:"font-body font-medium text-lg text-forest-700",children:e.label},e.href)),(0,t.jsx)("hr",{className:"border-stone-200"}),u&&!u.isDemo?(0,t.jsx)(a.default,{href:"/dashboard",onClick:()=>i(!1),className:"btn-primary text-center",children:"Mój panel"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{href:"/login",onClick:()=>i(!1),className:"font-body font-medium text-lg text-forest-700",children:"Zaloguj się"}),(0,t.jsx)(a.default,{href:"/register",onClick:()=>i(!1),className:"btn-primary text-center",children:"Wypróbuj za darmo"})]})]})})]})}])},948287,e=>{"use strict";var t=e.i(130569);let r=[["#177A5B","M468.208 1395.87c-114.827-167.09-164.036-388.84-51.598-570.228 16.001-25.329 35.225-48.472 57.189-68.847 81.401-76.129 178.104-98.32 285.757-108.305 21.877-2.177 43.818-3.67 65.789-4.477 14.216-.608 31.914-.928 45.728-2.419 10.428-1.126 29.997-8.667 40.825-12.125 21.057-6.88 42.376-12.927 63.91-18.126 37.302 31.116 71.782 65.465 103.032 102.647-41.44-.593-75.67 1.426-115.841 13.315-76.101 22.501-141.267 78.386-185.606 143.072-14.658 21.385-39.92 65.283-52.047 87.732-49.053 90.811-110.931 222.411-111.985 327.521-.062 25.6 3.585 51.09 10.827 75.65 12.404 41.57 35.734 79.05 67.556 108.53 8.883 8.26 20.111 15.03 28.32 23.03 1.227 1.2 11.101 17.97 12.758 20.71 6.72 11.2 13.878 22.14 21.457 32.78 42.416 59.46 90.38 98.75 154.436 133.19l-4.531 2.03c-95.44-16.34-190.656-47.14-266.886-109.03-75.201-60.23-122.716-148.42-131.655-244.35-3.373-36.38-1.895-73.04 4.396-109.03 25.234-148.02 127.393-345.16 222.459-461.616-93.09 11.299-172.011 43.153-224.433 127.15-42.045 67.372-53.198 149.216-39.511 227.206 1.381 7.87 7.576 28.97 6.913 35.92-1.852 19.42-9.69 39.87-12.325 59.51-10.698 64.57-10.141 124.84 5.066 188.56z"],["#177A5B","M1585.54 663.596c1.87 1.823 3.21 3.692 4.65 5.871 135.63 204.359 163.84 550.493-59.52 706.763-112.69 78.84-249.52 88.46-382.98 76.06-42.61-3.97-85.03-9.74-127.14-17.3-138.226-25.37-244.012-71.73-325.922-190.34-6.904-10.91-13.131-20.81-19.406-32.08 14.108-49.98 31.444-93.49 52.787-140.58 28.912 83.53 64.408 152.39 142.588 201.17 23.401 14.53 48.46 26.19 75.639 34.75 105.514 35.18 303.834 55.46 412.904 30.13 75.76-17.78 142.49-62.87 183.34-129.64 59.48-97.2 55.37-198.5 30.23-305.081 25.59-87.337 32.14-149.424 13.83-239.723z"],["#177A5B","M1045.36 361.477c135.07.292 288.92 43.141 389.81 136.262 99.74 92.057 137.31 232.67 99.02 362.569-40.95 138.97-112.2 270.782-193.43 390.392-10.35 15.25-24.62 35.04-36.96 48.21-51.68.72-87.66 1.56-140.04-2.11l-24.28-2.13c12.95-9.5 27.65-17.37 40.8-27.02 56.27-41.3 93.83-97.79 127.13-157.99 53.65-96.85 106.63-194.295 125.65-304.639 31.85-184.73-116.77-296.091-281.48-320.26-55.99-53.377-126.71-99.212-202.994-115.829 32.241-4.824 64.234-6.577 96.774-7.455z"],["#177A5B","M834.44 403.458c21.227-.238 42.433 1.413 63.368 4.933 130.852 22.556 214.782 104.095 301.212 197.928 46.05 49.861 89.43 102.127 129.95 156.578 16.26 21.905 30.51 42.986 46.1 65.153-15.19 52.685-33.08 95.526-55.3 145.047-27.73-84.891-52.55-118.624-108.44-187.456-44.14-54.861-91.06-107.432-140.57-157.506-63.48-62.566-133.855-117.639-228.023-118.106-59.277-.294-114.355 24.227-160.825 59.901-19.133 14.688-37.141 33.531-54.232 50.736-87.503 21.219-151.053 56.813-214.463 121.399 65.284-141.314 190.995-289.421 347.971-329.34 23.694-6.025 48.889-8.241 73.252-9.267z"],["#101412","M1007.21 843.409c98.39-9.192 185.6 63.117 194.79 161.501 9.19 98.39-63.12 185.6-161.51 194.78-98.384 9.19-185.585-63.12-194.773-161.5-9.188-98.386 63.116-185.59 161.493-194.781z"],["#177A5B","M729.724 1357.65c2.407 1.36 9.858 7.83 12.409 9.91 9.648 7.86 18.693 15.22 28.857 22.42 36.198 25.63 71.808 41.27 112.678 57.52 4.006 7.37 8.844 14.76 13.688 21.5 94.509 131.51 285.224 133.57 411.204 48.99 6.72-4.5 19.62-17.34 26.6-19.21 20.99-4.85 41.9-7.15 63.05-11.89 72.06-16.14 125.73-43.28 185.07-86.59-14.22 21.45-29.63 42.09-46.16 61.83-15.86 17.87-31.79 35.64-49.22 52.02-82.12 77.21-194.2 146.76-306.89 164.37-105.22 17.14-212.921-8.48-299.148-71.17-82.34-59.28-137.211-149.34-152.138-249.7z"]];function a({size:e=38,className:s}){return(0,t.jsx)("svg",{className:s,width:e,height:e,viewBox:"256 254 1536 1536",shapeRendering:"geometricPrecision","aria-hidden":"true",children:r.map(([e,r],a)=>(0,t.jsx)("path",{fill:e,d:r},a))})}function s({footer:e=!1}
2){return(0,t.jsx)("div",{className:e?"mx-auto mt-8 w-fit rounded-lg bg-linen px-3 py-1 sm:px-5 sm:py-2":"w-fit",children:(0,t.jsxs)("a",{href:"https://corpusmesh.com",className:"group inline-flex min-h-11 items-center gap-2 sm:gap-3 rounded-md font-body text-charcoal transition-colors hover:text-forest-700 focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-forest-700","aria-label":"Powered by CorpusMesh",children:[(0,t.jsxs)("span",{className:"font-mono text-[8px] sm:text-[9px] font-medium uppercase leading-[1.6] tracking-[0.16em] text-stone-600",children:["Powered",(0,t.jsx)("br",{}),"by"]}),(0,t.jsx)(a,{size:36,className:"size-6 shrink-0 sm:size-9"}),(0,t.jsx)("span",{className:"text-[14px] sm:text-[19px] font-semibold tracking-[-0.035em]",children:"CorpusMesh"}),(0,t.jsx)("svg",{"aria-hidden":"true",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",className:"size-3 sm:ml-1 sm:size-3.5 text-stone-500 transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5",children:(0,t.jsx)("path",{d:"M7 17 17 7M7 7h10v10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})})}var n=e.i(427620),o=e.i(682342);let l={popular:[{label:"Scenariusz lekcji: szablon i przykład",href:"/blog/scenariusz-lekcji-szablon"},{label:"Taksonomia Blooma: 6 poziomów i czasowniki",href:"/blog/taksonomia-blooma-w-praktyce"},{label:"Metoda projektu w szkole, krok po kroku",href:"/blog/metoda-projektu-w-szkole-krok-po-kroku"},{label:"AI dla nauczycieli: planowanie lekcji 2026",href:"/blog/ai-w-planowaniu-lekcji-jak-zaczac-w-2026-roku"},{label:"Podstawa programowa 2026: zmiany",href:"/blog/podstawa-programowa-2026-najwazniejsze-zmiany-dla-nauczycieli"}],resources:[{label:"Dyktanda do druku",href:"/dyktanda"},{label:"Funkcje",href:"/funkcje"},{label:"Planer",href:"/agenda"},{label:"Cennik",href:"/cennik"},{label:"Rozszerzenie Chrome",href:"/extension-chrome"},{label:"Blog",href:"/blog"},{label:"Poradnik",href:"/guide"},{label:"FAQ",href:"/faq"},{label:"Kontakt",href:"/contact"}],legal:[{label:o.market.marketingLabels.legal,href:`/${o.market.legalSlugs.legal}`},{label:o.market.marketingLabels.privacy,href:`/${o.market.legalSlugs.privacy}`},{label:o.market.marketingLabels.terms,href:`/${o.market.legalSlugs.terms}`},{label:"Mapa strony",href:"/sitemap.xml"}]};e.s(["default",0,function(){return(0,t.jsx)("footer",{id:"footer",className:"bg-forest-700 text-linen",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-16 py-16",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-10",children:[(0,t.jsxs)("div",{className:"md:col-span-1",children:[(0,t.jsxs)(n.default,{href:"/",className:"flex items-baseline gap-0.5",children:[(0,t.jsx)("span",{className:"font-display font-semibold text-xl text-linen",children:"przygotuj lekcje"}),(0,t.jsx)("span",{className:"text-terracotta-500 text-xl font-bold",children:"."})]}),(0,t.jsx)("p",{className:"mt-3 text-sm text-stone-200 font-body leading-relaxed",children:"Asystent AI do tworzenia edytowalnych szkiców lekcji."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-body font-bold text-sm uppercase tracking-wider mb-4 text-stone-200",children:"Popularne artykuły"}),(0,t.jsx)("ul",{className:"space-y-3",children:l.popular.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:e.href,className:"text-sm text-stone-200 hover:text-white transition-colors font-body leading-snug",children:e.label})},e.href))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-body font-bold text-sm uppercase tracking-wider mb-4 text-stone-200",children:"Zasoby"}),(0,t.jsx)("ul",{className:"space-y-3",children:l.resources.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:e.href,className:"text-sm text-stone-200 hover:text-white transition-colors font-body",children:e.label})},e.href))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-body font-bold text-sm uppercase tracking-wider mb-4 text-stone-200",children:"Prawne"}),(0,t.jsx)("ul",{className:"space-y-3",children:l.legal.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:e.href,className:"text-sm text-stone-200 hover:text-white transition-colors font-body",children:e.label})},e.href))})]})]}),(0,t.jsxs)("div",{className:"mt-12 pt-8 border-t border-forest-500 flex flex-col items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-3 w-full",children:[(0,t.jsxs)("p",{className:"text-sm text-stone-200 font-body",children:["© ",new Date().getFullYear()," Przygotuj Lekcje. Wszelkie prawa zastrzeżone."]}),(0,t.jsx)("button",{onClick:()=>window.dispatchEvent(new Event("reopen-cookie-consent")),className:"text-xs text-stone-200 font-body hover:text-stone-200 transition-colors","aria-label":"Zarządzaj ustawieniami plików cookie",children:"Zarządzaj plikami co
2okie"})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-xs text-stone-200 font-body",children:[(0,t.jsx)("span",{children:"Dostępne również:"}),(0,t.jsx)("a",{href:"https://preparemescours.fr",rel:"noopener noreferrer",className:"hover:text-stone-200 transition-colors",children:"Prépare Mes Cours (FR)"}),(0,t.jsx)("span",{className:"text-forest-500",children:"·"}),(0,t.jsx)("a",{href:"https://draftmylesson.com",rel:"noopener noreferrer",className:"hover:text-stone-200 transition-colors",children:"Draft My Lesson (EN)"}),(0,t.jsx)("span",{className:"text-forest-500",children:"·"}),(0,t.jsx)("a",{href:"https://creaclases.com",rel:"noopener noreferrer",className:"hover:text-stone-200 transition-colors",children:"Creaclases (ES)"}),(0,t.jsx)("span",{className:"text-forest-500",children:"·"}),(0,t.jsx)("a",{href:"https://carriva.fr",rel:"noopener noreferrer",className:"hover:text-stone-200 transition-colors",children:"Carriva (audyt emerytur FR)"}),(0,t.jsx)("span",{className:"text-forest-500",children:"·"}),(0,t.jsx)("a",{href:"https://draftedby.com",rel:"noopener noreferrer",className:"hover:text-stone-200 transition-colors",children:"Drafted By (Agency)"})]})]}),(0,t.jsx)(s,{footer:!0})]})})}],948287)},769879,e=>{"use strict";var t=e.i(130569),r=e.i(823005),a=e.i(711834),s=e.i(948287);let n=[{key:"question",label:"Pytanie",description:"Ogólne pytania o narzędzie",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"9",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M8.5 8.5a2.5 2.5 0 0 1 4.5 1.5c0 1.5-2.5 2-2.5 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("circle",{cx:"11",cy:"15.5",r:"0.75",fill:"currentColor"})]})},{key:"support",label:"Wsparcie",description:"Błąd lub problem techniczny",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:[(0,t.jsx)("path",{d:"M11 2v4M11 16v4M2 11h4M16 11h4M4.93 4.93l2.83 2.83M14.24 14.24l2.83 2.83M4.93 17.07l2.83-2.83M14.24 7.76l2.83-2.83",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("circle",{cx:"11",cy:"11",r:"3",stroke:"currentColor",strokeWidth:"1.5"})]})},{key:"press",label:"Prasa",description:"Media i współpraca",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:[(0,t.jsx)("rect",{x:"3",y:"5",width:"16",height:"14",rx:"2",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M3 9h16M9 9v10",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M6 12h1M6 15h1M12 12h4M12 15h4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})},{key:"other",label:"Inne",description:"Wszystko inne",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:[(0,t.jsx)("path",{d:"M19 11c0 4.418-3.582 8-8 8a8.001 8.001 0 0 1-7.938-7H3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M3 11c0-4.418 3.582-8 8-8a8.001 8.001 0 0 1 7.938 7H19",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("circle",{cx:"8",cy:"11",r:"1",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"11",cy:"11",r:"1",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"14",cy:"11",r:"1",fill:"currentColor"})]})}],o=["Nie pilne","Uciążliwe, ale do przeżycia","Blokujące"],l=["Nauczyciel szkolny","Korepetytor","Dyrektor / Administrator","Dziennikarz / Media","Inne"];e.s(["default",0,function(){let[e,i]=(0,r.useState)(null),[c,d]=(0,r.useState)(""),[u,h]=(0,r.useState)(""),[f,m]=(0,r.useState)(""),[x,p]=(0,r.useState)(""),[b,j]=(0,r.useState)(""),[y,g]=(0,r.useState)(""),[k,v]=(0,r.useState)(""),[w,N]=(0,r.useState)(!1),[z,C]=(0,r.useState)(!1),[M,S]=(0,r.useState)(""),[P,L]=(0,r.useState)(!1),[E,T]=(0,r.useState)(!1),B=(0,r.useRef)(null),O=async t=>{if(t.preventDefault(),e){N(!0),S("");try{let t=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({category:e,name:c,email:u,subject:f,message:x,organization:b,role:y,urgency:k})});if(!t.ok){let e=await t.json();throw Error(e.error||"Błąd podczas wysyłania wiadomości")}C(!0)}catch(e){S(e instanceof Error?e.message:"Błąd podczas wysyłania wiadomości")}finally{N(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{}),(0,t.jsxs)("main",{id:"main",className:"mx-auto max-w-[680px] px-6 py-20 md:py-28",children:[(0,t.jsx)("h1",{className:"font-display text-[32px] md:text-[40px] font-semibold text-charcoal mb-3",children:"Kontakt"}),(0,t.jsx)("p",{className:"font-body text-stone-500 mb-10",children:"Od
2powiadamy w ciągu 48 godzin, zazwyczaj znacznie szybciej."}),z?(0,t.jsxs)("div",{className:"card p-10 text-center",children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-forest-100 flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",children:(0,t.jsx)("path",{d:"M7 15l5 5L22 9",stroke:"#2D4A3E",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("h2",{className:"font-display text-xl font-semibold text-charcoal mb-2",children:"Wiadomość wysłana"}),(0,t.jsx)("p",{className:"font-body text-sm text-stone-600 mb-6",children:"Otrzymaliśmy Twoją wiadomość i odpowiemy najszybciej jak to możliwe."}),(0,t.jsx)("button",{onClick:()=>{i(null),d(""),h(""),m(""),p(""),j(""),g(""),v(""),C(!1),S("")},className:"btn-ghost !h-9 !text-sm",children:"Wyślij kolejną wiadomość"})]}):(0,t.jsx)(t.Fragment,{children:e?(0,t.jsxs)("div",{ref:B,className:"transition-all duration-300",style:{opacity:+!!E,transform:E?"translateY(0)":"translateY(12px)"},children:[(0,t.jsxs)("button",{onClick:()=>{L(!0),setTimeout(()=>{i(null),T(!1),L(!1)},250)},className:"flex items-center gap-2 font-body text-sm text-stone-500 hover:text-charcoal transition-colors mb-6",children:[(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,t.jsx)("path",{d:"M10 12L6 8l4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"Zmień kategorię"]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,t.jsx)("div",{className:"w-9 h-9 rounded-xl bg-terracotta-50 flex items-center justify-center text-terracotta-500",children:n.find(t=>t.key===e)?.icon}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-body font-semibold text-sm text-charcoal",children:n.find(t=>t.key===e)?.label}),(0,t.jsx)("p",{className:"font-body text-xs text-stone-500",children:n.find(t=>t.key===e)?.description})]})]}),(0,t.jsxs)("form",{onSubmit:O,className:"space-y-5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block font-body font-medium text-sm text-charcoal mb-1.5",children:["Imię i nazwisko ",(0,t.jsx)("span",{className:"text-terracotta-500",children:"*"})]}),(0,t.jsx)("input",{type:"text",value:c,onChange:e=>d(e.target.value),placeholder:"Twoje imię i nazwisko",required:!0,className:"input-field"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block font-body font-medium text-sm text-charcoal mb-1.5",children:["E-mail ",(0,t.jsx)("span",{className:"text-terracotta-500",children:"*"})]}),(0,t.jsx)("input",{type:"email",value:u,onChange:e=>h(e.target.value),placeholder:"[email protected]",required:!0,className:"input-field"})]})]}),("question"===e||"press"===e)&&(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-body font-medium text-sm text-charcoal mb-1.5",children:"Kim jesteś"}),(0,t.jsxs)("select",{value:y,onChange:e=>g(e.target.value),className:"input-field",children:[(0,t.jsx)("option",{value:"",children:"Wybierz..."}),l.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),"press"===e&&(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-body font-medium text-sm text-charcoal mb-1.5",children:"Medium / Organizacja"}),(0,t.jsx)("input",{type:"text",value:b,onChange:e=>j(e.target.value),placeholder:"Nazwa medium lub organizacji",className:"input-field"})]}),"support"===e&&(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-body font-medium text-sm text-charcoal mb-2",children:"Pilność"}),(0,t.jsx)("div",{className:"flex gap-2",children:o.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>v(e),className:`px-3 py-1.5 rounded-lg font-body text-sm font-medium transition-all border ${k===e?"Blokujące"===e?"bg-red-500 text-white border-red-500":"bg-forest-500 text-white border-forest-500":"bg-white text-stone-500 border-stone-200 hover:border-stone-300"}`,children:e},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block font-body font-medium text-sm text-charcoal mb-1.5",children:["Temat ",(0,t.jsx)("span",{className:"text-terracotta-500",children:"*"})]}),(0,t.jsx)("input",{type:"text",value:f,onChange:e=>m(e.target.value),placeholder:"support"===e?"np. Błąd podczas generowania lekcji":"press"===e?"np. Prośba o wywiad, artykuł w przygotowaniu...":"W kilku słowach",required:!0,className:"input-field"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block font-body font-medium text-sm text-charcoal mb-1.5",children:["Wiadomość ",(0,t.jsx)("span",{className:"text-terracotta-500",children:"*"})]}),(0,t.jsx)("textarea",{value:x,onChange:e=>p(e.target.value),placeholder:"support"===e?"Opisz problem szczegółowo: co robiłeś/aś, co się stało, jakiej przeglądarki używasz...":"press"===e?"Kontekst zapytania, temat, terminy...":"Twoja wiadomość...",required:!0,rows:"support"===e?6:5,className:"input-field !h-auto min-h-[120px] resize-y py-3"})]}),"support"===e&&(0,t.jsx)("p",{className:"font-body text-xs text-stone-400",children:"Proszę podać przeglądarkę (Chrome, Safari...) i urządzenie (komputer, telefon...), jeśli to istotne."}),M&&(0,t.jsx)("div",{className:"p-3 bg-red-50 border border-red-200 rounded-xl font-body text-sm text-red-700",children:M}),(0,t.jsx)("button",{type:"submit",disabled:w,className:"btn-primary w-full disabled:opacity-50",children:w?"Wysyłanie...":"Wyślij wiadomość"})]})]}):(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 transition-all duration-300",style:{opacity:+!P,transform:P?"translateY(-8px)":"translateY(0)"},children:n.map(e=>(0,t.jsxs)("button",{onClick:()=>{var t;return t=e.key,void(L(!0),setTimeout(()=>{i(t),T(!1),setTimeout(()=>{T(!0),L(!1)},50)},250))},className:"bg-cream text-left p-6 neo-card neo-card-sm neo-lift group",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl bg-cream flex items-center justify-center mb-3 text-stone-500 group-hover:text-terracotta-500 group-hover:bg-terracotta-50 transition-colors",children:e.icon}),(0,t.jsx)("p",{className:"font-body font-semibold text-sm text-charcoal mb-0.5",children:e.label}),(0,t.jsx)("p",{className:"font-body text-xs text-stone-500",children:e.description})]},e.key))})})]}),(0,t.jsx)(s.default,{})]})}])}]);
3
4//# debugId=1722f7a9-cb39-f88a-b40c-88cb39caf712

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.