import{q as u,J as f,v as m,o as p,b as g,x as t,y as o,D as i,A as s,t as l,E as y}from"./DVFhaGV4.js";const h={class:"marketo-form"},_={__name:"CarnegieAfricaProgramForm",props:{formContextData:{type:Object},formDescription:{type:String,default:"This monthly newsletter is a careful curation of our work and interests in the issues shaping Africa’s future.At Carnegie Africa, we are analyzing the changing landscape of investment flows and trade relations between African countries and their external partners.We are also tracking how climate change, entrepreneurship, and new technologies are changing the pace of Africa’s prosperity and stability."},scrollOut:{type:Boolean,default:!1}},setup(r){const c=r;f();function d(){MktoForms2.loadForm("//Pages.carnegieendowment.org","813-XYU-422",1001,function(a){c.scrollOut?a.vals({Site_Source__c:"Scrollout AfricaProgram Subscribe Mkto En"}):a.vals({Site_Source__c:"AfricaProgram Subscribe Mkto En"})}),MktoForms2.whenReady(function(a){a.onSubmit(function(e){e.addHiddenFields({centerAffiliationAll:"dc"}),e.addHiddenFields({englishNewsletterAll:"africa"}),e.addHiddenFields({programAffiliation:"africa"})}),a.onSuccess(function(e,n){return a.getFormElem().hide(),document.getElementById("confirmFormCTWEngage").style.display="block",!1})})}return m(()=>{d()}),(a,e)=>{const n=y;return p(),g("div",null,[t("div",h,[o(n,{class:"title",variant:"h3-display",as:"h3"},{default:i(()=>[s(l(a.$t("Sign up for the Carnegie Africa Program Newsletter")),1)]),_:1}),o(n,{class:"description",variant:"body-display-small",as:"p"},{default:i(()=>[s(l(r.formDescription),1)]),_:1}),e[0]||(e[0]=t("form",{id:"mktoForm_1001"},null,-1)),e[1]||(e[1]=t("div",{id:"confirmFormCTWEngage",style:{display:"none"}},[t("strong",null,"Thank you!"),t("p",null,"Check your email for details on your request.")],-1))])])}}},b=u(_,[["__scopeId","data-v-96a524bb"]]);export{b as default};
//# sourceMappingURL=DV7xCryO.js.map