(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2464],{5917:(e,r,t)=>{Promise.resolve().then(t.bind(t,98634))},6101:(e,r,t)=>{"use strict";t.d(r,{s:()=>a,t:()=>i});var n=t(12115);function l(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function i(...e){return r=>{let t=!1,n=e.map(e=>{let n=l(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r<n.length;r++){let t=n[r];"function"==typeof t?t():l(e[r],null)}}}}function a(...e){return n.useCallback(i(...e),e)}},19946:(e,r,t)=>{"use strict";t.d(r,{A:()=>d});var n=t(12115);let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),a=e=>{let r=i(e);return r.charAt(0).toUpperCase()+r.slice(1)},s=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()},o=e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:u="",children:d,iconNode:f,...p}=e;return(0,n.createElement)("svg",{ref:r,...c,width:l,height:l,stroke:t,strokeWidth:a?24*Number(i)/Number(l):i,className:s("lucide",u),...!d&&!o(p)&&{"aria-hidden":"true"},...p},[...f.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(d)?d:[d]])}),d=(e,r)=>{let t=(0,n.forwardRef)((t,i)=>{let{className:o,...c}=t;return(0,n.createElement)(u,{ref:i,iconNode:r,className:s("lucide-".concat(l(a(e))),"lucide-".concat(e),o),...c})});return t.displayName=a(e),t}},63655:(e,r,t)=>{"use strict";t.d(r,{hO:()=>o,sG:()=>s});var n=t(12115),l=t(47650),i=t(99708),a=t(95155),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let t=(0,i.TL)(`Primitive.${r}`),l=n.forwardRef((e,n)=>{let{asChild:l,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(l?t:r,{...i,ref:n})});return l.displayName=`Primitive.${r}`,{...e,[r]:l}},{});function o(e,r){e&&l.flushSync(()=>e.dispatchEvent(r))}},98634:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});var n=t(95155),l=t(12115),i=t(23517);function a(){let[e,r]=(0,l.useState)(null);return(0,n.jsxs)("div",{className:"max-w-4xl mx-auto space-y-6",children:[(0,n.jsx)("div",{className:"flex items-center justify-between",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"text-3xl font-bold text-gray-900",children:"Cr\xe9er une Campagne de Donations"}),(0,n.jsx)("p",{className:"text-gray-600 mt-2",children:"Cr\xe9ez une campagne pour collecter des donations pour votre cause"})]})}),(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[(0,n.jsx)("div",{className:"lg:col-span-2",children:(0,n.jsx)(i.xO,{onPreviewChange:e=>r(e)})}),(0,n.jsx)("div",{children:(0,n.jsx)(i.Dn,{...e||{previewUrls:[],heroIndex:null}})})]})]})}},99708:(e,r,t)=>{"use strict";t.d(r,{DX:()=>s,TL:()=>a});var n=t(12115),l=t(6101),i=t(95155);function a(e){let r=function(e){let r=n.forwardRef((e,r)=>{let{children:t,...i}=e;if(n.isValidElement(t)){var a;let e,s,o=(a=t,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,r){let t={...r};for(let n in r){let l=e[n],i=r[n];/^on[A-Z]/.test(n)?l&&i?t[n]=(...e)=>{let r=i(...e);return l(...e),r}:l&&(t[n]=l):"style"===n?t[n]={...l,...i}:"className"===n&&(t[n]=[l,i].filter(Boolean).join(" "))}return{...e,...t}}(i,t.props);return t.type!==n.Fragment&&(c.ref=r?(0,l.t)(r,o):o),n.cloneElement(t,c)}return n.Children.count(t)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=n.forwardRef((e,t)=>{let{children:l,...a}=e,s=n.Children.toArray(l),o=s.find(c);if(o){let e=o.props.children,l=s.map(r=>r!==o?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(r,{...a,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,l):null})}return(0,i.jsx)(r,{...a,ref:t,children:l})});return t.displayName=`${e}.Slot`,t}var s=a("Slot"),o=Symbol("radix.slottable");function c(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}}},e=>{var r=r=>e(e.s=r);e.O(0,[4277,7307,8655,2960,2264,5569,7129,3517,8441,1684,7358],()=>r(5917)),_N_E=e.O()}]);