PageSourceSearch

https://www.blokhausre.com/_next/static/chunks/pages/register-cbee9f363a9a4f89.js

js blokhausre.com collected 2026-10-04 10:19:48 UTC 10,087 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495],{55111:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(67294),a=n(78146);function s(e,t,n,s=!1){let i=(0,a.Z)(n);(0,r.useEffect)(()=>{let n="function"==typeof e?e():e;return n.addEventListener(t,i,s),()=>n.removeEventListener(t,i,s)},[e])}},13551:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);n(32092),n(92029);var a=n(78146);n(55111),n(6454),n(88833),n(99585),new WeakMap;var s=n(70861),i=n(85893);let l=["onKeyDown"],c=r.forwardRef((e,t)=>{var n;let{onKeyDown:r}=e,c=function(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,l),[o]=(0,s.FT)(Object.assign({tagName:"a"},c)),d=(0,a.Z)(e=>{o.onKeyDown(e),null==r||r(e)});return(n=c.href)&&"#"!==n.trim()&&"button"!==c.role?(0,i.jsx)("a",Object.assign({ref:t},c,{onKeyDown:r})):(0,i.jsx)("a",Object.assign({ref:t},c,o,{onKeyDown:d}))});c.displayName="Anchor";var o=c},70861:function(e,t,n){"use strict";n.d(t,{FT:function(){return i}});var r=n(67294),a=n(85893);let s=["as","disabled"];function i({tagName:e,disabled:t,href:n,target:r,rel:a,role:s,onClick:i,tabIndex:l=0,type:c}){e||(e=null!=n||null!=r||null!=a?"a":"button");let o={tagName:e};if("button"===e)return[{type:c||"button",disabled:t},o];let d=r=>{var a;if(!t&&("a"!==e||(a=n)&&"#"!==a.trim())||r.preventDefault(),t){r.stopPropagation();return}null==i||i(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=s?s:"button",disabled:void 0,tabIndex:t?void 0:l,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?a:void 0,onClick:d,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),d(e))}},o]}let l=r.forwardRef((e,t)=>{let{as:n,disabled:r}=e,l=function(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,s),[c,{tagName:o}]=i(Object.assign({tagName:n,disabled:r},l));return(0,a.jsx)(o,Object.assign({},l,c,{ref:t}))});l.displayName="Button",t.ZP=l},7572:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/register",function(){return n(66925)}])},70525:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(93967),a=n.n(r),s=n(67294),i=n(47150),l=n(78146),c=n(97400),o=n(99106),d=n(85893);let u=(0,o.Z)("h4");u.displayName="DivStyledAsH4";let h=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s=u,...i}=e;return r=(0,c.vE)(r,"alert-heading"),(0,d.jsx)(s,{ref:t,className:a()(n,r),...i})});h.displayName="AlertHeading";var m=n(13551);let x=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s=m.Z,...i}=e;return r=(0,c.vE)(r,"alert-link"),(0,d.jsx)(s,{ref:t,className:a()(n,r),...i})});x.displayName="AlertLink";var j=n(63730),f=n(94749);let v=s.forwardRef((e,t)=>{let{bsPrefix:n,show:r=!0,closeLabel:s="Close alert",closeVariant:o,className:u,children:h,variant:m="primary",onClose:x,dismissible:v,transition:p=j.Z,...b}=(0,i.Ch)(e,{show:"onClose"}),g=(0,c.vE)(n,"alert"),N=(0,l.Z)(e=>{x&&x(!1,e)}),y=!0===p?j.Z:p,_=(0,d.jsxs)("div",{role:"alert",...y?void 0:b,ref:t,className:a()(u,g,m&&"".concat(g,"-").concat(m),v&&"".concat(g,"-dismissible")),children:[v&&(0,d.jsx)(f.Z,{onClick:N,"aria-label":s,variant:o}),h]});return y?(0,d.jsx)(y,{unmountOnExit:!0,...b,ref:void 0,in:r,children:_}):r?_:null});v.displayName="Alert";var p=Object.assign(v,{Link:x,Heading:h})},75663:function(e,t,n){"use strict";var r=n(85893),a=n(41664),s=n.n(a),i=n(97375),l=n(19101),c=n(68070),o=n(2914);t.Z=e=>{let{currentSlug:t,sectionPace:n,breadcrumbs:a}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"ltn__breadcrumb-area text-left bg-overlay-white-30 bg-image ".concat(n),style:{backgroundImage:'url("/img/bg/14.jpg")'},children:(0,r.jsx)(i.Z,{children:(0,r.jsx)(l.Z,{children:(0,r.jsx)(c.Z,{xs:12,children:(0,r.jsx)("div",{className:"ltn__breadcrumb-inner",children:(0,r.jsx)("div",{className:"ltn__breadcrumb-list",children:(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:(0,r.jsxs)(s(),{href:"/",children:[(0,r.jsx)("span",{className:"ltn__secondary-color",children:(0,r.jsx)(o.xng,{className:"me-2"})}),(0,r.jsx)("span",{className:"me-2",children:"Home"}),(0,r.jsx)(o.H_v,{})]})}),void 0!==a?a.map((e,t)=>(0,r.jsx)("li",{children:(0,r.jsxs)(s(),{href:e.url,children:[(0,r.jsx)("span",{className:"me-2",children:e.name}),(0,r.jsx)(o.H_v,{})]})},t)):"",(0,r.jsx)("li",{children:t})]})})})})})})})})}},59040:function(e,t,n){"use strict";var r=n(85893),a=n(67294),s=n(28437);t.Z=()=>{let[e,t]=(0,a.useState)(""),[n,i]=(0,a.useState)(!1),l=async n=>{n.preventDefault();try{await (0,s.Id)({email:e},"subs"),i(!0),t(""),setTimeout(()=>{i(!1)},5e3)}catch(e){console.error("Error saving data:",e)}};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"call-to-action-inner call-to-action-inner-6 ltn__secondary-bg position-relative",children:[(0,r.jsxs)("div",{className:"coll-to-info text-color-white",children:[(0,r.jsx)("h1",{children:"Looking for your dream home?"}),(0,r.jsx)("p",{children:"Your goals, our commitment"})]}),(0,r.jsxs)("div",{className:"ltn__search-widget",children:[(0,r.jsxs)("form",{onSubmit:l,className:"ltn__form-box",children:[(0,r.jsx)("input",{type:"email",name:"email",className:"required email",id:"email",placeholder:"Your E-mail...",value:e,onCh
1ange:e=>t(e.target.value)}),(0,r.jsx)("button",{type:"submit",id:"_form_15_submit",className:"btn-1 btn-white btn-effect-1",children:"SUBMIT"})]}),n&&(0,r.jsx)("p",{className:"form-message",children:"Thank you for subscribing!"}),(0,r.jsx)("div",{className:"ltn__newsletter-bg-icon",children:(0,r.jsx)("i",{className:"fas fa-envelope-open-text"})})]})]})})}},66925:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(59040),s=n(57001),i=n(97375),l=n(19101),c=n(68070),o=n(70525),d=n(75663),u=n(41664),h=n.n(u),m=n(67294),x=n(28437),j=n(34439);n(94101),t.default=()=>{let[e,t]=(0,m.useState)(""),[n,u]=(0,m.useState)(""),[f,v]=(0,m.useState)(""),[p,b]=(0,m.useState)(""),[g,N]=(0,m.useState)(""),[y,_]=(0,m.useState)(!1),[w,Z]=(0,m.useState)(""),[k,C]=(0,m.useState)(""),[E,S]=(0,m.useState)("United States"),[O,A]=(0,m.useState)(!1),T=async t=>{if(_(!1),t.preventDefault(),p!==g){_(!0),Z("Passwords do not match");return}if(p.length<6){_(!0),Z("Password should be at least 6 characters");return}let r=(0,x.BS)();r.registerUser(f,p).then(t=>{let a={firstName:e,lastName:n,email:f,phone:k,country:E,uid:t.user.uid,favoriteProjects:[],favoriteProperties:[]};r.addUser(a).then(()=>{A(!0),window.scrollTo({top:0,behavior:"smooth"})})}).catch(e=>{console.log(e),"Firebase: Error (auth/invalid-email)."===e?(Z("Invalid email"),_(!0)):"Firebase: Error (auth/email-already-in-use)."===e&&(Z("Email is already in use"),_(!0))})};return(0,r.jsx)("div",{children:(0,r.jsxs)(s.$V,{topbar:!0,children:[(0,r.jsx)(d.Z,{title:"Register",sectionPace:"",currentSlug:"Register"}),(0,r.jsx)("div",{className:"ltn__login-area pb-110",children:O?(0,r.jsx)(i.Z,{children:(0,r.jsx)(l.Z,{children:(0,r.jsxs)(c.Z,{xs:12,children:[(0,r.jsx)("div",{className:"section-title-area text-center",children:(0,r.jsxs)("h1",{className:"section-title",children:["Thanks for register ",(0,r.jsx)("br",{}),"Your Account"]})}),(0,r.jsx)("div",{className:"btn-wrapper d-flex justify-content-center",children:(0,r.jsx)(h(),{className:"theme-btn-1 btn reverse-color bt
1n-block",href:"/login",children:"Click to sign in"})})]})})}):(0,r.jsxs)(i.Z,{children:[(0,r.jsx)(l.Z,{children:(0,r.jsx)(c.Z,{xs:12,children:(0,r.jsx)("div",{className:"section-title-area text-center",children:(0,r.jsxs)("h1",{className:"section-title",children:["Register ",(0,r.jsx)("br",{}),"Your Account"]})})})}),(0,r.jsx)(l.Z,{children:(0,r.jsx)(c.Z,{xs:12,lg:{span:6,offset:3},children:(0,r.jsxs)("div",{className:"account-login-inner",children:[(0,r.jsxs)("form",{action:"#",className:"ltn__form-box contact-form-box",id:"register-form",onSubmit:T,children:[(0,r.jsx)("input",{type:"text",name:"firstname",placeholder:"First Name",required:!0,onChange:e=>t(e.target.value)}),(0,r.jsx)("input",{type:"text",name:"lastname",required:!0,placeholder:"Last Name",onChange:e=>u(e.target.value)}),(0,r.jsx)(j.sb,{className:"phone-select",defaultCountry:"us",value:k,onChange:(e,t)=>{C(e),t&&S(t.country.name)}}),(0,r.jsx)("input",{type:"text",name:"email",required:!0,placeholder:"Email*",onChange:e=>v(e.target.value)}),(0,r.jsx)("input",{type:"password",name:"password",required:!0,placeholder:"Password*",onChange:e=>b(e.target.value)}),(0,r.jsx)("input",{type:"password",name:"confirm-password",required:!0,placeholder:"Confirm Password*",onChange:e=>N(e.target.value)}),y&&(0,r.jsx)(o.Z,{variant:"danger",children:w}),(0,r.jsxs)("label",{className:"checkbox-inline",children:[(0,r.jsx)("input",{type:"checkbox",value:"",required:!0}),"I consent to Blokhaus processing my personal data in order to send personalized marketing material in accordance with the consent form and the privacy policy."]}),(0,r.jsxs)("label",{className:"checkbox-inline",children:[(0,r.jsx)("input",{type:"checkbox",value:"",required:!0}),"By clicking create account, I consent to the privacy policy."]}),(0,r.jsx)("div",{className:"btn-wrapper",children:(0,r.jsx)("button",{className:"theme-btn-1 btn reverse-color bt
1n-block",type:"submit",children:"CREATE ACCOUNT"})})]}),(0,r.jsxs)("div",{className:"by-agree text-center",children:[(0,r.jsx)("p",{children:"By creating an account, you agree to our:"}),(0,r.jsxs)("p",{children:[(0,r.jsx)(h(),{href:"/terms-conditions",children:"TERMS OF CONDITIONS \xa0 \xa0 | \xa0 \xa0"}),(0,r.jsx)(h(),{href:"/privacy-policy",children:"PRIVACY POLICY"})]}),(0,r.jsx)("div",{className:"go-to-btn mt-50",children:(0,r.jsx)(h(),{href:"/login",children:"ALREADY HAVE AN ACCOUNT ?"})})]})]})})})]})}),(0,r.jsx)("div",{className:"ltn__call-to-action-area call-to-action-6 before-bg-bottom",children:(0,r.jsx)(i.Z,{children:(0,r.jsx)(l.Z,{children:(0,r.jsx)(c.Z,{xs:12,children:(0,r.jsx)(a.Z,{})})})})})]})})}}},function(e){e.O(0,[5445,2634,8458,2177,8824,4770,668,7193,7001,2888,9774,179],function(){return e(e.s=7572)}),_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.