"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6489],{34070:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(76648).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},82904:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(76648).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},40628:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(76648).Z)("MessageCircleMore",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},51797:function(e,t,n){n.d(t,{$j:function(){return P},Dx:function(){return z},VY:function(){return _},aU:function(){return F},aV:function(){return S},dk:function(){return V},fC:function(){return M},h_:function(){return O},xz:function(){return I}});var r=n(37063),o=n(27440),i=n(66856),a=n(5301),l=n(89177),u=n(82363),s=n(27698),c="AlertDialog",[d,f]=(0,o.b)(c,[a.p8]),p=(0,a.p8)(),v=e=>{let{__scopeAlertDialog:t,...n}=e,r=p(t);return(0,s.jsx)(a.fC,{...r,...n,modal:!0})};v.displayName=c;var h=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(a.xz,{...o,...r,ref:t})});h.displayName="AlertDialogTrigger";var g=e=>{let{__scopeAlertDialog:t,...n}=e,r=p(t);return(0,s.jsx)(a.h_,{...r,...n})};g.displayName="AlertDialogPortal";var m=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(a.aV,{...o,...r,ref:t})});m.displayName="AlertDialogOverlay";var y="AlertDialogContent",[x,b]=d(y),w=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:o,...c}=e,d=p(n),f=r.useRef(null),v=(0,i.e)(t,f),h=r.useRef(null);return(0,s.jsx)(a.jm,{contentName:y,titleName:j,docsSlug:"alert-dialog",children:(0,s.jsx)(x,{scope:n,cancelRef:h,children:(0,s.jsxs)(a.VY,{role:"alertdialog",...d,...c,ref:v,onOpenAutoFocus:(0,l.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=h.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,s.jsx)(u.A4,{children:o}),(0,s.jsx)(A,{contentRef:f})]})})})});w.displayName=y;var j="AlertDialogTitle",D=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(a.Dx,{...o,...r,ref:t})});D.displayName=j;var R="AlertDialogDescription",C=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(a.dk,{...o,...r,ref:t})});C.displayName=R;var k=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(a.x8,{...o,...r,ref:t})});k.displayName="AlertDialogAction";var E="AlertDialogCancel",N=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=b(E,n),l=p(n),u=(0,i.e)(t,o);return(0,s.jsx)(a.x8,{...l,...r,ref:u})});N.displayName=E;var A=e=>{let{contentRef:t}=e,n="`".concat(y,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(y,"` by passing a `").concat(R,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(y,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return r.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(n)},[n,t]),null},M=v,I=h,O=g,S=m,_=w,F=k,P=N,z=D,V=C},51270:function(e,t,n){n.d(t,{fC:function(){return R},z$:function(){return C}});var r=n(37063),o=n(66856),i=n(27440),a=n(89177),l=n(61431),u=n(64937),s=n(82264),c=n(69527),d=n(73195),f=n(27698),p="Checkbox",[v,h]=(0,i.b)(p),[g,m]=v(p),y=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:i,checked:u,defaultChecked:s,required:c,disabled:p,value:v="on",onCheckedChange:h,...m}=e,[y,x]=r.useState(null),b=(0,o.e)(t,e=>x(e)),R=r.useRef(!1),C=!y||!!y.closest("form"),[k=!1,E]=(0,l.T)({prop:u,defaultProp:s,onChange:h}),N=r.useRef(k);return r.useEffect(()=>{let e=null==y?void 0:y.form;if(e){let t=()=>E(N.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[y,E]),(0,f.jsxs)(g,{scope:n,state:k,disabled:p,children:[(0,f.jsx)(d.WV.button,{type:"button",role:"checkbox","aria-checked":j(k)?"mixed":k,"aria-required":c,"data-state":D(k),"data-disabled":p?"":void 0,disabled:p,value:v,...m,ref:b,onKeyDown:(0,a.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,a.M)(e.onClick,e=>{E(e=>!!j(e)||!e),C&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())})}),C&&(0,f.jsx)(w,{control:y,bubbles:!R.current,name:i,value:v,checked:k,required:c,disabled:p,style:{transform:"translateX(-100%)"}})]})});y.displayName=p;var x="CheckboxIndicator",b=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...o}=e,i=m(x,n);return(0,f.jsx)(c.z,{present:r||j(i.state)||!0===i.state,children:(0,f.jsx)(d.WV.span,{"data-state":D(i.state),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});b.displayName=x;var w=e=>{let{control:t,checked:n,bubbles:o=!0,...i}=e,a=r.useRef(null),l=(0,u.D)(n),c=(0,s.t)(t);return r.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==n&&t){let r=new Event("click",{bubbles:o});e.indeterminate=j(n),t.call(e,!j(n)&&n),e.dispatchEvent(r)}},[l,n,o]),(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:!j(n)&&n,...i,tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function j(e){return"indeterminate"===e}function D(e){return j(e)?"indeterminate":e?"checked":"unchecked"}var R=y,C=b},5301:function(e,t,n){n.d(t,{Dx:function(){return en},VY:function(){return et},aV:function(){return ee},dk:function(){return er},fC:function(){return J},h_:function(){return Q},jm:function(){return K},p8:function(){return w},x8:function(){return eo},xz:function(){return G}});var r=n(37063),o=n(89177),i=n(66856),a=n(27440),l=n(77505),u=n(61431),s=n(89268),c=n(58639),d=n(57329),f=n(69527),p=n(73195),v=n(86191),h=n(79395),g=n(71892),m=n(82363),y=n(27698),x="Dialog",[b,w]=(0,a.b)(x),[j,D]=b(x),R=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,c=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,u.T)({prop:o,defaultProp:i,onChange:a});return(0,y.jsx)(j,{scope:t,triggerRef:c,contentRef:d,contentId:(0,l.M)(),titleId:(0,l.M)(),descriptionId:(0,l.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:n})};R.displayName=x;var C="DialogTrigger",k=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=D(C,n),l=(0,i.e)(t,a.triggerRef);return(0,y.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":H(a.open),...r,ref:l,onClick:(0,o.M)(e.onClick,a.onOpenToggle)})});k.displayName=C;var E="DialogPortal",[N,A]=b(E,{forceMount:void 0}),M=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:i}=e,a=D(E,t);return(0,y.jsx)(N,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(f.z,{present:n||a.open,children:(0,y.jsx)(d.h,{asChild:!0,container:i,children:e})}))})};M.displayName=E;var I="DialogOverlay",O=r.forwardRef((e,t)=>{let n=A(I,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=D(I,e.__scopeDialog);return i.modal?(0,y.jsx)(f.z,{present:r||i.open,children:(0,y.jsx)(S,{...o,ref:t})}):null});O.displayName=I;var S=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=D(I,n);return(0,y.jsx)(h.Z,{as:m.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.WV.div,{"data-state":H(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),_="DialogContent",F=r.forwardRef((e,t)=>{let n=A(_,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=D(_,e.__scopeDialog);return(0,y.jsx)(f.z,{present:r||i.open,children:i.modal?(0,y.jsx)(P,{...o,ref:t}):(0,y.jsx)(z,{...o,ref:t})})});F.displayName=_;var P=r.forwardRef((e,t)=>{let n=D(_,e.__scopeDialog),a=r.useRef(null),l=(0,i.e)(t,n.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,g.Ry)(e)},[]),(0,y.jsx)(V,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),z=r.forwardRef((e,t)=>{let n=D(_,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(V,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let l=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),V=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...u}=e,d=D(_,n),f=r.useRef(null),p=(0,i.e)(t,f);return(0,v.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,y.jsx)(s.XB,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":H(d.open),...u,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(U,{titleId:d.titleId}),(0,y.jsx)(X,{contentRef:f,descriptionId:d.descriptionId})]})]})}),W="DialogTitle",T=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=D(W,n);return(0,y.jsx)(p.WV.h2,{id:o.titleId,...r,ref:t})});T.displayName=W;var Z="DialogDescription",L=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=D(Z,n);return(0,y.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:t})});L.displayName=Z;var B="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=D(B,n);return(0,y.jsx)(p.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>i.onOpenChange(!1))})});function H(e){return e?"open":"closed"}q.displayName=B;var Y="DialogTitleWarning",[K,$]=(0,a.k)(Y,{contentName:_,titleName:W,docsSlug:"dialog"}),U=e=>{let{titleId:t}=e,n=$(Y),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},X=e=>{let{contentRef:t,descriptionId:n}=e,o=$("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(i)},[i,t,n]),null},J=R,G=k,Q=M,ee=O,et=F,en=T,er=L,eo=q},82264:function(e,t,n){n.d(t,{t:function(){return i}});var r=n(37063),o=n(48439);function i(e){let[t,n]=r.useState(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},52640:function(e,t,n){n.d(t,{J:function(){return h}});var r,o="https://js.stripe.com/v3",i=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a=function(){for(var e=document.querySelectorAll('script[src^="'.concat(o,'"]')),t=0;t<e.length;t++){var n=e[t];if(i.test(n.src))return n}return null},l=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(o).concat(t);var r=document.head||document.body;if(!r)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n},u=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"4.8.0",startTime:t})},s=null,c=null,d=null,f=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return u(r,n),r},p=!1,v=function(){return r||(r=(null!==s?s:(s=new Promise(function(e,t){if("undefined"==typeof window||"undefined"==typeof document){e(null);return}if(window.Stripe,window.Stripe){e(window.Stripe);return}try{var n,r=a();r?r&&null!==d&&null!==c&&(r.removeEventListener("load",d),r.removeEventListener("error",c),null===(n=r.parentNode)||void 0===n||n.removeChild(r),r=l(null)):r=l(null),d=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},c=function(){t(Error("Failed to load Stripe.js"))},r.addEventListener("load",d),r.addEventListener("error",c)}catch(e){t(e);return}})).catch(function(e){return s=null,Promise.reject(e)})).catch(function(e){return r=null,Promise.reject(e)}))};Promise.resolve().then(function(){return v()}).catch(function(e){p||console.warn(e)});var h=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];p=!0;var r=Date.now();return v().then(function(e){return f(e,t,r)})}}}]);