import{ba as t,bb as o}from"./main.chunk.N-eZ2ybB.js";const e=t=>{const e={basic:["title","slug","description","story","images","video","category","sub_category","start_date","end_date","location","tags","collaborators","show_collaborator_list","status","risks"],goal:["has_goal","goal_type","reaching_action","goal_amount","suggested_options"],rewards:["appreciation_type","giving_thanks","rewards","allow_pledge_without_reward","min_pledge_amount","max_pledge_amount"],additional:["fund_selection_type","default_fund","fund_choices","tribute_requirement","tribute_title","tribute_options"],settings:["confirmation_title","confirmation_description","provide_confirmation_pdf_receipt"]},i=o(t),a=o(e),s=[];for(const o of a){const t=e[o];i.some(o=>t.includes(o))&&s.push(o)}return s},i=(o,e)=>e.active_role===t.ADMIN||o.fundraiser?.id===e.id||o.author?.id===e.id;export{e as c,i as h};
