import{j as s}from"./router.chunk.YsRm4bSN.js";import{_ as __}from"./wordpress.chunk.BVds2GcU.js";import{u as o}from"./forms.chunk.Bz8aaTWe.js";import{x as r,y as n,z as e,G as t,B as i,u as a,r as c,C as m,T as d,E as u}from"./main.chunk.N-eZ2ybB.js";import{T as p}from"./textarea-field.chunk.D2UGUZVL.js";import{P as l}from"./pro-badge.chunk.PstHsVdU.js";import{S as j}from"./separator.chunk.3HcpyIlz.js";import{$ as h}from"./icons.chunk.BwnSC3zE.js";import{I as f}from"./tooltip.chunk.DtTQ21GF.js";import{S as g}from"./step-navigation.chunk.BgeOtDP_.js";import"./react-jsx-runtime.chunk.ATkk6v2S.js";import"./react.js";import"./react-dom-client.chunk.BMQ1litG.js";import"./react-dom.js";import"./pdf-core.chunk.D33I_Wdh.js";import"./ui-radix.chunk.Xzokq_Gv.js";import"./utils.chunk.C1IATKsN.js";import"./date-utils.chunk.DWRtWTmT.js";import"./campaign-builder.chunk.Dk2Pgoa8.js";import"./campaign.chunk.Bl3EV_wc.js";import"./campaign-context.chunk.BmsJZ0pE.js";import"./campaign.chunk.BU0ryCmb.js";import"./user.chunk.pqINMGd0.js";import"./settings.chunk.D9nMP-Um.js";import"./campaign.chunk.DLkjF6XJ.js";import"./use-wp-layout.chunk.BWIP3R_N.js";const x=()=>s.jsxs(r,{children:[s.jsx(n,{children:s.jsxs(e,{children:[__("Frequently Asked Questions","growfund")," ",s.jsx(l,{})]})}),s.jsx(j,{}),s.jsx(t,{className:"growfund-mt-4 growfund-space-y-3",children:s.jsxs(i,{variant:"secondary",className:"growfund-w-full",disabled:!0,children:[s.jsx(h,{}),__("Add FAQ","growfund")]})})]}),k=()=>{const i=o(),{isDonationMode:l}=a(),h=c.get("CampaignFaqs");return s.jsxs(m,{size:"xs",className:"growfund-space-y-4",children:[s.jsxs(r,{children:[s.jsx(n,{children:s.jsxs(e,{className:"growfund-flex growfund-items-center growfund-gap-1",children:[__(l?"Donation Confirmation Message":"Pledge Confirmation Message","growfund"),s.jsx(f,{children:__(l?"This message will be displayed to donors after they complete their donation. Customize the title and description to thank your supporters and provide important next steps.":"This message will be displayed to backers after they complete their pledge. Customize the title and description to thank your supporters and provide important next steps.","growfund")})]})}),s.jsx(j,{}),s.jsxs(t,{className:"growfund-mt-4 growfund-space-y-4",children:[s.jsx(d,{control:i.control,name:"confirmation_title",label:__("Title","growfund"),placeholder:__("Confirmation Title","growfund")}),s.jsx(p,{control:i.control,name:"confirmation_description",label:__("Description","growfund"),placeholder:__("Confirmation Description","growfund"),rows:5})]})]}),s.jsx(u,{fallback:s.jsx(x,{}),children:h&&s.jsx(h,{})}),s.jsx("div",{className:"growfund-flex growfund-mt-4 growfund-justify-end",children:s.jsx(g,{})})]})};export{k as default};
