1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1655],{3766:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/artists/detty-k/collab/2FgDxDF",function(){return a(49215)}])},80261:function(e,t,a){"use strict";a.d(t,{Z:function(){return Translate}});var r=a(85893),n=a(67294);function Translate(){return(0,n.useEffect)(()=>{if(!window.gtranslateSettings){window.gtranslateSettings={default_language:"en",detect_browser_language:!0,languages:["en","fr","es","pt","ar"],wrapper_selector:".gtranslate_wrapper"};let e=document.createElement("script");return e.src="https://cdn.gtranslate.net/widgets/latest/float.js",e.defer=!0,document.head.appendChild(e),()=>{document.head.contains(e)&&document.head.removeChild(e)}}},[]),(0,r.jsx)("div",{className:"gtranslate_wrapper fixed bottom-5 right-5 z-50"})}},49215:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return App}});var r=a(85893),n=a(67294);let o=n.forwardRef(function({title:e,titleId:t,...a},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"}))}),l=n.forwardRef(function({title:e,titleId:t,...a},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.25 2.25a3 3 0 0 0-3 3v4.318a3 3 0 0 0 .879 2.121l9.58 9.581c.92.92 2.39 1.186 3.548.428a18.849 18.849 0 0 0 5.441-5.44c.758-1.16.492-2.629-.428-3.548l-9.58-9.581a3 3 0 0 0-2.122-.879H5.25ZM6.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",clipRule:"evenodd"}))});var s=a(13404);let i=n.forwardRef(function({title:e,titleId:t,...a},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"}))});var d=a(82123),c=a(79974),m=a(75012),u=a(70256),g=a(80261);let p=[{name:"Universal Music Africa",logo:"/artists/detty-k/promotion/umg.png"},{name:"Virgin Music Africa",logo:"/artists/detty-k/promotion/vm.png"},{name:"Money Never Lie Ent",logo:"/artists/detty-k/promotion/mnl.png"}],h=[{id:"lemoryba",name:"LEMORYBA",logo:"/artists/detty-k/promotion/lemoryba.png",fixedPrice:50}],x=["TikTok","Instagram","YouTube","Facebook","Snapchat","Twitch","X (Twitter)","Other"],b={"\xc9tats-Unis \uD83C\uDDFA\uD83C\uDDF8":["PayPal","Stripe","Bank Transfer (USD)"],"France \uD83C\uDDEB\uD83C\uDDF7":["PayPal","SEPA Bank Transfer","Virement Bancaire (EUR)"],"C\xf4te d'Ivoire \uD83C\uDDE8\uD83C\uDDEE":["Wave","Orange Money","Moov Money","Bank Transfer (XOF)"],"Ghana \uD83C\uDDEC\uD83C\uDDED":["Mobile Money (MTN/Vodafone)","Bank Transfer (GHS)"],"Nig\xe9ria \uD83C\uDDF3\uD83C\uDDEC":["Bank Transfer (NGN)","Paystack","Flutterwave"]},SignaturePadComponent=e=>{let{signatureRef:t,onClear:a}=e;return(0,r.jsxs)("div",{className:"border border-gray-300 rounded-xl p-2 bg-white shadow-inner",children:[(0,r.jsx)("canvas",{ref:t,width:400,height:150,className:"w-full bg-white border border-dashed border-gray-200 cursor-crosshair rounded-lg",style:{touchAction:"none"}}),(0,r.jsx)("button",{type:"button",onClick:a,className:"mt-2 text-sm text-red-500 hover:text-red-700 font-medium transition-colors",children:"Clear Signature"})]})},InputField=e=>{let{label:t,type:a,name:n,value:o,onChange:l,required:s,icon:i}=e;return(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:n,className:"block text-sm font-medium text-gray-600 mb-2",children:t}),(0,r.jsxs)("div",{className:"relative rounded-md shadow-sm",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)(i,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,r.jsx)("input",{type:a,name:n,id:n,value:o,onChange:l,required:s,className:"block w-full pl-10 pr-4 py-2 border border-gray-300 rounded-xl focus:ring-red-500 focus:border-red-500 sm:text-sm"})]})]})};
1function App(){let e=(0,n.useRef)(null),[t,a]=(0,n.useState)(""),[f,y]=(0,n.useState)({name:"",email:"",phone:"",priceSuggestion:"",platforms:[],country:"",paymentMethod:"",date:new Date().toISOString().substring(0,10),signatureDataUrl:""}),[v,w]=(0,n.useState)({accountName:"",accountNumber:"",routingNumber:"",otherInfo:""}),[N,j]=(0,n.useState)(null),C=(0,n.useMemo)(()=>h.find(e=>e.id===t)||null,[t]),D=f.country&&b[f.country]||[],handleChange=e=>{let{name:t,value:a,type:r,checked:n}=e.target;y(e=>{if("checkbox"===r){let t=n?[...e.platforms,a]:e.platforms.filter(e=>e!==a);return{...e,platforms:t}}return"country"===t?(w({accountName:"",accountNumber:"",routingNumber:"",otherInfo:""}),{...e,country:a,paymentMethod:""}):"paymentMethod"===t?(w({accountName:"",accountNumber:"",routingNumber:"",otherInfo:""}),{...e,paymentMethod:a}):{...e,[t]:a}})},handlePaymentDetailChange=e=>{let{name:t,value:a}=e.target;w(e=>({...e,[t]:a}))},handleClearSignature=()=>{let t=e.current;if(t){let e=t.getContext("2d");e.clearRect(0,0,t.width,t.height)}y(e=>({...e,signatureDataUrl:""}))};(0,n.useEffect)(()=>{let t=e.current;if(!t)return;let a=t.getContext("2d"),r=!1,n=null,setCanvasStyle=()=>{let e=t.getBoundingClientRect();e.width&&e.height&&(t.width=2*e.width,t.height=2*e.height,a.setTransform(2,0,0,2,0,0),a.lineWidth=3,a.lineCap="round",a.strokeStyle="#000000")};setCanvasStyle(),t.parentElement&&(n=new ResizeObserver(setCanvasStyle)).observe(t.parentElement);let getCoords=e=>{let a=t.getBoundingClientRect(),r=e.touches&&e.touches[0],n=r?r.clientX:e.clientX,o=r?r.clientY:e.clientY;return{x:n-a.left,y:o-a.top}},startDraw=e=>{e.preventDefault(),r=!0;let{x:t,y:n}=getCoords(e);a.beginPath(),a.moveTo(t,n)},draw=e=>{if(!r)return;e.preventDefault();let{x:t,y:n}=getCoords(e);a.lineTo(t,n),a.stroke()},endDraw=()=>{if(r){r=!1,a.closePath();try{y(e=>({...e,signatureDataUrl:t.toDataURL()}))}catch(e){console.warn("Could not capture signature data URL:",e)}}};return t.addEventListener("mousedown",startDraw),t.addEventListener("mousemove",draw),t.addEventListener("mouseup",endDraw),t.addEventListener("mouseout",endDraw),t.addEventListener("touchstart",startDraw,{passive:!1}),t.addEventListener("touchmove",draw,{passive:!1}),t.addEventListener("touchend",endDraw),()=>{n&&t.parentElement&&n.unobserve(t.parentElement),t.removeEventListener("mousedown",startDraw),t.removeEventListener("mousemove",draw),t.removeEventListener("mouseup",endDraw),t.removeEventListener("mouseout",endDraw),t.removeEventListener("touchstart",startDraw),t.removeEventListener("touchmove",draw),t.removeEventListener("touchend",endDraw)}},[]);let createApplicantEmailBody=(e,t)=>{let a=f.priceSuggestion||"N/A",r=void 0!==t?"$".concat(t):"N/A";return'\n <div style="font-family: sans-serif; padding: 20px; border: 1px solid #ccc; border-radius: 10px; background-color: #f9f9f9; color: #333;">\n <h2 style="color: #c53030;">Collaboration Request Confirmation</h2>\n <p>Dear '.concat(f.name||"Applicant",",</p>\n <p>Thank you for submitting your collaboration request with <strong>").concat(e,'</strong>.</p>\n \n <h3 style="color: #4a5568; margin-top: 20px;">Your Submission Details:</h3>\n <ul style="list-style-type: none; padding: 0;">\n <li><strong>Collaborator:</strong> ').concat(e,"</li>\n <li><strong>Fixed Price:</strong> ").concat(r," USD</li>\n <li><strong>Your Suggested Price:</strong> $").concat(a," USD</li>\n <li><strong>Platforms:</strong> ").concat(f.platforms.join(", ")||"Not specified","</li>\n <li><strong>Country & Payment:</strong> ").concat(f.country||"N/A"," via ").concat(f.paymentMethod||"N/A","</li>\n <li><strong>Date of Submission:</strong> ").concat(f.date,'</li>\n </ul>\n\n <p style="margin-top: 25px; font-weight: bold; color: #38a169;">We have received your request and will contact you via your provided email (').concat(f.email||"N/A",") or phone (").concat(f.phone||"N/A",') shortly to discuss the next steps.</p>\n\n <p style="margin-top: 30px; color: #6b7280; border-top: 1px solid #eee; padding-top: 10px;">Sincerely,<br/>AMG Records x Ivoriant Giant Family Management</p>\n </div>\n ')},createAMGNotificationEmailBody=(e,t)=>{let a=void 0!==t?"$".concat(t):"N/A",r=(f.paymentMethod||"").includes("Bank Transfer")||(f.paymentMethod||"").includes("SEPA"),n=r?'\n <tr><td style="padding: 8px 0; font-weight: bold;">Account Name:</td><td style="padding: 8px 0;">'.concat(v.accountName,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Account Number/IBAN:</td><td style="padding: 8px 0;">').concat(v.accountNumber,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Routing/SWIFT:</td><td style="padding: 8px 0;">').concat(v.routingNumber,"</td></tr>\n "):'\n <tr><td style="padding: 8px 0; font-weight: bold;">Account Name:</td><td style="padding: 8px 0;">'.concat(v.accountName,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Payment ID (').concat(f.paymentMethod||"N/A",'):</td><td style="padding: 8px 0;">').concat(v.otherInfo,"</td></tr>\n ");return'\n <div style="font-family: sans-serif; padding: 20px; border: 1px solid #c53030; border-radius: 10px; background-color: #fef2f2;
1 color: #333;">\n <h2 style="color: #c53030;">\uD83D\uDEA8 NEW COLLABORATION REQUEST \uD83D\uDEA8</h2>\n <p style="border-bottom: 2px solid #c53030; padding-bottom: 10px; margin-bottom: 20px;">A new request has been submitted for '.concat(e,' collaboration.</p>\n \n <table style="width: 100%; border-collapse: collapse;">\n <tr><td style="padding: 8px 0; font-weight: bold;">Applicant Name:</td><td style="padding: 8px 0;">').concat(f.name,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Email:</td><td style="padding: 8px 0;">').concat(f.email,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Phone:</td><td style="padding: 8px 0;">').concat(f.phone,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Collaborator:</td><td style="padding: 8px 0;">').concat(e,'</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Fixed Price:</td><td style="padding: 8px 0;">').concat(a,' USD</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Price Suggestion:</td><td style="padding: 8px 0; color: #dd6b20;">$').concat(f.priceSuggestion||"N/A",' USD</td></tr>\n <tr><td style="padding: 8px 0; font-weight: bold;">Payment Preference:</td><td style="padding: 8px 0;">').concat(f.paymentMethod||"N/A"," (").concat(f.country||"N/A",")</td></tr>\n ").concat(n,'\n <tr><td style="padding: 8px 0; font-weight: bold;">Platforms:</td><td style="padding: 8px 0;">').concat(f.platforms.join(", ")||"N/A",'</td></tr>\n </table>\n\n <p style="margin-top: 30px; color: #4a5568; border-top: 1px solid #eee; padding-top: 10px;">Review required immediately. Submitted on ').concat(f.date,".</p>\n </div>\n ")},handleSubmit=async e=>{if(e.preventDefault(),!t||!C){j({message:"Please select a collaborator before submitting.",type:"error"});return}if(!f.signatureDataUrl){j({message:"Please sign the document before submitting.",type:"error"});return}if(f.paymentMethod){let e=f.paymentMethod.includes("Bank Transfer")||f.paymentMethod.includes("SEPA");if(!v.accountName||!v.accountName.trim()){j({message:"Account Name is required for payment processing.",type:"error"});return}if(e){if(!v.accountNumber||!v.accountNumber.trim()){j({message:"Account Number/IBAN is required for bank transfer.",type:"error"});return}if(!v.routingNumber||!v.routingNumber.trim()){j({message:"Routing/SWIFT is required for bank transfer.",type:"error"});return}}else if(!v.otherInfo||!v.otherInfo.trim()){j({message:"".concat(f.paymentMethod," ID/Email/Phone is required."),type:"error"});return}}let r=C.name,n=C.fixedPrice,o={to:f.email,subject:"Collaboration Request Confirmation: ".concat(r),html:createApplicantEmailBody(r,n)},l={to:"[email protected]",subject:"[ACTION REQUIRED] New Collab Request for ".concat(r," from ").concat(f.name),html:createAMGNotificationEmailBody(r,n)};j({message:"Sending confirmation emails and request...",type:"pending"});try{let e=await fetch("/api/send-email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:[o,l]})}),t=await e.json();if(!e.ok||t.failed>0){console.error("Email Batch API Error:",t.failedDetails||t.error);let e="Submission Failed.";t.failedDetails?e+=" ".concat(t.failed," email(s) failed to send."):t.error&&(e+=" Server error: ".concat(t.error)),j({message:e,type:"error"});return}j({message:"Success! Your collaboration request for ".concat(r," has been submitted. Confirmation emails have been sent."),type:"success"}),y({name:"",email:"",phone:"",priceSuggestion:"",platforms:[],country:"",paymentMethod:"",signatureDataUrl:"",date:new Date().toISOString().substring(0,10)}),w({accountName:"",accountNumber:"",routingNumber:"",otherInfo:""}),a(""),handleClearSignature()}catch(e){console.error("Fetch Error:",e),j({message:"Submission Failed: Could not connect to the server. Please check your network.",type:"error"})}};return(0,r.jsxs)("div",{className:"min-h-screen bg-gray-50 font-sans p-4 sm:p-8",children:[(0,r.jsxs)("header",{className:"flex flex-col items-center py-8 mb-10 bg-white rounded-xl shadow-lg max-w-4xl mx-auto",children:[(0,r.jsx)("h1",{className:"text-3xl font-extrabold text-gray-900 mb-6 border-b-2 border-red-500 pb-2 w-full text-center",children:"Official Collaboration Portal"}),(0,r.jsxs)("div",{className:"flex items-center space-x-6 sm:space-x-12",children:[(0,r.jsx)("div",{className:"w-24 h-24 sm:w-36 sm:h-36 relative overflow-hidden",children:(0,r.jsx)("img",{src:"/artists/detty-k/promotion/amg.png",alt:"AMG Records Logo",className:"h-full w-full object-contain rounded-full shadow-lg"})}),(0,r.jsx)("span",{className:"text-5xl font-black text-red-600",children:"X"}),(0,r.jsx)("div",{className:"w-24 h-24 sm:w-36 sm:h-36 relative overflow-hidden",children:(0,r.jsx)("img",{src:"/artists/detty-k/promotion/giant.png",alt:"Ivoriant Giant Family Logo",className:"h-full w-full object-contain rounded-full shadow-lg"})})]})]}),(0,r.jsxs)("main",{className:"max-w-4xl mx-auto bg-white p-6 sm:p-10 rounded-xl shadow-2xl border-t-8 border-red-600",children:[(0,r.jsxs)("h2",{className:"text-2xl font-bold text-gray-800 mb
1-6 flex items-center",children:[(0,r.jsx)(o,{className:"h-6 w-6 mr-3 text-red-600"}),"Collaboration Request Form"]}),(0,r.jsxs)("form",{onSubmit:handleSubmit,className:"space-y-8",children:[(0,r.jsxs)("div",{className:"border-b pb-6 border-gray-200",children:[(0,r.jsx)("h3",{className:"text-xl font-semibold text-gray-700 mb-4",children:"1. Select Collaborator"}),(0,r.jsx)("label",{htmlFor:"collaborator",className:"block text-sm font-medium text-gray-600 mb-2",children:"Collaborating with:"}),(0,r.jsxs)("select",{id:"collaborator",name:"collaborator",value:t,onChange:e=>{let t=e.target.value;a(t);let r=h.find(e=>e.id===t);y(e=>({...e,priceSuggestion:r?String(r.fixedPrice):""}))},className:"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-red-500 focus:border-red-500 sm:text-sm rounded-xl shadow-sm",children:[(0,r.jsx)("option",{value:"",children:"-- Select a Partner --"}),h.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),t&&C&&(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 border-b pb-6 border-gray-200",children:[(0,r.jsxs)("div",{className:"lg:col-span-1 bg-red-50 p-6 rounded-xl border border-red-200 shadow-md",children:[(0,r.jsxs)("h4",{className:"text-lg font-bold text-red-700 mb-3 text-center",children:["Details: ",C.name]}),(0,r.jsx)("div",{className:"w-24 h-24 relative mx-auto mb-4 overflow-hidden",children:(0,r.jsx)("img",{src:C.logo,alt:"".concat(C.name," Logo"),className:"h-full w-full object-contain"})}),(0,r.jsxs)("p",{className:"text-center text-sm text-gray-600",children:["You are applying to collaborate with ",C.name,"."]})]}),(0,r.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,r.jsxs)("h3",{className:"text-xl font-semibold text-gray-700 flex items-center",children:[(0,r.jsx)(l,{className:"h-5 w-5 mr-2"}),"Collaboration Budget & Platforms"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-md font-medium text-gray-600",children:"Fixed Collaboration Price:"}),(0,r.jsxs)("p",{className:"text-3xl font-extrabold text-green-600 mt-1",children:["$",C.fixedPrice]}),(0,r.jsx)("label",{htmlFor:"priceSuggestion",className:"block text-sm font-medium text-gray-600 mt-4 mb-2",children:"Suggest a Price (Optional):"}),(0,r.jsx)("input",{type:"number",id:"priceSuggestion",name:"priceSuggestion",value:f.priceSuggestion,onChange:handleChange,placeholder:"e.g., 250",className:"mt-1 block w-full sm:w-1/2 pl-3 pr-4 py-2 border border-gray-300 rounded-xl shadow-sm focus:ring-red-500 focus:border-red-500"}),(0,r.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"This is a non-binding suggestion for our review."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-gray-600 mb-2",children:"Platforms for Collaboration:"}),(0,r.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:x.map(e=>(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"platform-".concat(e),name:"platforms",type:"checkbox",value:e,checked:f.platforms.includes(e),onChange:handleChange,className:"h-4 w-4 text-red-600 border-gray-300 rounded focus:ring-red-500"}),(0,r.jsx)("label",{htmlFor:"platform-".concat(e),className:"ml-3 text-sm font-medium text-gray-700",children:e})]},e))})]})]})]}),(0,r.jsxs)("div",{className:"border-b pb-6 border-gray-200",children:[(0,r.jsxs)("h3",{className:"text-xl font-semibold text-gray-700 flex items-center mb-4",children:[(0,r.jsx)(s.Z,{className:"h-5 w-5 mr-2"}),"Payment Information"]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"country",className:"block text-sm font-medium text-gray-600 mb-2",children:"Select Your Country:"}),(0,r.jsxs)("select",{id:"country",name:"country",value:f.country,onChange:handleChange,required:!0,className:"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-red-500 focus:border-red-500 sm:text-sm rounded-xl shadow-sm",children:[(0,r.jsx)("option",{value:"",children:"-- Select Country --"}),Object.keys(b).map(e=>(0,r.jsx)("option",{value:e,children:e},e))]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"paymentMethod",className:"block text-sm font-medium text-gray-600 mb-2",children:"Preferred Payment Method:"}),(0,r.jsxs)("select",{id:"paymentMethod",name:"paymentMethod",value:f.paymentMethod,onChange:handleChange,required:!0,disabled:!f.country,className:"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-red-500 focus:border-red-500 sm:text-sm rounded-xl shadow-sm disabled:bg-gray-100 disabled:text-gray-500",children:[(0,r.jsx)("option",{value:"",children:"-- Select Method --"}),D.map(e=>(0,r.jsx)("option",{value:e,children:e},e))]}),f.country&&0===D.length&&(0,r.jsx)("p",{className:"text-xs text-red-500 mt-1",children:"No payment methods listed for this country yet."})]})]}),f.paymentMethod&&(0,r.jsxs)("div",{className:"md:col-span-2 space-y-4 mt
1-6 p-4 bg-gray-50 rounded-xl border border-gray-200",children:[(0,r.jsxs)("h4",{className:"text-md font-bold text-gray-700",children:[f.paymentMethod," Account Information"]}),(0,r.jsx)(InputField,{label:"Account/Beneficiary Name",type:"text",name:"accountName",value:v.accountName,onChange:handlePaymentDetailChange,required:!0,icon:i}),f.paymentMethod.includes("Bank Transfer")||f.paymentMethod.includes("SEPA")||f.paymentMethod.includes("Virement Bancaire")?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(InputField,{label:"Account Number / IBAN",type:"text",name:"accountNumber",value:v.accountNumber,onChange:handlePaymentDetailChange,required:!0,icon:l}),(0,r.jsx)(InputField,{label:"Routing / SWIFT / BIC",type:"text",name:"routingNumber",value:v.routingNumber,onChange:handlePaymentDetailChange,required:!0,icon:s.Z})]}):(0,r.jsx)(InputField,{label:"".concat(f.paymentMethod," ID / Email / Phone"),type:"text",name:"otherInfo",value:v.otherInfo,onChange:handlePaymentDetailChange,required:!0,icon:d.Z}),(0,r.jsx)("p",{className:"text-xs text-red-500 mt-2",children:"*This information is mandatory for payment processing. Please ensure accuracy."})]})]}),(0,r.jsxs)("div",{className:"border-b pb-6 border-gray-200 space-y-6",children:[(0,r.jsxs)("h3",{className:"text-xl font-semibold text-gray-700 flex items-center",children:[(0,r.jsx)(i,{className:"h-5 w-5 mr-2"}),"Personal Details"]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,r.jsx)(InputField,{label:"Full Name",type:"text",name:"name",value:f.name,onChange:handleChange,required:!0,icon:i}),(0,r.jsx)(InputField,{label:"Email Address",type:"email",name:"email",value:f.email,onChange:handleChange,required:!0,icon:d.Z}),(0,r.jsx)(InputField,{label:"Phone Number",type:"tel",name:"phone",value:f.phone,onChange:handleChange,required:!0,icon:c.Z})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 pt-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Digital Signature:"}),(0,r.jsx)(SignaturePadComponent,{signatureRef:e,onClear:handleClearSignature}),(0,r.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Draw your signature above using your mouse or finger."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"date",className:"block text-sm font-medium text-gray-700 mb-2",children:"Date:"}),(0,r.jsx)("input",{type:"date",id:"date",name:"date",value:f.date,onChange:handleChange,required:!0,className:"mt-1 block w-full pl-3 pr-4 py-2 border border-gray-300 rounded-xl shadow-sm focus:ring-red-500 focus:border-red-500"}),(0,r.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Date of agreement submission."})]})]}),(0,r.jsxs)("div",{className:"pt-6",children:[N&&(0,r.jsxs)("div",{className:"p-4 mb-4 rounded-xl font-medium flex items-center transition-all duration-300 ".concat("success"===N.type?"bg-green-100 text-green-700 border border-green-300":"error"===N.type?"bg-red-100 text-red-700 border border-red-300":"bg-blue-100 text-blue-700 border border-blue-300"),children:["success"===N.type&&(0,r.jsx)(m.Z,{className:"h-6 w-6 mr-2"}),"error"===N.type&&(0,r.jsx)(u.Z,{className:"h-6 w-6 mr-2"}),"pending"===N.type&&(0,r.jsxs)("svg",{className:"animate-spin h-5 w-5 mr-3 text-blue-500",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),N.message]}),(0,r.jsx)("button",{type:"submit",disabled:(null==N?void 0:N.type)==="pending",className:"w-full flex justify-center py-3 px-4 border border-transparent rounded-xl shadow-lg text-lg font-medium text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 disabled:bg-red-400 transition-colors transform hover:scale-[1.01] active:scale-100",children:(null==N?void 0:N.type)==="pending"?"Submitting...":"Submit Collaboration Request"})]})]})]}),(0,r.jsxs)("footer",{className:"mt-12 py-8 bg-white border-t border-gray-200 rounded-xl shadow-lg max-w-4xl mx-auto",children:[(0,r.jsxs)("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,r.jsx)("h3",{className:"text-center text-xl font-semibold text-gray-700 mb-6",children:"Our Partners"}),(0,r.jsx)("div",{className:"flex flex-wrap justify-center items-center gap-x-12 gap-y-4 opacity-80",children:p.map(e=>(0,r.jsx)("div",{className:"w-36 h-12 relative grayscale hover:grayscale-0 transition-all duration-300 overflow-hidden",children:(0,r.jsx)("img",{src:e.logo,alt:"".concat(e.name," logo"),className:"h-full w-full object-contain"})},e.name))}),(0,r.jsxs)("p",{className:"mt-8 text-center text-sm text-gray-500",children:["\xa9 ",new Date().getFullYear()," AMG Records & Ivoriant Giant Family."]})]}),(0,r.jsx)(g.Z,{})]})]})}},75012:function(e,t,a){"use strict";var r=a(67294);let n=r.forwardRef(function({title:e,titleId:t,...a},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))});t.Z=n},82123:function(e,t,a){"use strict";var r=a(67294);let n=r.forwardRef(function({title:e,titleId:t,...a},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),r.createElement("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"}))});t.Z=n},13404:function(e,t,a){"use strict";var r=a(67294);let n=r.forwardRef(function({title:e,titleId:t,...a},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))});t.Z=n},79974:function(e,t,a){"use strict";var r=a(67294);let n=r.forwardRef(function({title:e,titleId:t,...a},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))});t.Z=n},70256:function(e,t,a){"use strict";var r=a(67294);let n=r.forwardRef(function({title:e,titleId:t,...a},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))});t.Z=n}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=3766)}),_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.