1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10407,e=>{"use strict";let s=(0,e.i(75254).default)("music-2",[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]);e.s(["Music2",0,s],10407)},76841,e=>{"use strict";var s=e.i(43476),r=e.i(22016);e.i(50711);var t=e.i(82045),a=e.i(83394),l=e.i(29555),i=e.i(42908),n=e.i(10407),o=e.i(83086);e.s(["Footer",0,function(){let e=(0,t.useQuery)(a.api.labels.getStats);return(0,s.jsx)("footer",{className:"border-t border-border bg-background-secondary",children:(0,s.jsxs)("div",{className:"container mx-auto px-4 py-12",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[(0,s.jsxs)("div",{className:"md:col-span-2",children:[(0,s.jsx)(l.LabelGateLogo,{size:"sm"}),(0,s.jsx)("p",{className:"mt-4 text-muted-foreground text-sm max-w-md",children:"The ultimate digital archive for electronic dance music labels. Discover, explore, and connect with the sounds that define the scene."})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-semibold text-foreground mb-4",children:"Quick Links"}),(0,s.jsxs)("ul",{className:"space-y-2",children:[(0,s.jsx)("li",{children:(0,s.jsx)(r.default,{href:"/",className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:"Home"})}),(0,s.jsx)("li",{children:(0,s.jsx)(r.default,{href:"/labels",className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:"Browse Labels"})}),(0,s.jsx)("li",{children:(0,s.jsx)(r.default,{href:"/contact",className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:"Request Portal"})}),(0,s.jsx)("li",{children:(0,s.jsx)(r.default,{href:"/contact?subject=missing-label",className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:"Suggest a Label"})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-semibold text-foreground mb-4",children:"The Vault"}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center",children:(0,s.jsx)(i.Disc,{className:"w-4 h-4 text-primary"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-2xl font-bold neon-text",children:e?.totalLabels??0}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Labels Indexed"})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-lg bg-secondary/10 flex items-center justify-center",children:(0,s.jsx)(n.Music2,{className:"w-4 h-4 text-secondary"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-2xl font-bold neon-text-cobalt",children:e?.totalReleases??0}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Releases Archived"})]})]}),e?.newestLabel&&(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center",children:(0,s.jsx)(o.Sparkles,{className:"w-4 h-4 text-primary"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-medium text-foreground truncate max-w-[150px]",children:e.newestLabel}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Newest Entry"})]})]})]})]})]}),(0,s.jsxs)("div",{className:"mt-12 pt-6 border-t border-border flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,s.jsxs)("p",{className:"text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," LabelGate. All rights reserved."]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Built with â¤ï¸ for the EDM label collectors community"}),(0,s.jsx)(r.default,{href:"/admin",className:"text-muted-foreground/30 hover:text-primary transition-colors group",title:"Admin Access",children:(0,s.jsx)(i.Disc,{className:"w-4 h-4 group-hover:animate-spin"})})]})]})]})})}])},50523,14764,e=>{"use strict";var s=e.i(43476),r=e.i(22016),t=e.i(46932);let a=(0,e.i(75254).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,a],14764),e.s(["FloatingSocialIcons",0,function(){return(0,s.jsx)(t.motion.div,{initial:{opacity:0,x:20}
1,animate:{opacity:1,x:0},transition:{delay:1,duration:.5},className:"fixed right-4 top-1/2 -translate-y-1/2 z-40 hidden lg:flex flex-col gap-3",children:(0,s.jsx)(r.default,{href:"/contact",children:(0,s.jsxs)(t.motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:1.2},className:"group relative w-12 h-12 rounded-xl border border-border bg-background-secondary flex items-center justify-center transition-all duration-300 hover:bg-[#0088cc]/20 hover:border-[#0088cc] cursor-pointer","aria-label":"Contact",children:[(0,s.jsx)(a,{className:"w-5 h-5 text-primary group-hover:scale-110 transition-transform"}),(0,s.jsx)("span",{className:"absolute right-full mr-3 px-3 py-1.5 bg-background-secondary border border-border rounded-lg text-sm font-medium opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap pointer-events-none",children:"Contact / Telegram"})]})})})}],50523)},69638,e=>{"use strict";let s=(0,e.i(75254).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",0,s],69638)},63209,e=>{"use strict";let s=(0,e.i(75254).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["AlertCircle",0,s],63209)},22015,e=>{"use strict";var s=e.i(43476),r=e.i(71645),t=e.i(18566);e.i(50711);var a=e.i(82045),l=e.i(83394),i=e.i(46932),n=e.i(14764),o=e.i(69638),c=e.i(63209),d=e.i(13293),m=e.i(76841),x=e.i(50523),u=e.i(29555);let h=[{value:"missing-label",label:"Missing Label"},{value:"correction",label:"Correction"},{value:"partnership",label:"Partnership"},{value:"other",label:"Other"}];e.s(["default",0,function(){let e=(0,t.useSearchParams)().get("subject"),b=(0,a.useMutation)(l.api.contacts.submit),[g,p]=(0,r.useState)({name:"",email:"",subject:e||"missing-label",message:""}),[f,j]=(0,r.useState)(!1),[y,v]=(0,r.useState)("idle");(0,r.useEffect)(()=>{e&&p(s=>({...s,subject:e}))},[e]);let N=async e=>{e.preventDefault(),j(!0),v("idle");try{await b({name:g.name,email:g.email,subject:h.find(e=>e.value===g.subject)?.label||g.subject,message:g.message}),console.log("Contact form submitted:",g),v("success"),p({name:"",email:"",subject:"missing-label",message:""})}catch(e){console.error("Error submitting contact form:",e),v("error")}finally{j(!1)}};return(0,s.jsxs)("div",{className:"min-h-screen flex flex-col relative",children:[(0,s.jsx)(u.LabelGateWatermark,{}),(0,s.jsx)(d.Header,{}),(0,s.jsx)(x.FloatingSocialIcons,{}),(0,s.jsx)("main",{className:"flex-1 pt-24 pb-16",children:(0,s.jsx)("div",{className:"container mx-auto px-4",children:(0,s.jsxs)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"max-w-2xl mx-auto",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsxs)("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:["Request ",(0,s.jsx)("span",{className:"neon-text",children:"Portal"})]}),(0,s.jsx)("p",{className:"text-muted-foreground text-lg",children:"Submit missing labels, corrections, or partnership inquiries"})]}),"success"===y&&(0,s.jsxs)(i.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"mb-8 p-6 rounded-xl border border-green-500/50 bg-green-500/10 flex items-center gap-4",children:[(0,s.jsx)(o.CheckCircle,{className:"w-8 h-8 text-green-500 flex-shrink-0"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-semibold text-green-400 mb-1",children:"Message Sent!"}),(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:"Thank you for your submission. We'll review it and get back to you soon."})]})]}),"error"===y&&(0,s.jsxs)(i.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"mb-8 p-6 rounded-xl border border-red-500/50 bg-red-500/10 flex items-center gap-4",children:[(0,s.jsx)(c.AlertCircle,{className:"w-8 h-8 text-red-500 flex-shrink-0"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-semibold text-red-400 mb-1",children:"Something went wrong"}),(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:"Please try again later or contact us directly."})]})]}),(0,s.jsxs)(i.motion.form,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{delay:.2},onSubmit:N,className:"space-y-6 p-8 rounded-xl border border-border bg-background-secondary neon-border",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium mb-2",children:"Name"}),(0,s.jsx)("input",{type:"text",id:"name",required:!0,value:g.name,onChange:e=>p({...g,name:e.target.value}),className:"w-full px-4 py-3 rounded-xl bg-background border border-border focus:border-primary focus:ring-1 focus:ring-primary outline-none transition-all",placeholder:"Your name"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium mb-2",children:"Email"}),(0,s.jsx)("input",{type:"email",id:"email",required:!0,value:g.email,onChange:e=>p({...g,email:e.target.value}),className:"w-full px-4 py-3 rounded-xl bg-background border border-border focus:border-primary focus:ring-1 focus:ring-primary outline-none transition-all",placeholder:"[email protected]"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"subject",className:"block text-sm font-medium mb-2",children:"Subject"}),(0,s.jsx)("select",{id:"subject",value:g.subject,onChange:e=>p({...g,subject:e.target.value}),className:"w-full px-4 py-3 rounded-xl bg-background border border-border focus:border-primary focus:ring-1 focus:ring-primary outline-none transition-all",children:h.map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium mb-2",children:"Message"}),(0,s.jsx)("textarea",{id:"message",required:!0,rows:6,value:g.message,onChange:e=>p({...g,message:e.target.value}),className:"w-full px-4 py-3 rounded-xl bg-background border border-border focus:border-primary focus:ring-1 focus:ring-primary outline-none transition-all resize-none",placeholder:"missing-label"===g.subject?"Please provide the label name, genre, and any other relevant information...":"Your message..."})]}),(0,s.jsx)("button",{type:"submit",disabled:f,className:"w-full flex items-center justify-center gap-2 px-6 py-4 bg-primary text-primary-foreground rounded-xl font-semibold hover:opacity-90 transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"w-5 h-5 border-2 border-primary-foreground border-t-transparent rounded-full animate-spin"}),"Sending..."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Send,{className:"w-5 h-5"}),"Send Message"]})})]})]})})}),(0,s.jsx)(m.Footer,{})]})}])}]);
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.