1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="db29dca9-5acd-4b8b-93e4-cb47e563738e",e._sentryDebugIdIdentifier="sentry-dbid-db29dca9-5acd-4b8b-93e4-cb47e563738e")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1044],{3628:function(e,t,n){"use strict";var s=n(85893);n(67294),t.Z=function(e){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:25,fill:"none",...e,children:[(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeMiterlimit:1.5,strokeWidth:1.5,d:"M10.081 14.506a4.377 4.377 0 1 0 0-8.753 4.377 4.377 0 0 0 0 8.753Z"}),(0,s.jsx)("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:1.5,strokeWidth:1.5,d:"M10.081 24s9.08-6.773 9.08-13.919C19.161 5.07 15.092 1 10.081 1 5.07 1 1 5.07 1 10.081 1 17.227 10.081 24 10.081 24Z",clipRule:"evenodd"})]})}},62790:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(85893),a=n(67294),r=n(94906),l=n.n(r);function i(e){var t;let{type:n,onClick:r,disabled:i,className:o,style:c,id:d,isLoading:u,"data-testid":h,...m}=e,[v,_]=(0,a.useState)(!1),x=(0,a.useRef)(!1);async function g(e){if(!i&&!u&&!x.current){x.current=!0,_(!0);try{await r(e)}finally{x.current=!1,_(!1)}}}let p=u||v;return(0,s.jsxs)("button",{type:n||"button",disabled:null!==(t=i||p)&&void 0!==t&&t,className:"btn btn-success ".concat(l().btn_loader," ").concat(o," ").concat(i?l().btnDisabled:l().btn," ").concat(p?l().btnDisabled:""),style:{...c},onClick:g,"data-testid":h,...d?{id:d}:{},children:[p&&(0,s.jsx)("img",{src:"/spinner.gif",className:l().spinner}),!p&&(0,s.jsx)("span",{children:m.children})]})}},1660:function(e,t,n){"use strict";var s=n(85893),a=n(67294),r=n(5519),l=n.n(r);t.Z=function(e){var t,n;let{onCheck:r,onDischeck:i,initialValue:o=!1,className:c="",checkMarkClassName:d="",border:u=2,width:h=20,height:m=20,marginRight:v=10,isChecked:_=!1}=e,[x,g]=(0,a.useState)(o);return(0,a.useEffect)(()=>{g(_)},[_]),(0,s.jsxs)("label",{className:l().checkbox_container,style:{width:h,height:m,marginRight:v},children:[(0,s.jsx)("input",{type:"checkbox",checked:x,onChange:()=>{g(!x),x?i():r()},style:{width:h,height:m}}),(0,s.jsx)("span",{className:"".concat(l().checkmark," ").concat(d," ").concat(c),style:{width:h,height:m,borderWidth:u},children:(0,s.jsx)("svg",{width:h-2,height:m-2,viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:x?l().checked_svg:l().svg,children:(0,s.jsx)("path",{d:"M0.5 7L4 10L10 1",stroke:"white",strokeWidth:"1.5",strokeLinejoin:"round"})})})]})}},99143:function(e,t,n){"use strict";n.d(t,{I:function(){return c},Z:function(){return u}});var s=n(85893),a=n(67294),r=function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.42 12.713c-.136-.215-.204-.323-.242-.49a1.173 1.173 0 010-.446c.038-.167.106-.274.242-.49C3.546 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.029.125.029.322 0 .446-.038.167-.106.274-.242.49C20.455 14.495 17.105 19 12 19c-5.106 0-8.455-4.505-9.58-6.287z"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 15a3 3 0 100-6 3 3 0 000 6z"})]})},l=function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10.743 5.092C11.149 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49.029.125.029.322 0 .447-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.205.325-.243.492a1.173 1.173 0 000 .446c.038.167.106.274.242.49C3.546 14.495 6.895 19 12 19c2.059 0 3.832-.732 5.289-1.723M3 3l18 18M9.88 9.879a3 3 0 104.243 4.243"})})},i=n(12291),o=n.n(i);function c(e){let{id:t,innerRef:n,type:a,value:r,onChange:l,onPaste:i,onKeyDown:c,onBlur:d,placeholder:u,onFocus:h=()=>{},disabled:m,style:v,hasError:_,autocomplete:x,isDefaultActive:g=!0}=e;return(0,s.jsx)("input",{ref:n,type:a,id:t,className:"form-control form-control-lg ".concat(g||r?"active":""," ").concat(_?o().error_active:o().font_300),onChange:l,onPaste:i,onKeyDown:c,onBlur:d,onFocus:h,placeholder:u,value:" "!==r?r:"",disabled:m,style:v,autoComplete:x})}function d(e){let{type:t,...n}=e,[i,d]=(0,a.useState)(!1),[u,h]=(0,a.useState)("");switch(t){case"select":return(0,s.jsx)("select",{...n,onBlur:n.onBlur,className:"form-control active ".concat(o().form_control_select),children:n.options.map(e=>(0,s.jsx)("option",{value:e.id,selected:n.value===e.value||n.value===e.id,children:e.value},e.id))});case"textarea":return(0,s.jsx)("textarea",{...n,onBlur:n.onBlur,className:"form-control ".concat(n.isDefaultActive||n.value?"active":""," ").concat(o().textarea),style:{background:"#F0F0F0",borderRadius:0}});case"password":case"noPassword":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c,{...n,type:i?"text":"password",onBlur:n.onBlur}),(0,s.jsx)("button",{type:"button",className:o().btn_eye,onClick:()=>d(e=>!e),children:i?(0,s.jsx)(r,{}):(0,s.jsx)(l,{})})]});case"phone":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c,{...n,type:"text",placeholder:u,onBlur:()=>{h(""),n.onBlur()},onFocus:()=>{h(n.placeholder)}}),(0,s.jsx)("button",{type:"button",className:o().btn_eye,onClick:()=>d(e=>!e)})]});default:return(0,s.jsx)(c,{...n,type:t||"text",onBlur:n.onBlur})}}
1function u(e){let{label:t,id:n,type:r,className:l="col-12",onChange:i,onKeyDown:c,options:u=[],value:h="",marginTop:m=20,rows:v=3,inputPlaceholder:_="",hasError:x=!1,labelColor:g="#235B42",errorText:p="",innerClassName:b="",containerStyle:f={},style:j={},disabled:k=!1,onBlurCondition:w=!1,onBlurErrorText:N="",onBlur:L=()=>{},labelStyle:C,labelClassName:y="",autocomplete:M="off",hideLabel:B=!1,isDefaultActive:D=!0}=e,[T,I]=(0,a.useState)(x),[S,A]=(0,a.useState)(p);return(0,a.useEffect)(()=>{I(x),A(p)},[p,x]),(0,s.jsxs)("div",{className:l,style:{marginTop:m,...f},children:[(0,s.jsxs)("div",{className:"form-outline ".concat(o().inner," ").concat(b),children:[(0,s.jsx)(d,{id:n,type:r,onChange:i,onKeyDown:c,options:u,value:h,rows:v,placeholder:_,disabled:k,style:j,hasError:T,autocomplete:M,isDefaultActive:D,onBlur:e=>{w?(I(!0),A(N)):I(!1),L(e)}}),(!(B&&h)||!B)&&(0,s.jsx)("label",{className:"form-label ".concat(y),htmlFor:t,style:{fontSize:"1rem",fontWeight:T?"bold":300,color:T?"#CA1517":g,...C},children:t}),(0,s.jsxs)("div",{className:"form-notch","aria-hidden":"true",children:[(0,s.jsx)("div",{className:"form-notch-leading"}),(0,s.jsx)("div",{className:"form-notch-middle"}),(0,s.jsx)("div",{className:"form-notch-trailing"})]})]}),T&&S&&(0,s.jsx)("div",{className:o().error,children:S})]})}},71044:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return L},default:function(){return y},formatEventDate:function(){return C}});var s=n(85893),a=n(67294),r=n(62790),l=n(6864),i=n(25675),o=n.n(i),c=n(33126),d=n(99143),u=n(1660),h=n(86501),m=n(33299),v=n(9008),_=n.n(v),x=n(3628),g=e=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"73",height:"78",fill:"none",viewBox:"0 0 73 78",children:[(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeWidth:"1.5",d:"M10.5 71 24 74.5M17 72.5l4.5-19"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"m22.502 19.5 12.5 3c-1.333 11.5-6.109 32.97-13.5 31-7.502-2-2.5-23.833 1-34"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeWidth:"1.5",d:"M19 32.502c1 1 3.8 2.5 7 .5s5.5.331 6.5 1.998M49.84 73.98l13.635-2.928M56.325 72.406l-4.503-19"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"m37.465 22.57 12.517-2.928c3.968 10.876 9.333 32.207 1.843 33.762-7.602 1.578-12.927-20.178-14.36-30.835"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeWidth:"1.5",d:"M53.481 32.27c-.922 1.073-3.6 2.78-6.942 1.026s-5.46.745-6.331 2.483"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M44 7.36v.644a7 7 0 1 1-4.151-6.398M44 2.4l-7 7.007-2.1-2.1"}),(0,s.jsx)("path",{stroke:"#235B42",strokeLinecap:"round",strokeWidth:"1.5",d:"m13 4.5 6 13M2 7l14 13.5M1 19.5l13.5 6M72 19.5l-14 6M70.5 7 57 20.5M59.5 4.5l-6 13"})]}),p=n(10172),b=n.n(p),f=n(49167),j=n(93041),k=n(10324),w=n(81502),N=n(29848),L=!0;let C=e=>{if(!e)return{};let t=new Date(e),n=(t.getMonth()+1).toString().padStart(2,"0"),s=t.getHours(),a=t.getMinutes();return{day:t.toLocaleDateString("de-DE",{weekday:"long"}),date:t.getDate().toString().padStart(2,"0"),month:n.toString().padStart(2,"0"),year:t.getFullYear(),hour:s.toString().padStart(2,"0"),minute:a.toString().padStart(2,"0")}};function y(e){var t,n,i;let{data:v}=(0,m.useSession)(),{isMobile:p}=(0,f.Z)(),L=(0,a.useRef)(null),[y,M]=(0,a.useState)({firstName:(null==v?void 0:null===(t=v.user)||void 0===t?void 0:t.firstName)||"",lastName:(null==v?void 0:null===(n=v.user)||void 0===n?void 0:n.lastName)||"",email:(null==v?void 0:null===(i=v.user)||void 0===i?void 0:i.email)||"",contactListId:null==e?void 0:e.hubspotListId,eventBegleitung:"false",isMarketingContact:"false"});async function B(){200===(await (0,j.t9)({url:"".concat("https://www.altherr.de/api/","event-landing-page"),method:"post",data:{payload:y,slug:null==e?void 0:e.slug}})).status?(I(!0),w.Z.trackEvent({name:N.Kg.EVENT_REGISTRATION})):h.ZP.error("Es ist ein Fehler aufgetreten! Bitte versuchen Sie es sp\xe4ter noch einmal.",{style:{minWidth:"40%"}})}let D=""===y.firstName||""===y.lastName||""===y.email||!(0,k.oH)(y.email),[T,I]=(0,a.useState)(!1),S=C(null==e?void 0:e.eventDate);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(_(),{children:[(0,s.jsx)("title",{children:(null==e?void 0:e.metaTitle)||"Exklusive Events in Hannover, K\xf6ln & Berlin | Juwelier ALTHERR"}),(0,s.jsx)("meta",{name:"description",content:(null==e?void 0:e.metaDescription)||"Erleben Sie unvergessliche Events bei ALTHERR: Limitierte Modelle, Premieren neuer Kollektionen und besondere Highlights in Hannover, K\xf6ln und Berlin. Jetzt aktuelle Event-Termine entdecken!"})]}),(0,s.jsxs)("div",{className:b().container,children:[(0,s.jsx)("section",{className:"card ".concat(b().card),children:(0,s.jsx)("div",{className:b().cardInner,children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:"col-md-6 ".concat(b().upperLeftColumn),children:(0,s.jsxs)("div",{className:b().contentWrapper,children:[(null==e?void 0:e.logoUrl)&&(0,s.jsx)(o(),{src:null==e?void 0:e.logoUrl,alt:"wedding ring",width:200,height:55}),(0,s.jsx)("h1",{className:b().title,children:null==e?void 0:e.pageName}),(0,s.jsx)("p",{className:b().description,dangerouslySetInnerHTML:{__html:null==e?void 0:e.mainDescription}}),(0,s.jsx)(l.Z,{onClick:()=>{window.scrollTo({top:L.current.offsetTop-100,behavior:"smooth"})},className:b().button,children:"Jetzt anmelden"})]})}),(0,s.jsx)("div",{className:"col-md-6 ".concat(b().rightColumn),children:(null==e?void 0:e.mainImage)&&(0,s.jsx)(o(),{src:null==e?void 0:e.mainImage,alt:"wedding ring",width:p?335:572,height:p?340:580,className:b().image})})]})})}),(0,s.jsxs)("section",{className:b().eventContainer,children:[(0,s.jsxs)("div",{className:b().eventDetails,children:[(0,s.jsx)("label",{className:b().whenLabel,children:"WANN"}),(0,s.jsx)("label",{className:b().detailLabel25,children:S.day}),(0,s.jsxs)("label",{className:b().detailLabel25,children:[S.date,".",S.month,".",S.year]}),(0,s.jsxs)("label",{className:b().detailLabel25,children:["Ab ",S.hour,":",S.minute," Uhr"]})]}),(0,s.jsxs)("div",{className:b().whereContainer,children:[(0,s.jsx)("label",{className:b().whenLabel,children:"WO"}),(0,s.jsxs)("label",{className:b().detailLabel60,children:[(0,s.jsx)("label",{children:null==e?void 0:e.whereBranch}),(0,s.jsxs)("div",{className:b().addressContainer,children:[(0,s.jsx)("div",{className:b().addressText,children:null==e?void 0:e.whereStreet}),(0,s.jsx)("div",{className:b().addressText,children:null==e?void 0:e.whereCity}),(0,s.jsxs)("div",{className:b().mapLink,children:[(0,s.jsx)(x.Z,{borderColor:"var(--darkGreen)"}),(0,s.jsx)("a",{href:null==e?void 0:e.whereMap,className:b().mapText,target:"_blank",rel:"noreferrer",children:"bei Google finden"})]})]})]})]})]}),new Date(null==e?void 0:e.eventDate)>new Date&&(0,s.jsx)("section",{className:"card ".concat(b().card),ref:L,children:(0,s.jsx)("div",{className:b().cardInner,children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"col-md-6 order-md-2 ".concat(b().lowerLeftColumn),children:[!T&&(0,s.jsxs)("div",{className:b().contentWrapper,children:[(0,s.jsx)(c.Z,{style:{textAlign:"left"},children:"Anmeldung"}),(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)(d.Z,{className:"col-6",type:"text",label:"Vorname *",value:y.firstName,onChange:e=>M({...y,firstName:e.target.value}),isDefaultActive:!1}),(0,s.jsx)(d.Z,{className:"col-6",type:"text",label:"Nachname *",value:y.lastName,onChange:e=>M({...y,lastName:e.target.value}),isDefaultActive:!1})]}),(0,s.jsx)(d.Z,{className:"col-sm-12",type:"email",label:"E-Mail-Adresse *",value:y.email,onChange:e=>M({...y,email:e.target.value}),isDefaultActive:!1}),(0,s.jsxs)("div",{className:b().checkboxContainer,children:[(0,s.jsx)(u.Z,{width:15,height:15,marginRight:5,onCheck:()=>M({...y,eventBegleitung:!0}),onDischeck:()=>M({...y,eventBegleitung:!1})}),(0,s.jsx)("label",{className:b().checkboxLabel,children:"Ich komme in Begleitung"})]}),(0,s.jsxs)("div",{className:b().checkboxContainer,children:[(0,s.jsx)(u.Z,{width:15,height:15,marginRight:5,onCheck:()=>M({...y,isMarketingContact:!0}),onDischeck:()=>M({...y,isMarketingContact:!1})}),(0,s.jsx)("label",{className:b().checkboxLabel,children:"ALTHERR darf mir wertvolle Inhalte per E-Mail zusenden"})]}),(0,s.jsx)(r.Z,{onClick:()=>B(),className:b().submitButton,disabled:D,children:"Jetzt anmelden"}),(0,s.jsxs)("label",{className:"form-check-label ".concat(b().termsLabel),children:["Alles rund um Deine Daten findest Du in unseren"," ",(0,s.jsx)("a",{href:"/agb",target:"_blank",className:b().termsLink,children:"AGBs"})," ","und der"," ",(0,s.jsx)("a",{href:"/datenschutz",target:"_blank",className:b().termsLink,children:"Datenschutzerkl\xe4rung"}),"."]})]}),T&&(0,s.jsxs)("div",{className:b().contentWrapper,children:[(0,s.jsx)(c.Z,{style:{textAlign:"left"},children:"Anmeldung"}),(0,s.jsx)("div",{className:b().wineGlassContainers,children:(0,s.jsx)(g,{})}),(0,s.jsxs)("div",{className:b().successMessage,children:["Vielen Dank f\xfcr Deine Anmeldung â wir freuen uns, Dich beim Event begr\xfc\xdfen zu d\xfcrfen!",(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),"Alle Informationen zu unserem Event, inklusive Veranstaltungsort und Uhrzeit, senden wir Dir in k\xfcrze in einer Best\xe4tigungs-E-Mail zu."]})]})]}),(0,s.jsx)("div",{className:"col-md-6 order-md-1 ".concat(b().rightColumn),children:(null==e?void 0:e.userMainImage)&&(0,s.jsx)(o(),{src:null==e?void 0:e.userMainImage,alt:"wedding ring",width:p?335:572,height:p?340:580,className:b().image})})]})})}),(0,s.jsxs)("section",{className:b().infoSection,children:[(0,s.jsx)("h2",{className:b().infoTitle,children:null==e?void 0:e.userTitle}),(0,s.jsx)("p",{className:b().description,dangerouslySetInnerHTML:{__html:null==e?void 0:e.userDescription}})]})]})]})}},5519:function(e){e.exports={checkbox_container:"Checkbox_checkbox_container__lCX_M",checkmark:"Checkbox_checkmark__Iiuw1",svg:"Checkbox_svg__75r3d",checked_svg:"Checkbox_checked_svg__k9NlF"}},12291:function(e){e.exports={error:"InputText_error__lKLQ_",textarea:"InputText_textarea__t7SKs",inner:"InputText_inner__wqXCs",form_control_select:"InputText_form_control_select__a_fZB",error_active:"InputText_error_active__1om8O",font_300:"InputText_font_300__H5EUv",lbl:"InputText_lbl__seOCZ",btn_eye:"InputText_btn_eye__XYX8h"}},10172:function(e){e.exports={container:"event_container__9ngoO",card:"event_card__lQSXJ",cardInner:"event_cardInner__yUWQb",upperLeftColumn:"event_upperLeftColumn__0tm9m",lowerLeftColumn:"event_lowerLeftColumn__GaIQ1",contentWrapper:"event_contentWrapper__iTZU7",title:"event_title__GMrFA",description:"event_description__bA_0R",button:"event_button__AHrgd",rightColumn:"event_rightColumn__nDa44",image:"event_image__xdipw",eventContainer:"event_eventContainer__1aOFr",eventDetails:"event_eventDetails__aj2fr",whenLabel:"event_whenLabel__AdBWF",detailLabel25:"event_detailLabel25__v9x_k",detailLabel60:"event_detailLabel60__5M6bT",checkboxContainer:"event_checkboxContainer__iZ59U",checkboxLabel:"event_checkboxLabel__IA9Ts",submitButton:"event_submitButton__WzuhL",termsLabel:"event_termsLabel__jJAPA",termsLink:"event_termsLink__eRdzh",infoSection:"event_infoSection__CLVDc",infoTitle:"event_infoTitle__i5sVw",addressContainer:"event_addressContainer__IjxFH",addressText:"event_addressText__QL9aI",mapLink:"event_mapLink__yP5eG",mapText:"event_mapText__fqp__",wineGlassContainers:"event_wineGlassContainers__5SC1z",successMessage:"event_successMessage__3jW0_",whereContainer:"event_whereContainer__F0dTg"}}}]);
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.