PageSourceSearch

https://spaceplan.sk/_next/static/chunks/0b21yupkh5bcr.js

js spaceplan.sk collected 2026-10-08 16:06:54 UTC 4,905 bytes, 5 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]="514402cf-2a28-fe47-4154-e733b698d725")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,884454,e=>{"use strict";var t=e.i(438744);e.s(["LuMail",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"20",height:"16",x:"2",y:"4",rx:"2"}},{tag:"path",attr:{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"}}]})(e)},"LuMenu",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"4",x2:"20",y1:"12",y2:"12"}},{tag:"line",attr:{x1:"4",x2:"20",y1:"6",y2:"6"}},{tag:"line",attr:{x1:"4",x2:"20",y1:"18",y2:"18"}}]})(e)}])},906367,e=>{"use strict";var t=e.i(843476),a=e.i(733175),r=e.i(417757),s=e.i(326347),n=e.i(172636),l=e.i(158836),i=e.i(795868),o=e.i(994836),c=e.i(561005),m=e.i(389205),d=e.i(991896),x=e.i(831551),p=e.i(954616),u=e.i(271645),h=e.i(884454);e.s(["Newsletter",0,function(){let e=(0,a.useSystemLabels)(),{t:g}=(0,m.useTranslations)(),[f,w]=u.default.useState(""),[_,b]=u.default.useState(!1),[j,N]=u.default.useState(!1),y=(0,p.useMutation)({mutationFn:r.newsletterSubscribe,onSuccess:()=>N(!0)}),k=(0,d.useLocaleStore)(e=>e.currentLocale);return(0,t.jsx)("section",{id:"newsletters",className:(0,x.cn)("p-2 sm:p-12","ea-homepage-newsletter"),children:(0,t.jsxs)("form",{className:(0,x.cn)("grid grid-cols-12 gap-6 py-2","ea-homepage-newsletter__form"),onSubmit:function(e){e.preventDefault(),_&&!j&&f&&!y.isPending&&y.mutate({locale:k,body:{email:f,gdpr:_,return_url:new URL(o.ROUTES.NEWSLETTER_CONFIRM(),c.env.NEXT_PUBLIC_APP_URL).toString()}})},children:[(0,t.jsxs)("div",{className:(0,x.cn)("col-span-12 flex flex-row items-center justify-start space-x-4 md:col-span-7 md:pr-7","ea-homepage-newsletter__form-icon-email"),children:[(0,t.jsx)("div",{className:(0,x.cn)("rounded-full bg-accent p-4"),children:(0,t.jsx)(h.LuMail,{className:(0,x.cn)("h-10 w-10 stroke-primary","ea-homepage-newsletter__form-icon-email-icon")})}),(0,t.jsxs)("div",{className:(0,x.cn)("flex flex-col gap-2","ea-homepage-newsletter__form-title"),children:[(0,t.jsx)("h2",{"data-ea-visual-tag":"h4",className:(0,x.cn)("max-w-sm text-2xl font-bold","ea-homepage-newsletter__form-title-main"),children:g("text610")}),(0,t.jsx)("p",{className:(0,x.cn)("text-sm text-muted-foreground","ea-homepage-newsletter__form-title-sub"),children:g("text609")})]})]}),(0,t.jsxs)("div",{className:(0,x.cn)("col-span-12 flex w-full flex-col justify-center space-y-3 md:col-span-12","ea-homepage-newsletter__form-item-email"),children:[(0,t.jsxs)("div",{className:"col-span-12 flex w-full max-w-[540px] flex-col items-center justify-center gap-4 sm:flex-row md:gap-6",children:[(0,t.jsx)("div",{className:(0,x.cn)("flex h-10 w-full flex-row items-center"),children:(0,t.jsx)(l.Input,{"aria-label":e("email"),id:"newsletter-email",type:"email",name:"email",placeholder:g("text183"),onChange:e=>w(e.target.value),className:{wrapper:(0,x.cn)("border-none bg-input text-muted-foreground","ea-homepage-newsletter__form-item-email-input")}})}),(0,t.jsx)(s.Button,{type:"submit",className:(0,x.cn)("h-12 w-[130px] rounded-[12px] border-none bg-primary px-2 text-primary-foreground","ea-homepage-newsletter__form-item-email-submit-button"),disabled:0===f.length||!_||j,isLoading:y.isPending,children:g("text182")})]}),j&&(0,t.jsx)("span",{className:(0,x.cn)("font-semibold text-success"),children:g("text234")}),(0,t.jsxs)("div",{className:(0,x.cn)("flex flex-row items-center space-x-2","ea-homepage-newsletter__form-item-gdpr"),children:[(0,t.jsx)(n.Checkbox,{checked:_,onCheckedChange:()=>b(!_),id:"newsletter-gdpr","aria-label":g("text264")+" "+g("text265")+" "+g("text43
26"),className:(0,x.cn)("","ea-homepage-newsletter__form-item-gdpr-checkbox"),required:!0}),(0,t.jsx)(i.Label,{htmlFor:"newsletter-gdpr",className:(0,x.cn)("","ea-homepage-newsletter__form-item-gdpr-checkbox-label"),children:(0,t.jsxs)("span",{className:(0,x.cn)("","ea-homepage-newsletter__form-item-gdpr-checkbox-span"),children:[g("text264")," ",(0,t.jsx)("a",{href:g("text391")??"#",className:(0,x.cn)("text-primary","ea-homepage-newsletter__form-item-gdpr-checkbox-link1"),children:g("text265")})," ",(0,t.jsx)("a",{href:g("text392")??"#",className:(0,x.cn)("text-primary","ea-homepage-newsletter__form-item-gdpr-checkbox-link2"),children:g("text436")}),"."]})})]})]})]})})}])}]);
3
4//# debugId=514402cf-2a28-fe47-4154-e733b698d725
5//# sourceMappingURL=0w29~0_yd4-zc.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.