PageSourceSearch

https://magazyny.pl/_next/static/chunks/pages/rejestracja-4be5213bda4abef9.js

js magazyny.pl collected 2026-10-08 05:51:13 UTC 17,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7367],{51620:function(e,t,n){"use strict";var i=n(59499),r=n(4730),o=n(19521),l=n(96430),a=n(37535),s=n(85893),c=["children"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var p=o.ZP.button.withConfig({displayName:"with-icon__StyledButton",componentId:"sc-mbs9p6-0"})(["border:1px solid ",";border-radius:3px;background:transparent;padding:18px 43px;font-size:16px;line-height:20px;font-weight:600;cursor:pointer;transition:0.2s;display:flex;align-items:center;&:hover{background:",";color:",";}","{height:50px;}"," "," "," "," ",""],function(e){return e.theme.colors.black},function(e){return e.theme.colors.black},function(e){return e.theme.colors.white},l.Z.lg.max,function(e){return e.noBorder&&(0,o.iv)(["border:none;&:hover{background:",";color:",";svg path{fill:white;}}"],function(e){return e.theme.colors.red},function(e){return e.theme.colors.white})},function(e){return e.white&&(0,o.iv)(["background:",";&:hover{background:",";color:",";}"],function(e){return e.theme.colors.white},function(e){return e.theme.colors.black},function(e){return e.theme.colors.white})},function(e){return e.black&&(0,o.iv)(["background:",";color:",";svg path{fill:",";}&:hover{background:",";color:",";}"],function(e){return e.theme.colors.black},function(e){return e.theme.colors.white},function(e){return e.theme.colors.red},function(e){return e.theme.colors.red},function(e){return e.theme.colors.white})},function(e){return e.red&&(0,o.iv)(["background:",";color:",";svg path{fill:white;}&:hover{background:",";color:",";}"],function(e){return e.theme.colors.red},function(e){return e.theme.colors.white},function(e){return e.theme.colors.black},function(e){return e.theme.colors.white})},function(e){return e.powderBlueGradient&&(0,o.iv)(["background:linear-gradient(0deg,#bcdee6 0%,#bcdee6 100%),#fff;color:",";svg path{fill:",";}&:hover{background:linear-gradient(0deg,#61b7cb 0%,#61b7cb 100%),#fff;color:",";}"],function(e){return e.theme.colors.black},function(e){return e.theme.colors.deepteal},function(e){return e.theme.colors.black})}),g=o.ZP.span.withConfig({displayName:"with-icon__IconWrapper",componentId:"sc-mbs9p6-1"})(["margin-left:10px;svg{width:15px;}svg path{transition:0.2s;}"]),m=function(e){var t=e.children,n=(0,r.Z)(e,c);return(0,s.jsxs)(p,u(u({},n),{},{className:"button-with-icon",children:[t,(0,s.jsx)(g,{children:(0,s.jsx)(a.Z,{})})]}))};t.Z=m},59307:function(e,t,n){"use strict";var i=n(27812);n(67294);var r=n(19521),o=n(41664),l=n.n(o),a=n(5953),s=n(28709),c=n(93293),d=n(96430),u=n(85893),p=(0,r.ZP)(a.Z).withConfig({displayName:"breadcrumbs__StyledContainer",componentId:"sc-tno5e9-0"})(["display:flex;padding-top:27px;padding-bottom:11px;","{position:absolute;padding-top:0;top:135px;z-index:1;"," ","}","{","}"],d.Z.lg.max,function(e){return e.whiteTextOnMobile&&(0,r.iv)(["color:",";","{color:",";}"],function(e){return e.theme.colors.white},s.x,function(e){return e.theme.colors.white})},function(e){return e.hideOnMobile&&(0,r.iv)(["display:none;"])},d.Z.lg.min,function(e){return e.hideOnDesktop&&(0,r.iv)(["display:none;"])}),g=r.ZP.span.withConfig({displayName:"breadcrumbs__Separator",componentId:"sc-tno5e9-1"})(["padding:0 5px;font-size:13px;line-height:126%;"]),m=r.ZP.div.withConfig({displayName:"breadcrumbs__CrumbWrapper",componentId:"sc-tno5e9-2"})(["display:flex;","{display:none;&:nth-last-of-type(1){display:flex;}&:nth-last-of-type(2){display:flex;white-space:nowrap;}}"],d.Z.sm.max),h=function(e){var t=e.crumbs,n=e.whiteTextOnMobile,r=e.hideOnMobile,o=e.hideOnDesktop,a=[{name:(0,(0,c.$G)("navigation").t)("homePage"),href:"/"}].concat((0,i.Z)(t));return(0,u.jsx)(p,{whiteTextOnMobile:n,hideOnMobile:r,hideOnDesktop:o,children:a.map(function(e,t){var n=e.name,i=e.href,r=t===a.length-1;return(0,u.jsxs)(m,{children:[(0,u.jsx)(l(),{href:i||"",prefetch:!1,children:(0,u.jsx)("a",{children:(0,u.jsx)(s.x,{size:13,weight:r?600:4
100,children:n})})}),!r&&(0,u.jsx)(g,{children:"/"})]},n)})})};t.Z=h},12050:function(e,t,n){"use strict";var i=n(67294),r=n(99017),o=n(3222),l=function(e){var t=(0,i.useContext)(o.Z).setPopupData,n=(0,r.Z)(),l=(0,i.useCallback)(function(e){sessionStorage.getItem("".concat(n,"-popupShown"))||(t({visible:!0,image:e.image,link:e.link,delay:e.delay,visibleOnMobile:e.visibleOnMobile}),sessionStorage.setItem("".concat(n,"-popupShown"),"true"))},[n,t]);(0,i.useEffect)(function(){var t,n,i,r=Math.floor(Math.random()*e.length);null!=e&&null!==(t=e[r])&&void 0!==t&&null!==(n=t.image)&&void 0!==n&&n.src&&setTimeout(function(){return l(e[r])},null!==(i=e[r].delay)&&void 0!==i?i:0)},[e,l])};t.Z=l},50729:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return er},default:function(){return eo}});var i,r=n(79007),o=n(53733),l=n(59307),a=n(19521),s=n(41664),c=n.n(s),d=n(5953),u=n(28709),p=n(51620),g=n(96430),m=n(50029),h=n(87794),f=n.n(h),x=n(67294),v=n(82175),b=n(87066),w=n(79767),y=n(3313),_=n(80541),j=n(1594),Z=n(93293),I=n(93423),S=n(90475),N=n(85893),P=a.ZP.div.withConfig({displayName:"register__Wrapper",componentId:"sc-1lmglrh-0"})(["position:relative;width:100%;"]),k=(0,a.ZP)(v.l0).withConfig({displayName:"register__StyledForm",componentId:"sc-1lmglrh-1"})(["display:grid;gap:10px;margin:0;& button{","{margin-right:auto;}}"],g.Z.lg.max);a.ZP.div.withConfig({displayName:"register__StyledFormOptions",componentId:"sc-1lmglrh-2"})(["display:flex;align-items:center;margin:4px 0 16px 0;& label{margin:0;}& a{margin:0 0 0 auto;font-weight:400;font-size:13px;line-height:16px;text-decoration:underline;transition:color 300ms ease-in-out;&:hover{color:",";}}"],function(e){return e.theme.colors.red});var C=a.ZP.div.withConfig({displayName:"register__StyledTermsWrapper",componentId:"sc-1lmglrh-3"})(["display:grid;gap:3px;"]);a.ZP.div.withConfig({displayName:"register__HorizontalLine",componentId:"sc-1lmglrh-4"})(["width:100%;height:1px;background-color:",";margin-bottom:10px;"],function(e){return e.theme.colors.lightgray});var T=a.ZP.p.withConfig({displayName:"register__ErrorText",componentId:"sc-1lmglrh-5"})(["color:",";text-align:center;"],function(e){return e.theme.colors.red}),O=a.ZP.p.withConfig({displayName:"register__FormMessage",componentId:"sc-1lmglrh-6"})([""]),M=function(e){var t,n=e.split(" ");if(n.length<2)return{firstName:e,lastName:""};return{firstName:n[0],lastName:n.slice(1).join(" ")}},D=function(){var e=(0,x.useRef)(null),t=(0,x.useState)({text:"",error:!1}),n=t[0],i=t[1],r=(0,Z.$G)("form").t;return(0,N.jsx)(P,{children:(0,N.jsx)(v.J9,{innerRef:e,initialValues:S.Li,validationSchema:S.wX,onSubmit:function(e,t){var o=t.setSubmitting;t.resetForm,(!n.text||n.error)&&(0,m.Z)(f().mark(function t(){var n,l,a,s,c,d,u,p,g,m,h;return f().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,o(!0),l=e.name,a=e.email,s=e.company,c=e.password,d=e.phone,u=e.agree1,p=M(l),(g=new FormData).set("firstName",p.firstName),g.set("lastName",p.lastName),g.set("company",s),g.set("email",a),g.set("phone",d),g.set("password",c),g.set("consent1",String(u)),window.location.href&&g.set("url",window.location.href),t.next=15,b.Z.post(S.O7,g);case 15:if(!(200!==(m=t.sent).status||(null==m?void 0:null===(n=m.data)||void 0===n?void 0:n.status)!==!0)){t.next=18;break}throw Error(null==m?void 0:null===(h=m.data)||void 0===h?void 0:h.message);case 18:(0,I.Z)({event:"register"}),o(!1),i({text:r("registerSuccess"),error:!1}),t.next=28;break;case 23:t.prev=23,t.t0=t.catch(0),o(!1),i({text:(null===t.t0||void 0===t.t0?void 0:t.t0.message)||r("somethingWentWrong"),error:!0}),setTimeout(function(){i({text:"",error:!1})},5e3);case 28:case"end":return t.stop()}},t,null,[[0,23]])}))()},children:function(e){var t=e.errors,i=e.touched,o=e.isSubmitting,l=e.submitCount;return(0,N.jsxs)(k,{children:[(0,N.jsx)(v.gN,{name:"name",label:"Imię i nazwisko",component:w.Z,required:!0}),(0,N.jsx)(v.gN,{name:"company",label:"Firma",component:w.Z,required:!0}),(0,N.jsx)(v.gN,{name:"email",type:"email",label:"Służbowy adres e-mail",component:w.Z,required:!0}),(0,N.jsx)(v.gN,{name:"phone",label:"Numer telefonu",component:w.Z,required:!0}),(0,N.jsx)(v.gN,{name:"password",type:"password",label:"Hasło",component:w.Z,required:!0}),(0,N.jsxs)(C,{children:[(0,N.jsx)(v.gN,{type:"checkbox",name:"agree1",label:r("checkbox1"),component:y.Z,disableExpand:!0}),Boolean(i.agree1&&t.agree1)&&(0,N.jsx)(T,{dangerouslySetInnerHTML:{__html:t.agree1}})]}),0!==Object.keys(t).length&&l>0&&(0,N.jsx)(T,{dangerouslySetInnerHTML:{__html:"*".concat(r("fillInNecessaryFields"))}}),n.text&&(0,N.jsx)(O,{error:n.error,children:n.text}),(0,N.jsx)(_.Z,{disabled:!!(n.text&&!n.error),loading:o,withIcon:!0,fluid:!0,red:!0,children:r("register")}),(0,N.jsx)(j.Z,{text:r("privacyNotice")})]})}})})},E=n(25245);function B(){return(B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var H=function(e){return x.createElement("svg",B({id:"Warstwa_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17.1 8"},e),i||(i=x.createElement("g",{id:"Warstwa_1-2"},x.createElement("path",{d:"m16.45,4.08l-1.58,1.48s-.1.04-.14,0l-1.39-1.01-1.56,1.05s-.08.02-.12,0l-1.09-.79h-3.05l-.08.22c-.46,1.39-1.79,2.32-3.3,2.32-1.92,0-3.47-1.5-3.47-3.34S2.23.66,4.14.66c1.5,0,2.82.92,3.3,2.3l.08.22h7.97l.96.88.23-.24-.24.27h.02Zm.46-.5l-1.16-1.05h-7.76c-.62-1.52-2.14-2.52-3.85-2.52C1.86,0,0,1.8,0,4.01s1.86,3.99,4.14,3.99c1.72,0,3.24-1.01,3.86-2.54h2.35l.91.66c.27.2.63.2.91.02l1.17-.78,1,.73c.3.22.73.2,1-.06l1.58-1.49c.14-.13.21-.3.21-.49s-.08-.35-.21-.47h.02Z"}),x.createElement("path",{d:"m4.15,4.26c-.14,0-.27-.11-.27-.26s.11-.26.27-.26.26.11.26.26-.11.26-.26.26Zm0-1.16c-.51,0-.94.4-.94.91s.42.91.94.91.93-.4.93-.91-.42-.91-.93-.91Z"}))))},L=a.ZP.div.withConfig({displayName:"register__Wrapper",componentId:"sc-9ptj7n-0"})(["position:relative;","{background-image:linear-gradient(90deg,#f2f2f2 0%,rgba(242,242,242,0) 100%);}"],g.Z.lg.max),z=a.ZP.div.withConfig({displayName:"register__Inner",componentId:"sc-9ptj7n-1"})(["display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:0;grid-row-gap:0;align-items:stretch;","{grid-template-columns:repeat(1,1fr);grid-row-gap:60px;}"],g.Z.lg.max),F=a.ZP.div.withConfig({displayName:"register__Box",componentId:"sc-9ptj7n-2"})(["position:relative;padding:72px 0;display:flex;flex-direction:column;align-items:flex-start;","{padding:32px 0 0 0;}","{background-image:linear-gradient(90deg,#f2f2f2 0%,rgba(242,242,242,0) 100%);&:before{content:'';position:absolute;right:100%;top:0;width:25vw;height:100%;background-color:#f2f2f2;pointer-events:none;}}"],g.Z.lg.max,g.Z.lg.min),W=a.ZP.div.withConfig({displayName:"register__BoxInner",componentId:"sc-9ptj7n-3"})(["display:flex;flex-direction:column;width:100%;padding:0 64px 0 0;max-width:574px;","{max-width:100%;padding:60px 0 0 0;}"],g.Z.lg.max),X=a.ZP.div.withConfig({displayName:"register__BoxHeader",componentId:"sc-9ptj7n-4"})(["margin:0 0 24px 0;padding:0 0 24px 0;border-bottom:1px solid ",";","{margin:0;padding:0;}"],function(e){return e.theme.colors.lightgray},u.X),R=a.ZP.p.withConfig({displayName:"register__Subheading",componentId:"sc-9ptj7n-5"})(["margin:12px 0 0 0;font-size:18px;line-height:23px;font-weight:600;"]),q=a.ZP.div.withConfig({displayName:"register__BoxBody",componentId:"sc-9ptj7n-6"})([""]),G=a.ZP.ul.withConfig({displayName:"register__Pictograms",componentId:"sc-9ptj7n-7"})(["margin:0;padding:0;display:flex;flex-direction:column;list-style-type:none;"]),V=a.ZP.li.withConfig({displayName:"register__PictogramsItem",componentId:"sc-9ptj7n-8"})(["margin:0 0 24px 0;padding:0;&:last-child{margin:0;}"]),$=a.ZP.div.withConfig({displayName:"register__PictogramsItemHeader",componentId:"sc-9ptj7n-9"})(["display:flex;"]),J=a.ZP.div.withConfig({displayName:"register__PictogramsItemIcon",componentId:"sc-9ptj7n-10"})(["margin:0 8px 0 0;& svg{height:20px;width:20px;}"]),U=a.ZP.h4.withConfig({displayName:"register__PictogramsItemTitle",componentId:"sc-9ptj7n-11"})(["font-size:16px;line-height:20px;font-weight:600;"]),A=a.ZP.div.withConfig({displayName:"register__PictogramsItemContent",componentId:"sc-9ptj7n-12"})(["display:flex;flex-direction:column;"]),K=a.ZP.p.withConfig({displayName:"register__PictogramsItemText",componentId:"sc-9ptj7n-13"})(["margin:8px 0 0 0;font-size:16px;line-height:20px;font-weight:400;"]),Q=a.ZP.div.withConfig({displayName:"register__BoxCta",componentId:"sc-9ptj7n-14"})(["margin:52px 0 0 0;width:100%;max-width:310px;","{margin:60px 0 0 0;max-width:100%;}"],g.Z.lg.max),Y=a.ZP.div.withConfig({displayName:"register__Cta",componentId:"sc-9ptj7n-15"})(["display:flex;flex-direction:column;width:100%;button{justify-content:center;width:100%;}"]),ee=a.ZP.h3.withConfig({displayName:"register__CtaTitle",componentId:"sc-9ptj7n-16"})(["margin:0 0 24px 0;padding:0;font-size:28px;line-height:35px;font-weight:400;"]),et=a.ZP.div.withConfig({displayName:"register__ColForm",componentId:"sc-9ptj7n-17"})(["padding:72px 0;","{padding:0 0 60px 0;}","{margin:0 0 16px 0;}"],g.Z.lg.max,u.X),en=function(e){var t=e.heading,n=e.text,i=e.features,r=e.subheading,o=e.buttonText,l=e.buttonLink,a=e.formHeading;e.formSuccessTitle,e.formSuccessText;var s=function(e){switch(e){case"clipboard":return(0,N.jsx)(E.Z,{});case"key":return(0,N.jsx)(H,{});default:return null}};return(0,N.jsx)(L,{children:(0,N.jsx)(d.Z,{children:(0,N.jsxs)(z,{children:[(0,N.jsx)(F,{children:(0,N.jsxs)(W,{children:[(0,N.jsxs)(X,{children:[(0,N.jsx)(u.X,{as:"h1",size:42,align:"left",themecolor:"black",dangerouslySetInnerHTML:{__html:t}}),(0,N.jsx)(R,{dangerouslySetInnerHTML:{__html:n}})]}),(0,N.jsx)(q,{children:(0,N.jsx)(G,{children:i.map(function(e,t){return(0,N.jsxs)(V,{children:[(0,N.jsxs)($,{children:[(0,N.jsx)(J,{children:s(e.icon)}),(0,N.jsx)(U,{dangerouslySetInnerHTML:{__html:e.title}}
1)]}),(0,N.jsx)(A,{children:(0,N.jsx)(K,{dangerouslySetInnerHTML:{__html:e.description}})})]},"".concat(e.title,"-").concat(t))})})}),(0,N.jsx)(Q,{children:(0,N.jsxs)(Y,{children:[(0,N.jsx)(ee,{dangerouslySetInnerHTML:{__html:r}}),(0,N.jsx)(c(),{href:l,prefetch:!1,children:(0,N.jsx)("a",{children:(0,N.jsx)(p.Z,{black:!0,noBorder:!0,children:o})})})]})})]})}),(0,N.jsxs)(et,{children:[(0,N.jsx)(u.X,{as:"h2",size:32,align:"left",themecolor:"black",dangerouslySetInnerHTML:{__html:a}}),(0,N.jsx)(D,{})]})]})})})},ei=n(12050),er=!0,eo=function(e){var t,n,i,a,s,c,d,u,p,g,m,h,f,x,v,b=e.data,w=null===(t=b.pageRegister)||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:n.attributes,y=null===(i=b.pageRegister)||void 0===i?void 0:null===(a=i.data)||void 0===a?void 0:null===(s=a.attributes)||void 0===s?void 0:s.Seo;if(!w)throw Error("CMS data didn't load properly");var _=(null==w?void 0:null===(c=w.Popup)||void 0===c?void 0:c.map(function(e){var t,n,i,r,o,l;return{image:{src:null==e?void 0:null===(t=e.Image)||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:null===(i=n.attributes)||void 0===i?void 0:i.url,alt:null==e?void 0:null===(r=e.Image)||void 0===r?void 0:null===(o=r.data)||void 0===o?void 0:null===(l=o.attributes)||void 0===l?void 0:l.alternativeText},link:null==e?void 0:e.Link,delay:null==e?void 0:e.Delay,visibleOnMobile:null==e?void 0:e.MobileVisibility}}))||[];return(0,ei.Z)(_),(0,N.jsxs)(r.Z,{children:[(0,N.jsx)(o.Z,{title:null!==(d=null==y?void 0:y.SeoTitle)&&void 0!==d?d:"",description:null!==(u=null==y?void 0:y.SeoDesc)&&void 0!==u?u:"",ogTitle:null==y?void 0:y.SeoFbTitle,ogDescription:null==y?void 0:y.SeoFbDesc,ogImage:null==y?void 0:null===(p=y.SeoFbImage)||void 0===p?void 0:null===(g=p.data)||void 0===g?void 0:null===(m=g.attributes)||void 0===m?void 0:m.url,twitterTitle:null==y?void 0:y.SeoTwitterTitle,twitterDescription:null==y?void 0:y.SeoTwitterDesc,twitterImage:null==y?void 0:null===(h=y.SeoTwitterImage)||void 0===h?void 0:null===(f=h.data)||void 0===f?void 0:null===(x=f.attributes)||void 0===x?void 0:x.url}),(0,N.jsx)(l.Z,{crumbs:[{name:w.Title}]}),(0,N.jsx)(en,{heading:w.SidebarTitle,text:w.SidebarText,features:(null===(v=w.SidebarList)||void 0===v?void 0:v.map(function(e){return{title:null==e?void 0:e.Title,description:null==e?void 0:e.Description,icon:null==e?void 0:e.Icon}}))||[],subheading:w.SidebarSubtitle,buttonText:w.SidebarButtonText,buttonLink:w.SidebarButtonUrl,formHeading:w.FormTitle,formSuccessTitle:w.SuccessfulRegistrationTitle,formSuccessText:w.SuccessfulRegistrationText})]})}},17213:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rejestracja",function(){return n(50729)}])}},function(e){e.O(0,[1485,6590,9774,2888,179],function(){return e(e.s=17213)}),_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.