PageSourceSearch

https://www.morecore.de/_next/static/chunks/2ox3ci38gbumq.js

js morecore.de collected 2026-09-24 19:10:11 UTC 13,209 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]="3ff4cca1-2a7c-87dd-bd90-0ba4a3b111de")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,717521,e=>{"use strict";let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},531278,e=>{"use strict";var t=e.i(717521);e.s(["Loader2",()=>t.default])},514764,e=>{"use strict";let t=(0,e.i(475254).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],514764)},263488,e=>{"use strict";let t=(0,e.i(475254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,t],263488)},342055,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(643531),s=e.i(531278),n=e.i(263488),i=e.i(972520);e.s(["NewsletterForm",0,function({className:e="",variant:l="default",consentLabel:o}){let[c,d]=(0,a.useState)(""),[u,h]=(0,a.useState)(!1),[m,p]=(0,a.useState)(!1),[g,f]=(0,a.useState)(null),[b,x]=(0,a.useState)(null),[y,v]=(0,a.useState)("");async function j(e){if(e.preventDefault(),!y){if(!u)return void x("Bitte bestätige die Einwilligung zum Newsletter.");p(!0),x(null);try{let e=await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,consent:!0,source:"website"})}),t=await e.json().catch(()=>null);if(!e.ok||!t?.success)throw Error(t?.error||"Anmeldung fehlgeschlagen.");f(t.message||"Danke! Bitte bestätige die Anmeldung in deiner E-Mail."),d(""),h(!1)}catch(e){x(e instanceof Error?e.message:"Etwas ist schiefgelaufen. Bitte versuche es später erneut.")}finally{p(!1)}}}return g?(0,t.jsxs)("div",{role:"status",className:`flex items-start gap-3 px-6 py-4 bg-event-live/10 border border-event-live ${e}`,children:[(0,t.jsx)(r.Check,{className:"w-5 h-5 text-event-live shrink-0 mt-0.5","aria-hidden":"true"}),(0,t.jsx)("p",{className:"type-body text-event-live font-medium",children:g})]}):(0,t.jsxs)("form",{onSubmit:j,className:e,noValidate:!0,children:[(0,t.jsx)("input",{type:"text",name:"website",value:y,onChange:e=>v(e.target.value),tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"absolute -left-[9999px]"}),(0,t.jsxs)("div",{className:`flex gap-3 ${"brand"===l?"flex-col sm:flex-row":""}`,children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("label",{htmlFor:"newsletter-email",className:"sr-only",children:"E-Mail-Adresse"}),(0,t.jsx)("input",{id:"newsletter-email",type:"email",value:c,onChange:e=>d(e.target.value),required:!0,autoComplete:"email",inputMode:"email",maxLength:254,placeholder:"[email protected]",disabled:m,className:`w-full px-4 py-3 border border-border text-white placeholder:text-muted-foreground focus:outline-none transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${"brand"===l?"bg-card focus:ring-2 focus:ring-accent focus:border-accent type-body":"bg-background focus:border-accent"}`,"aria-describedby":b?"newsletter-error":void 0})]}),(0,t.jsx)("button",{type:"submit",disabled:m||!c||!u,className:"brand"===l?"font-nav inline-flex items-center justify-center gap-2 px-5 py-3 type-body font-bold uppercase tracking-wider gradient-brand text-white hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed":"px-6 py-3 bg-accent hover:bg-accent/80 text-white font-bold transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2","aria-label":"Newsletter abonnieren",children:m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Loader2,{className:"w-5 h-5 animate-spin"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Lädt..."})]}):"brand"===l?(0,t.jsxs)(t.Fragment,{children:["Anmelden ",(0,t.jsx)(i.ArrowRight,{className:"w-4 h-4"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Mail,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Abonnieren"})]})})]}),(0,t.jsxs)("label",{className:"mt-4 flex items-start gap-3 cursor-pointer group",children:[(0,t.jsx)("input",{type:"checkbox",checked:u,onChange:e=>h(e.target.checked),disabled:m,required:!0,className:"mt-1 w-4 h-4 accent-accent shrink-0","aria-describedby":"newsletter-consent-hint"}),(0,t.jsxs)("span",{id:"newsletter-consent-hint",className:"type-small text-text-secondary group-hover:text-foreground transition-colors",children:[o||"Ich willige ein, den MoreCore-Newsletter zu erhalten. Die Einwilligung kann jederzeit widerrufen werden."," ",(0,t.jsx)("a",{href:"/datenschutz",className:"underline hover:text-foreground",onClick:e=>e.stopPropagation(),children:"Datenschutzerklärung"}),"."]})]}),b&&(0,t.jsx)("p",{id:"newsletter-error",className:"mt-3 type-body text-destructive",role:"alert",children:b})]})}])},176858,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(643531),s=e.i(531278),n=e.i(514764);let i={de:{name:"Name",email:"E-Mail",category:"Kategorie",subject:"Betreff",company:"Firma / Marke",message:"Nachricht",namePlaceholder:"Dein N
2ame",emailPlaceholder:"[email protected]",subjectPlaceholder:"Worum geht es?",companyPlaceholder:"Für welche Marke meldest du dich?",messagePlaceholder:"Deine Nachricht...",partnerMessagePlaceholder:"Welche Idee habt ihr für eine Partnerschaft?",required:"Bitte fülle alle Pflichtfelder aus.",error:"Etwas ist schiefgelaufen. Bitte versuche es später erneut.",tooFast:"Bitte warte einen Moment und sende deine Nachricht erneut.",rateLimit:"Zu viele Anfragen. Bitte versuche es in einer Minute erneut.",sent:"Nachricht gesendet!",thanks:"Vielen Dank für deine Nachricht. Wir melden uns so schnell wie möglich.",partnerThanks:"Danke für euer Interesse an den MoreCore Music Awards. Wir melden uns bei euch.",another:"Weitere Nachricht senden",sending:"Wird gesendet...",submit:"Absenden",partnerSubmit:"Partnerschaft anfragen",privacy:"Wie wir mit deinen Daten umgehen, steht in unserer",privacyLink:"Datenschutzerklärung",categories:["Bitte wählen...","Redaktion","Werbung & Kooperationen","Presse","Sonstiges"]},en:{name:"Name",email:"Email",category:"Category",subject:"Subject",company:"Company / brand",message:"Message",namePlaceholder:"Your name",emailPlaceholder:"[email protected]",subjectPlaceholder:"What is it about?",companyPlaceholder:"Which brand do you represent?",messagePlaceholder:"Your message...",partnerMessagePlaceholder:"What do you have in mind for a partnership?",required:"Please fill in all required fields.",error:"Something went wrong. Please try again later.",tooFast:"Please wait a moment and send your message again.",rateLimit:"Too many requests. Please try again in a minute.",sent:"Message sent!",thanks:"Thank you for your message. We’ll get back to you as soon as possible.",partnerThanks:"Thanks for your interest in the MoreCore Music Awards. We’ll be in touch.",another:"Send another message",sending:"Sending...",submit:"Send",partnerSubmit:"Enquire about a partnership",privacy:"Find out how we handle your data in our",privacyLink:"privacy policy",categories:["Please select...","Editorial","Advertising & partnerships","Press","Other"]}},l=["","redaktion","werbung","presse","sonstiges"],o={name:"",email:"",kategorie:"",betreff:"",firma:"",nachricht:""};e.s(["ContactForm",0,function({formId:e,locale:c="de",purpose:d="contact"}){let u=i[c],h="awards-partner"===d,m=(0,a.useId)(),[p,g]=(0,a.useState)(o),[f,b]=(0,a.useState)(""),[x,y]=(0,a.useState)(!1),[v,j]=(0,a.useState)(!1),[w,N]=(0,a.useState)(null),k=(0,a.useRef)(Date.now());function P(e,t){g(a=>({...a,[e]:t})),w&&N(null)}let C=["name","email",h?"firma":"betreff","nachricht"].every(e=>""!==p[e].trim());async function S(t){if(t.preventDefault(),!f&&!x){if(!C)return void N(u.required);y(!0),N(null);try{let t=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formId:e,loadedAt:k.current,submissionData:[{field:"name",value:p.name.trim()},{field:"email",value:p.email.trim()},{field:"kategorie",value:h?"werbung":p.kategorie||"sonstiges"},{field:"betreff",value:h?`MoreCore Music Awards: Partnerschaft / ${p.firma.trim()}`:p.betreff.trim()},...h?[{field:"firma",value:p.firma.trim()}]:[],{field:"nachricht",value:p.nachricht.trim()}]})});if(!t.ok){let e=await t.json().catch(()=>null);N(e?.code==="too_fast"?u.tooFast:429===t.status?u.rateLimit:u.error);return}j(!0),g(o)}catch{N(u.error)}finally{y(!1)}}}if(v)return(0,t.jsxs)("div",{className:"p-8 bg-event-live/10 border border-event-live text-center",role:"status",children:[(0,t.jsx)(r.Check,{className:"w-10 h-10 text-event-live mx-auto mb-4","aria-hidden":"true"}),(0,t.jsx)("h3",{className:"font-headline text-2xl italic text-foreground mb-2",children:u.sent}),(0,t.jsx)("p",{className:"text-text-secondary",children:h?u.partnerThanks:u.thanks}),(0,t.jsx)("button",{type:"button",onClick:()=>{k.current=Date.now(),j(!1)},className:"mt-6 min-h-11 text-sm text-accent hover:underline",children:u.another})]});let M="w-full px-4 py-3 bg-surface-elevated border border-border text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-accent transition-colors disabled:opacity-50",E="block text-sm font-bold text-text-secondary mb-2",F=(0,t.jsx)("span",{className:"text-accent","aria-hidden":"true",children:"*"});return(0,t.jsxs)("form",{onSubmit:S,className:"space-y-5","aria-busy":x,children:[(0,t.jsx)("input",{type:"text",name:"website",value:f,onChange:e=>b(e.target.value),tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"absolute -left-[9999px]"}),(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:`${m}
2-name`,className:E,children:[u.name," ",F]}),(0,t.jsx)("input",{id:`${m}-name`,name:"name",autoComplete:"name",type:"text",value:p.name,onChange:e=>P("name",e.target.value),required:!0,disabled:x,maxLength:200,placeholder:u.namePlaceholder,className:M})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:`${m}-email`,className:E,children:[u.email," ",F]}),(0,t.jsx)("input",{id:`${m}-email`,name:"email",autoComplete:"email",type:"email",value:p.email,onChange:e=>P("email",e.target.value),required:!0,disabled:x,maxLength:254,placeholder:u.emailPlaceholder,className:M})]})]}),(0,t.jsxs)("div",{className:h?void 0:"grid sm:grid-cols-2 gap-5",children:[h?null:(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:`${m}-category`,className:E,children:u.category}),(0,t.jsx)("select",{id:`${m}-category`,name:"kategorie",value:p.kategorie,onChange:e=>P("kategorie",e.target.value),disabled:x,className:M,children:l.map((e,a)=>(0,t.jsx)("option",{value:e,children:u.categories[a]},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:`${m}-subject`,className:E,children:[h?u.company:u.subject," ",F]}),(0,t.jsx)("input",{id:`${m}-subject`,name:h?"firma":"betreff",autoComplete:h?"organization":"off",type:"text",value:h?p.firma:p.betreff,onChange:e=>P(h?"firma":"betreff",e.target.value),required:!0,disabled:x,maxLength:200,placeholder:h?u.companyPlaceholder:u.subjectPlaceholder,className:M})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:`${m}-message`,className:E,children:[u.message," ",F]}),(0,t.jsx)("textarea",{id:`${m}-message`,name:"nachricht",value:p.nachricht,onChange:e=>P("nachricht",e.target.value),required:!0,disabled:x,maxLength:1e4,placeholder:h?u.partnerMessagePlaceholder:u.messagePlaceholder,rows:h?5:6,className:`${M} resize-y min-h-[150px]`})]}),w?(0,t.jsx)("p",{className:"type-body text-error",role:"alert",children:w}):null,(0,t.jsxs)("div",{className:h?"flex flex-col gap-4":"flex flex-col sm:flex-row sm:items-center gap-4",children:[(0,t.jsxs)("button",{type:"submit",disabled:x||!C,className:"contact-form-submit inline-flex items-center justify-center gap-2 px-8 py-3 bg-accent hover:bg-accent/80 text-white font-bold uppercase tracking-wider transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[x?(0,t.jsx)(s.Loader2,{className:"w-5 h-5 animate-spin","aria-hidden":"true"}):(0,t.jsx)(n.Send,{className:"w-5 h-5","aria-hidden":"true"}),x?u.sending:h?u.partnerSubmit:u.submit]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[u.privacy," ",(0,t.jsx)("a",{href:"/datenschutz",className:"text-text-secondary hover:text-foreground underline",children:u.privacyLink}),"."]})]})]})}])},831575,e=>{"use strict";e.i(843476);var t=e.i(271645);class a extends t.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error(`[BlockError] ${this.props.blockType}:`,e,t)}render(){return this.state.hasError?null:this.props.children}}e.s(["BlockErrorBoundary",0,a])}]);
3
4//# debugId=3ff4cca1-2a7c-87dd-bd90-0ba4a3b111de

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.